[clang-tidy][use-internal-linkage]fix false positives for global overloaded operator...
[llvm-project.git] / clang-tools-extra / clangd / ScanningProjectModules.h
blob75fc7dbcebce54023d87cc29d868194995b6a431
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 //===----------------------------------------------------------------------===//
9 #ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_SCANNINGPROJECTMODULES_H
10 #define LLVM_CLANG_TOOLS_EXTRA_CLANGD_SCANNINGPROJECTMODULES_H
12 #include "ProjectModules.h"
13 #include "clang/Tooling/CompilationDatabase.h"
15 namespace clang {
16 namespace clangd {
18 /// Providing modules information for the project by scanning every file.
19 std::unique_ptr<ProjectModules> scanningProjectModules(
20 std::shared_ptr<const clang::tooling::CompilationDatabase> CDB,
21 const ThreadsafeFS &TFS);
23 } // namespace clangd
24 } // namespace clang
26 #endif