9#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_PROJECTMODULES_H
10#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_PROJECTMODULES_H
15#include "clang/Tooling/CompilationDatabase.h"
42 llvm::unique_function<void(tooling::CompileCommand &,
PathRef)
const>;
An interface to query the modules information in the project.
virtual std::string getModuleNameForSource(PathRef File)=0
virtual void setCommandMangler(CommandMangler Mangler)
virtual std::string getSourceForModuleName(llvm::StringRef ModuleName, PathRef RequiredSrcFile)=0
llvm::unique_function< void(tooling::CompileCommand &, PathRef) const > CommandMangler
virtual ~ProjectModules()=default
virtual std::vector< std::string > getRequiredModules(PathRef File)=0
FIXME: Skip testing on windows temporarily due to the different escaping code mode.
llvm::StringRef PathRef
A typedef to represent a ref to file path.
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//