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
11using namespace clang;
12using namespace tooling;
13using namespace dependencies;
14
15DependencyScanningService::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

Provided by KDAB

Privacy Policy
Update your C++ knowledge – Modern C++11/14/17 Training
Find out more

source code of clang/lib/Tooling/DependencyScanning/DependencyScanningService.cpp