class ASTFrontendAction

Declaration

class ASTFrontendAction : public FrontendAction { /* full declaration omitted */ };

Description

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

Declared at: clang/include/clang/Frontend/FrontendAction.h:243

Inherits from: FrontendAction

Member Variables

Method Overview

Inherited from FrontendAction:

Methods

ASTFrontendAction()

Declared at: clang/include/clang/Frontend/FrontendAction.h:253

void ExecuteAction()

Description

Implement the ExecuteAction interface by running Sema on the already-initialized AST consumer. This will also take care of instantiating a code completion consumer if the user requested it and the action supports it.

Declared at: clang/include/clang/Frontend/FrontendAction.h:250

bool usesPreprocessorOnly() const

Description

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.

Declared at: clang/include/clang/Frontend/FrontendAction.h:254