clang  14.0.0git
Namespaces | Functions
Mutations.h File Reference
#include "clang/Tooling/Core/Replacement.h"
#include "clang/Tooling/Syntax/Nodes.h"
#include "clang/Tooling/Syntax/Tree.h"
Include dependency graph for Mutations.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 clang
 
 clang::syntax
 

Functions

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