clang API Documentation

Public Member Functions | Protected Member Functions
clang::PreprocessorFrontendAction Class Reference

#include <FrontendAction.h>

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

List of all members.

Public Member Functions

virtual bool usesPreprocessorOnly () const

Protected Member Functions

virtual ASTConsumerCreateASTConsumer (CompilerInstance &CI, StringRef InFile)

Detailed Description

PreprocessorFrontendAction - Abstract base class to use for preprocessor based frontend actions.

Definition at line 234 of file FrontendAction.h.


Member Function Documentation

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

CreateASTConsumer - Provide a default implementation which returns aborts, this method should never be called by FrontendAction clients.

Implements clang::FrontendAction.

Definition at line 422 of file FrontendAction.cpp.

virtual bool clang::PreprocessorFrontendAction::usesPreprocessorOnly ( ) const [inline, virtual]

usesPreprocessorOnly - Does this action only use the preprocessor? If so no AST context will be created and this action will be invalid with AST file inputs.

Implements clang::FrontendAction.

Definition at line 242 of file FrontendAction.h.


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