clang API Documentation

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

Abstract base class to use for AST consumer-based frontend actions. More...

#include <FrontendAction.h>

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

List of all members.

Public Member Functions

 ASTFrontendAction ()
bool usesPreprocessorOnly () const override
 Does this action only use the preprocessor?

Protected Member Functions

void ExecuteAction () override
 Implement the ExecuteAction interface by running Sema on the already-initialized AST consumer.

Detailed Description

Abstract base class to use for AST consumer-based frontend actions.

Definition at line 224 of file FrontendAction.h.


Constructor & Destructor Documentation

Definition at line 234 of file FrontendAction.h.


Member Function Documentation

void ASTFrontendAction::ExecuteAction ( ) [override, protected, virtual]
bool clang::ASTFrontendAction::usesPreprocessorOnly ( ) const [inline, override, virtual]

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 235 of file FrontendAction.h.


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