clang 18.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.


namespace  clang
namespace  clang::syntax


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.