clang 10.0.0git

DependencyScanningService.cpp
Go to the documentation of this file.
1 //===- DependencyScanningService.cpp - clang-scan-deps service ------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8
9 #include "clang/Tooling/DependencyScanning/DependencyScanningService.h"
10
11 using namespace clang;
12 using namespace tooling;
13 using namespace dependencies;
14
15 DependencyScanningService::DependencyScanningService(
16 ScanningMode Mode, ScanningOutputFormat Format, bool ReuseFileManager,
17 bool SkipExcludedPPRanges)
18 : Mode(Mode), Format(Format), ReuseFileManager(ReuseFileManager),
19 SkipExcludedPPRanges(SkipExcludedPPRanges) {}
DependencyScanningService.h
clang
Dataflow Directional Tag Classes.
Definition: CFGReachabilityAnalysis.h:21
clang::tooling::dependencies::ScanningMode
ScanningMode
The mode in which the dependency scanner will operate to find the dependencies.
Definition: DependencyScanningService.h:20
clang::tooling::dependencies::ScanningOutputFormat
ScanningOutputFormat
The format that is output by the dependency scanner.
Definition: DependencyScanningService.h:34
clang::tooling::dependencies::DependencyScanningService::DependencyScanningService
DependencyScanningService(ScanningMode Mode, ScanningOutputFormat Format, bool ReuseFileManager=true, bool SkipExcludedPPRanges=true)
Definition: DependencyScanningService.cpp:15