Skip to content

SourceTransformAction

Inherits from ASTFrontendAction

Public Functions

Name
void EndSourceFileAction() override
std::unique_ptr< clang::ASTConsumer > CreateASTConsumer(clang::CompilerInstance & CI, clang::StringRef )

Private Attributes

Name
clang::Rewriter TargetCodeRewriter
TargetCode * Code

Public Functions Documentation

function EndSourceFileAction

1
inline void EndSourceFileAction() override

function CreateASTConsumer

1
2
3
4
inline std::unique_ptr< clang::ASTConsumer > CreateASTConsumer(
    clang::CompilerInstance & CI,
    clang::StringRef 
)

Private Attributes Documentation

variable TargetCodeRewriter

1
clang::Rewriter TargetCodeRewriter;

variable Code

1
TargetCode * Code;

Last update: 2021-11-24
Back to top