clang API Documentation

Protected Member Functions
clang::RewriteObjCAction Class Reference

#include <FrontendActions.h>

Inheritance diagram for clang::RewriteObjCAction:
Inheritance graph
[legend]
Collaboration diagram for clang::RewriteObjCAction:
Collaboration graph
[legend]

List of all members.

Protected Member Functions

virtual ASTConsumerCreateASTConsumer (CompilerInstance &CI, StringRef InFile)

Detailed Description

Definition at line 60 of file Rewrite/FrontendActions.h.


Member Function Documentation

ASTConsumer * RewriteObjCAction::CreateASTConsumer ( CompilerInstance CI,
StringRef  InFile 
) [protected, virtual]

CreateASTConsumer - Create the AST consumer object for this action, if supported.

This routine is called as part of

See also:
BeginSourceAction(), which will fail if the AST consumer cannot be created. This will not be called if the action has indicated that it only uses the preprocessor.
Parameters:
CI- The current compiler instance, provided as a convenience,
See also:
getCompilerInstance().
Parameters:
InFile- The current input file, provided as a convenience,
See also:
getCurrentFile().
Returns:
The new AST consumer, or 0 on failure.

Implements clang::FrontendAction.

Definition at line 155 of file Rewrite/FrontendActions.cpp.

References clang::CompilerInstance::createDefaultOutputFile(), clang::CreateModernObjCRewriter(), clang::CreateObjCRewriter(), clang::CompilerInstance::getDiagnosticOpts(), clang::CompilerInstance::getDiagnostics(), clang::CompilerInstance::getLangOpts(), and clang::DiagnosticOptions::NoRewriteMacros.


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