xref: /freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/DependencyScanningService.cpp (revision 6be3386466ab79a84b48429ae66244f21526d3df)
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) {}
20