11#ifndef LLVM_CLANG_TOOLING_SYNTAX_MUTATIONS_H
12#define LLVM_CLANG_TOOLING_SYNTAX_MUTATIONS_H
25 const syntax::TranslationUnit &TU);
34 syntax::Statement *S);
void removeStatement(syntax::Arena &A, TokenBufferTokenManager &TBTM, syntax::Statement *S)
Removes a statement or replaces it with an empty statement where one is required syntactically.
tooling::Replacements computeReplacements(const TokenBufferTokenManager &TBTM, const syntax::TranslationUnit &TU)
Computes textual replacements required to mimic the tree modifications made to the syntax tree.
The JSON file list parser is used to communicate input to InstallAPI.