clang-tools 20.0.0git
ScanningProjectModules.h
Go to the documentation of this file.
1//===------------ ScanningProjectModules.h -----------------------*- C++-*-===//
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#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_SCANNINGPROJECTMODULES_H
10#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_SCANNINGPROJECTMODULES_H
11
12#include "ProjectModules.h"
13#include "clang/Tooling/CompilationDatabase.h"
14
15namespace clang {
16namespace clangd {
17
18/// Providing modules information for the project by scanning every file.
19std::unique_ptr<ProjectModules> scanningProjectModules(
20 std::shared_ptr<const clang::tooling::CompilationDatabase> CDB,
21 const ThreadsafeFS &TFS);
22
23} // namespace clangd
24} // namespace clang
25
26#endif
std::unique_ptr< ProjectModules > scanningProjectModules(std::shared_ptr< const clang::tooling::CompilationDatabase > CDB, const ThreadsafeFS &TFS)
Providing modules information for the project by scanning every file.
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//