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
DependencyScanningService(ScanningMode Mode,ScanningOutputFormat Format,ScanningOptimizations OptimizeArgs,bool EagerLoadModules,bool TraceVFS,std::time_t BuildSessionTimestamp)15 DependencyScanningService::DependencyScanningService(
16 ScanningMode Mode, ScanningOutputFormat Format,
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) {}
22