clang-tools  15.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 adjust (std::vector< std::string > &Cmd, llvm::StringRef File) 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,
llvm::StringRef  File 
) const

Definition at line 198 of file CompileCommands.cpp.

◆ detect()

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

Definition at line 188 of file CompileCommands.cpp.

◆ forTests()

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

Definition at line 196 of file CompileCommands.cpp.

◆ operator clang::tooling::ArgumentsAdjuster()

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

Definition at line 340 of file CompileCommands.cpp.

References Args.

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: