|
FLANG
|
Public Member Functions | |
| FrontendOptions & | getFrontendOpts () |
| const FrontendOptions & | getFrontendOpts () const |
| Fortran::parser::Options & | getFortranOpts () |
| const Fortran::parser::Options & | getFortranOpts () const |
| TargetOptions & | getTargetOpts () |
| const TargetOptions & | getTargetOpts () const |
| CodeGenOptions & | getCodeGenOpts () |
| const CodeGenOptions & | getCodeGenOpts () const |
| Fortran::common::LangOptions & | getLangOpts () |
| const Fortran::common::LangOptions & | getLangOpts () const |
| Fortran::lower::LoweringOptions & | getLoweringOpts () |
| const Fortran::lower::LoweringOptions & | getLoweringOpts () const |
| std::unique_ptr< Fortran::semantics::SemanticsContext > | getSemanticsCtx (Fortran::parser::AllCookedSources &allCookedSources, const llvm::TargetMachine &) |
| Creates and configures semantics context based on the compilation flags. | |
| std::string & | getModuleDir () |
| const std::string & | getModuleDir () const |
| std::string & | getModuleFileSuffix () |
| const std::string & | getModuleFileSuffix () const |
| bool & | getDebugModuleDir () |
| const bool & | getDebugModuleDir () const |
| bool & | getHermeticModuleFileOutput () |
| const bool & | getHermeticModuleFileOutput () const |
| size_t & | getMaxErrors () |
| const size_t & | getMaxErrors () const |
| bool & | getWarnAsErr () |
| const bool & | getWarnAsErr () const |
| bool & | getUseAnalyzedObjectsForUnparse () |
| const bool & | getUseAnalyzedObjectsForUnparse () const |
| bool & | getEnableConformanceChecks () |
| const bool & | getEnableConformanceChecks () const |
| const char * | getArgv0 () |
| bool & | getEnableUsageChecks () |
| const bool & | getEnableUsageChecks () const |
| bool & | getDisableWarnings () |
| const bool & | getDisableWarnings () const |
| Fortran::parser::AnalyzedObjectsAsFortran & | getAsFortran () |
| const Fortran::parser::AnalyzedObjectsAsFortran & | getAsFortran () const |
| Fortran::common::IntrinsicTypeDefaultKinds & | getDefaultKinds () |
| const Fortran::common::IntrinsicTypeDefaultKinds & | getDefaultKinds () const |
| bool | getEnableTimers () const |
| void | setEnableConformanceChecks () |
| void | setEnableUsageChecks () |
| void | setDisableWarnings () |
| void | setArgv0 (const char *dir) |
| Useful setters. | |
| void | setModuleDir (std::string &dir) |
| void | setModuleFileSuffix (const char *suffix) |
| void | setDebugModuleDir (bool flag) |
| void | setHermeticModuleFileOutput (bool flag) |
| void | setMaxErrors (size_t maxErrors) |
| void | setWarnAsErr (bool flag) |
| void | setUseAnalyzedObjectsForUnparse (bool flag) |
| void | setDefaultFortranOpts () |
| Set the Fortran options to predefined defaults. | |
| void | setDefaultPredefinitions () |
| Set the default predefinitions. | |
| void | collectMacroDefinitions () |
| void | setFortranOpts () |
| void | setSemanticsOpts (Fortran::parser::AllCookedSources &) |
| Set the Semantic Options. | |
| void | setLoweringOptions () |
| Public Member Functions inherited from Fortran::frontend::CompilerInvocationBase | |
| CompilerInvocationBase (const CompilerInvocationBase &x) | |
| clang::DiagnosticOptions & | getDiagnosticOpts () |
| const clang::DiagnosticOptions & | getDiagnosticOpts () const |
| PreprocessorOptions & | getPreprocessorOpts () |
| const PreprocessorOptions & | getPreprocessorOpts () const |
Static Public Member Functions | |
| static bool | createFromArgs (CompilerInvocation &res, llvm::ArrayRef< const char * > commandLineArgs, clang::DiagnosticsEngine &diags, const char *argv0=nullptr) |
Additional Inherited Members | |
| Public Attributes inherited from Fortran::frontend::CompilerInvocationBase | |
| std::shared_ptr< clang::DiagnosticOptions > | diagnosticOpts |
| Options controlling the diagnostic engine. | |
| std::shared_ptr< Fortran::frontend::PreprocessorOptions > | preprocessorOpts |
| Options for the preprocessor. | |
| void CompilerInvocation::collectMacroDefinitions | ( | ) |
Collect the macro definitions from preprocessorOpts_ and prepare them for the parser (i.e. copy into parserOpts_)
|
static |
Create a compiler invocation from a list of input options.
| [out] | res | - The resulting invocation. |
| void CompilerInvocation::setFortranOpts | ( | ) |
Set the Fortran options to user-specified values. These values are found in the preprocessor options.
| void CompilerInvocation::setLoweringOptions | ( | ) |
Set loweringOptions controlling lowering behavior based on the optimizationLevel.