clang 22.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
10
11using namespace clang;
12using namespace tooling;
13using namespace dependencies;
14
17 ScanningOptimizations OptimizeArgs, bool EagerLoadModules, bool TraceVFS,
18 std::time_t BuildSessionTimestamp)
19 : Mode(Mode), Format(Format), OptimizeArgs(OptimizeArgs),
20 EagerLoadModules(EagerLoadModules), TraceVFS(TraceVFS),
21 BuildSessionTimestamp(BuildSessionTimestamp) {}
DependencyScanningService(ScanningMode Mode, ScanningOutputFormat Format, ScanningOptimizations OptimizeArgs=ScanningOptimizations::Default, bool EagerLoadModules=false, bool TraceVFS=false, std::time_t BuildSessionTimestamp=llvm::sys::toTimeT(std::chrono::system_clock::now()))
ScanningOutputFormat
The format that is output by the dependency scanner.
ScanningMode
The mode in which the dependency scanner will operate to find the dependencies.
The JSON file list parser is used to communicate input to InstallAPI.