clang API Documentation
#include <FrontendAction.h>


Public Member Functions | |
| virtual bool | usesPreprocessorOnly () const |
Protected Member Functions | |
| virtual void | ExecuteAction () |
ASTFrontendAction - Abstract base class to use for AST consumer based frontend actions.
Definition at line 202 of file FrontendAction.h.
| void ASTFrontendAction::ExecuteAction | ( | ) | [protected, virtual] |
ExecuteAction - 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.
Implements clang::FrontendAction.
Reimplemented in clang::CodeGenAction.
Definition at line 398 of file FrontendAction.cpp.
References clang::FrontendOptions::CodeCompletionAt, clang::CompilerInstance::createCodeCompletionConsumer(), clang::CompilerInstance::createSema(), clang::ParsedSourceLocation::FileName, clang::CompilerInstance::getCodeCompletionConsumer(), clang::FrontendAction::getCompilerInstance(), clang::CompilerInstance::getFrontendOpts(), clang::CompilerInstance::getSema(), clang::FrontendAction::getTranslationUnitKind(), clang::CompilerInstance::hasCodeCompletionConsumer(), clang::FrontendAction::hasCodeCompletionSupport(), clang::CompilerInstance::hasSema(), clang::ParseAST(), clang::FrontendOptions::ShowStats, and clang::FrontendOptions::SkipFunctionBodies.
| virtual bool clang::ASTFrontendAction::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 212 of file FrontendAction.h.