clang
23.0.0git
lib
DependencyScanning
DependencyScanningService.cpp
Go to the documentation of this file.
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
#include "llvm/Support/Chrono.h"
12
13
using namespace
clang
;
14
using namespace
dependencies
;
15
16
DependencyScanningServiceOptions::DependencyScanningServiceOptions
()
17
:
MakeVFS
([] {
return
llvm::vfs::createPhysicalFileSystem(); }),
18
BuildSessionTimestamp(
19
llvm::sys::toTimeT(std::chrono::system_clock::now())) {}
DependencyScanningService.h
clang::dependencies
Definition
DependencyScannerImpl.h:25
clang
The JSON file list parser is used to communicate input to InstallAPI.
Definition
CalledOnceCheck.h:17
clang::dependencies::DependencyScanningServiceOptions::MakeVFS
std::function< IntrusiveRefCntPtr< llvm::vfs::FileSystem >()> MakeVFS
The function invoked to create each worker's VFS.
Definition
DependencyScanningService.h:87
clang::dependencies::DependencyScanningServiceOptions::DependencyScanningServiceOptions
DependencyScanningServiceOptions()
Definition
DependencyScanningService.cpp:16
Generated on
for clang by
1.14.0