clang-tools  16.0.0git
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
clang::clangd::CommandMangler Struct Reference

#include <CompileCommands.h>

Collaboration diagram for clang::clangd::CommandMangler:
Collaboration graph

Public Member Functions

void operator() (tooling::CompileCommand &Cmd, llvm::StringRef TargetFile) const

Static Public Member Functions

static CommandMangler forTests ()
static CommandMangler detect ()

Public Attributes

llvm::Optional< std::string > ClangPath
llvm::Optional< std::string > ResourceDir
llvm::Optional< std::string > Sysroot
SystemIncludeExtractorFn SystemIncludeExtractor

Detailed Description

Definition at line 28 of file CompileCommands.h.

Member Function Documentation

◆ detect()

CommandMangler clang::clangd::CommandMangler::detect ( )

Definition at line 187 of file CompileCommands.cpp.

◆ forTests()

CommandMangler clang::clangd::CommandMangler::forTests ( )

Definition at line 195 of file CompileCommands.cpp.

◆ operator()()

void clang::clangd::CommandMangler::operator() ( tooling::CompileCommand &  Cmd,
llvm::StringRef  TargetFile 
) const

Definition at line 197 of file CompileCommands.cpp.

Member Data Documentation

◆ ClangPath

llvm::Optional<std::string> clang::clangd::CommandMangler::ClangPath

Definition at line 30 of file CompileCommands.h.

◆ ResourceDir

llvm::Optional<std::string> clang::clangd::CommandMangler::ResourceDir

Definition at line 32 of file CompileCommands.h.

◆ Sysroot

llvm::Optional<std::string> clang::clangd::CommandMangler::Sysroot

Definition at line 34 of file CompileCommands.h.

◆ SystemIncludeExtractor

SystemIncludeExtractorFn clang::clangd::CommandMangler::SystemIncludeExtractor

Definition at line 35 of file CompileCommands.h.

The documentation for this struct was generated from the following files: