| 1 |
//===- DependencyScanningService.cpp - Scanning 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/DependencyScanning/DependencyScanningService.h" |
| 10 |
|
| 11 |
using namespace clang; |
| 12 |
using namespace dependencies; |
| 13 |
|
| 14 |
DependencyScanningService::DependencyScanningService( |
| 15 |
ScanningMode Mode, ScanningOutputFormat Format, |
| 16 |
ScanningOptimizations OptimizeArgs, bool EagerLoadModules, bool TraceVFS, |
| 17 |
std::time_t BuildSessionTimestamp) |
| 18 |
: Mode(Mode), Format(Format), OptimizeArgs(OptimizeArgs), |
| 19 |
EagerLoadModules(EagerLoadModules), TraceVFS(TraceVFS), |
| 20 |
BuildSessionTimestamp(BuildSessionTimestamp) {} |