clang-tools  12.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
[legend]

Public Member Functions

void adjust (std::vector< std::string > &Cmd) const
 
 operator clang::tooling::ArgumentsAdjuster () &&
 

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
 

Detailed Description

Definition at line 28 of file CompileCommands.h.

Member Function Documentation

◆ adjust()

void clang::clangd::CommandMangler::adjust ( std::vector< std::string > &  Cmd) const

Definition at line 189 of file CompileCommands.cpp.

◆ detect()

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

Definition at line 177 of file CompileCommands.cpp.

Referenced by clang::clangd::semanticTokenTypes().

◆ forTests()

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

Definition at line 185 of file CompileCommands.cpp.

◆ operator clang::tooling::ArgumentsAdjuster()

clang::clangd::CommandMangler::operator clang::tooling::ArgumentsAdjuster ( ) &&
explicit

Definition at line 231 of file CompileCommands.cpp.

References Args, and clang::clangd::File.

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.


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