clang API Documentation

Public Member Functions
clang::tooling::ReplaceStmtWithStmt Class Reference

Replace the text of the statement bound to FromId with the text of the statement bound to ToId. More...

#include <RefactoringCallbacks.h>

Inheritance diagram for clang::tooling::ReplaceStmtWithStmt:
Inheritance graph
[legend]
Collaboration diagram for clang::tooling::ReplaceStmtWithStmt:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ReplaceStmtWithStmt (StringRef FromId, StringRef ToId)
void run (const ast_matchers::MatchFinder::MatchResult &Result) override
 Called on every match by the MatchFinder.

Detailed Description

Replace the text of the statement bound to FromId with the text of the statement bound to ToId.

Definition at line 64 of file RefactoringCallbacks.h.


Constructor & Destructor Documentation

clang::tooling::ReplaceStmtWithStmt::ReplaceStmtWithStmt ( StringRef  FromId,
StringRef  ToId 
)

Definition at line 50 of file RefactoringCallbacks.cpp.


Member Function Documentation


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