clang-tools 22.0.0git
clang::clangd::TweakWorkspaceTest Class Reference

#include <TweakTesting.h>

Inheritance diagram for clang::clangd::TweakWorkspaceTest:
[legend]

Public Member Functions

 TweakWorkspaceTest (const char *TweakID)
TweakResult apply (StringRef InvocationFile, llvm::Annotations::Range InvocationRange)

Protected Attributes

TestWorkspace Workspace

Detailed Description

Definition at line 175 of file TweakTesting.h.

Constructor & Destructor Documentation

◆ TweakWorkspaceTest()

clang::clangd::TweakWorkspaceTest::TweakWorkspaceTest ( const char * TweakID)
inline

Definition at line 179 of file TweakTesting.h.

Member Function Documentation

◆ apply()

TweakResult clang::clangd::TweakWorkspaceTest::apply ( StringRef InvocationFile,
llvm::Annotations::Range InvocationRange )

Definition at line 168 of file TweakTesting.cpp.

References apply(), clang::clangd::AST, clang::clangd::TweakResult::EditedFiles, and Workspace.

Referenced by apply().

Member Data Documentation

◆ Workspace

TestWorkspace clang::clangd::TweakWorkspaceTest::Workspace
protected

Definition at line 185 of file TweakTesting.h.

Referenced by apply().


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