clang-tools 20.0.0git
Classes | Namespaces | Functions
ScanningProjectModules.cpp File Reference
#include "ProjectModules.h"
#include "support/Logger.h"
#include "clang/Tooling/DependencyScanning/DependencyScanningService.h"
#include "clang/Tooling/DependencyScanning/DependencyScanningTool.h"

Go to the source code of this file.

Classes

class  clang::clangd::ScanningAllProjectModules
 TODO: The existing ScanningAllProjectModules is not efficient. More...
 

Namespaces

namespace  clang
 ===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//
 
namespace  clang::clangd
 FIXME: Skip testing on windows temporarily due to the different escaping code mode.
 

Functions

std::unique_ptr< ProjectModules > clang::clangd::scanningProjectModules (std::shared_ptr< const clang::tooling::CompilationDatabase > CDB, const ThreadsafeFS &TFS)
 Providing modules information for the project by scanning every file.
 

Variable Documentation

◆ ModuleName

std::optional<std::string> ModuleName

The name of the module if the file is a module unit.

Definition at line 45 of file ScanningProjectModules.cpp.

◆ RequiredModules

std::vector<std::string> RequiredModules

A list of names for the modules that the file directly depends.

Definition at line 47 of file ScanningProjectModules.cpp.