clang 20.0.0git
Namespaces | Functions
Mutations.h File Reference
#include "clang/Tooling/Core/Replacement.h"
#include "clang/Tooling/Syntax/Nodes.h"
#include "clang/Tooling/Syntax/TokenBufferTokenManager.h"
#include "clang/Tooling/Syntax/Tree.h"

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
namespace  clang::syntax
 

Functions

tooling::Replacements clang::syntax::computeReplacements (const TokenBufferTokenManager &TBTM, const syntax::TranslationUnit &TU)
 Computes textual replacements required to mimic the tree modifications made to the syntax tree.
 
void clang::syntax::removeStatement (syntax::Arena &A, TokenBufferTokenManager &TBTM, syntax::Statement *S)
 Removes a statement or replaces it with an empty statement where one is required syntactically.