Dump information about the given module file, to be used for basic debugging and discovery. More...
#include "clang/Frontend/FrontendActions.h"
Dump information about the given module file, to be used for basic debugging and discovery.
Definition at line 199 of file FrontendActions.h.
◆ DumpModuleInfoAction() [1/2] clang::DumpModuleInfoAction::DumpModuleInfoAction ( ) default ◆ DumpModuleInfoAction() [2/2] clang::DumpModuleInfoAction::DumpModuleInfoAction ( std::shared_ptr< llvm::raw_ostream > Out ) inlineexplicitDefinition at line 211 of file FrontendActions.h.
◆ BeginInvocation() ◆ CreateASTConsumer()Create the AST consumer object for this action, if supported.
This routine is called as part of BeginSourceFile(), 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.
Implements clang::FrontendAction.
Definition at line 332 of file FrontendActions.cpp.
◆ ExecuteAction() void DumpModuleInfoAction::ExecuteAction ( ) overrideprotectedvirtualImplement 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.
Reimplemented from clang::ASTFrontendAction.
Definition at line 853 of file FrontendActions.cpp.
References clang::LangOptions::CurrentModule, clang::Module::Exports, clang::ASTUnit::getASTReader(), clang::FileManager::getBufferForFile(), clang::FrontendAction::getCompilerInstance(), clang::FrontendAction::getCurrentASTUnit(), clang::FrontendAction::getCurrentFile(), clang::CompilerInstance::getDiagnostics(), clang::CompilerInstance::getFileManager(), clang::CompilerInstance::getFrontendOpts(), clang::ASTUnit::getLangOpts(), clang::ASTReader::getModule(), clang::CompilerInstance::getModuleCache(), clang::ASTReader::getModuleManager(), clang::CompilerInstance::getPCHContainerReader(), clang::CompilerInstance::getPreprocessor(), clang::ASTReader::getPreprocessor(), clang::serialization::ModuleManager::getPrimaryModule(), clang::ASTReader::getTotalNumSubmodules(), clang::Module::Imports, clang::FrontendAction::isCurrentFileAST(), clang::Module::Kind, Kind, clang::Preprocessor::macros(), ModuleKindName(), clang::serialization::ModuleFile::ModuleName, clang::HeaderSearchOptions::ModulesValidateDiagnosticOptions, clang::Module::Name, clang::FrontendOptions::OutputFile, clang::ASTReader::readASTFileControlBlock(), clang::DiagnosticsEngine::Report(), SM, and clang::Module::submodules().
◆ hasASTFileSupport() bool clang::DumpModuleInfoAction::hasASTFileSupport ( ) const inlineoverridevirtual ◆ hasCodeCompletionSupport() bool clang::DumpModuleInfoAction::hasCodeCompletionSupport ( ) const inlineoverridevirtual ◆ hasIRSupport() bool clang::DumpModuleInfoAction::hasIRSupport ( ) const inlineoverridevirtual ◆ hasPCHSupport() bool clang::DumpModuleInfoAction::hasPCHSupport ( ) const inlineoverridevirtualThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4