clang 23.0.0git
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
10
11#include "llvm/Support/Chrono.h"
12
13using namespace clang;
14using namespace dependencies;
15
17 : MakeVFS([] { return llvm::vfs::createPhysicalFileSystem(); }),
18 BuildSessionTimestamp(
19 llvm::sys::toTimeT(std::chrono::system_clock::now())) {}
The JSON file list parser is used to communicate input to InstallAPI.
std::function< IntrusiveRefCntPtr< llvm::vfs::FileSystem >()> MakeVFS
The function invoked to create each worker's VFS.