#include <TweakTesting.h>
|
static std::string | decorate (llvm::StringRef, unsigned) |
static std::string | decorate (llvm::StringRef, llvm::Annotations::Range) |
Definition at line 41 of file TweakTesting.h.
◆ WrappedAST
◆ CodeContext
Enumerator |
---|
File | |
Function | |
Expression | |
Definition at line 47 of file TweakTesting.h.
◆ TweakTest()
clang::clangd::TweakTest::TweakTest |
( |
const char * | TweakID | ) |
|
|
inlineprotected |
◆ apply()
std::string clang::clangd::TweakTest::apply |
( |
llvm::StringRef | MarkedCode, |
|
|
llvm::StringMap< std::string > * | EditedFiles = nullptr ) const |
|
protected |
Definition at line 85 of file TweakTesting.cpp.
References clang::clangd::TestTU::AdditionalFiles, apply(), clang::clangd::AST, clang::clangd::TestTU::build(), clang::clangd::TestTU::Code, Context, clang::clangd::TestTU::ExtraArgs, ExtraArgs, ExtraFiles, FileName, clang::clangd::TestTU::Filename, Header, clang::clangd::TestTU::HeaderCode, Index, and clang::clangd::testPath().
Referenced by apply().
◆ build()
Definition at line 143 of file TweakTesting.cpp.
References clang::clangd::TestTU::AdditionalFiles, clang::clangd::TestTU::build(), build(), clang::clangd::TestTU::Code, Context, clang::clangd::TestTU::ExtraArgs, ExtraArgs, ExtraFiles, FileName, clang::clangd::TestTU::Filename, Header, and clang::clangd::TestTU::HeaderCode.
Referenced by build().
◆ decorate() [1/2]
std::string clang::clangd::TweakTest::decorate |
( |
llvm::StringRef | Code, |
|
|
llvm::Annotations::Range | Range ) |
|
staticprotected |
◆ decorate() [2/2]
std::string clang::clangd::TweakTest::decorate |
( |
llvm::StringRef | Code, |
|
|
unsigned | Point ) |
|
staticprotected |
◆ isAvailable()
bool clang::clangd::TweakTest::isAvailable |
( |
WrappedAST & | AST, |
|
|
llvm::Annotations::Range | Range ) const |
|
protected |
◆ Context
◆ ExtraArgs
std::vector<std::string> clang::clangd::TweakTest::ExtraArgs |
|
protected |
◆ ExtraFiles
llvm::StringMap<std::string> clang::clangd::TweakTest::ExtraFiles |
◆ FileName
llvm::StringRef clang::clangd::TweakTest::FileName = "TestTU.cpp" |
|
protected |
◆ Header
std::string clang::clangd::TweakTest::Header |
|
protected |
◆ Index
std::unique_ptr<const SymbolIndex> clang::clangd::TweakTest::Index = nullptr |
|
protected |
The documentation for this class was generated from the following files: