|
clang
3.8.0
|
#include "TestModuleFileExtension.h"#include "clang/Basic/Builtins.h"#include "clang/Basic/FileManager.h"#include "clang/Basic/Version.h"#include "clang/Config/config.h"#include "clang/Driver/DriverDiagnostic.h"#include "clang/Driver/Options.h"#include "clang/Driver/Util.h"#include "clang/Frontend/CompilerInvocation.h"#include "clang/Frontend/FrontendDiagnostic.h"#include "clang/Frontend/LangStandard.h"#include "clang/Frontend/Utils.h"#include "clang/Lex/HeaderSearchOptions.h"#include "clang/Serialization/ASTReader.h"#include "clang/Serialization/ModuleFileExtension.h"#include "llvm/ADT/Hashing.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/StringExtras.h"#include "llvm/ADT/StringSwitch.h"#include "llvm/ADT/Triple.h"#include "llvm/Linker/Linker.h"#include "llvm/Option/Arg.h"#include "llvm/Option/ArgList.h"#include "llvm/Option/OptTable.h"#include "llvm/Option/Option.h"#include "llvm/Support/CodeGen.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/FileSystem.h"#include "llvm/Support/Host.h"#include "llvm/Support/Path.h"#include "llvm/Support/Process.h"#include "llvm/Target/TargetOptions.h"#include <atomic>#include <memory>#include <sys/stat.h>#include <system_error>#include "clang/StaticAnalyzer/Core/Analyses.def"#include "clang/Frontend/LangStandards.def"#include "clang/Basic/LangOptions.def"Go to the source code of this file.
Namespaces | |
| clang | |
| Dataflow Directional Tag Classes. | |
Macros | |
| #define | ANALYSIS_STORE(NAME, CMDFLAG, DESC, CREATFN) .Case(CMDFLAG, NAME##Model) |
| #define | ANALYSIS_CONSTRAINTS(NAME, CMDFLAG, DESC, CREATFN) .Case(CMDFLAG, NAME##Model) |
| #define | ANALYSIS_DIAGNOSTICS(NAME, CMDFLAG, DESC, CREATFN) .Case(CMDFLAG, PD_##NAME) |
| #define | ANALYSIS_PURGE(NAME, CMDFLAG, DESC) .Case(CMDFLAG, NAME) |
| #define | ANALYSIS_INLINING_MODE(NAME, CMDFLAG, DESC) .Case(CMDFLAG, NAME) |
| #define | LANGSTANDARD(id, name, desc, features) .Case(name, LangStandard::lang_##id) |
| #define | LANGOPT(Name, Bits, Default, Description) code = hash_combine(code, LangOpts->Name); |
| #define | ENUM_LANGOPT(Name, Type, Bits, Default, Description) code = hash_combine(code, static_cast<unsigned>(LangOpts->get##Name())); |
| #define | BENIGN_LANGOPT(Name, Bits, Default, Description) |
| #define | BENIGN_ENUM_LANGOPT(Name, Type, Bits, Default, Description) |
Functions | |
| static unsigned | getOptimizationLevel (ArgList &Args, InputKind IK, DiagnosticsEngine &Diags) |
| static unsigned | getOptimizationLevelSize (ArgList &Args) |
| static void | addDiagnosticArgs (ArgList &Args, OptSpecifier Group, OptSpecifier GroupWithValue, std::vector< std::string > &Diagnostics) |
| static void | getAllNoBuiltinFuncValues (ArgList &Args, std::vector< std::string > &Funcs) |
| static bool | ParseAnalyzerArgs (AnalyzerOptions &Opts, ArgList &Args, DiagnosticsEngine &Diags) |
| static bool | ParseMigratorArgs (MigratorOptions &Opts, ArgList &Args) |
| static void | ParseCommentArgs (CommentOptions &Opts, ArgList &Args) |
| static StringRef | getCodeModel (ArgList &Args, DiagnosticsEngine &Diags) |
| static std::shared_ptr < llvm::Regex > | GenerateOptimizationRemarkRegex (DiagnosticsEngine &Diags, ArgList &Args, Arg *RpassArg) |
Create a new Regex instance out of the string value in RpassArg. More... | |
| static bool | parseDiagnosticLevelMask (StringRef FlagName, const std::vector< std::string > &Levels, DiagnosticsEngine *Diags, DiagnosticLevelMask &M) |
| static void | parseSanitizerKinds (StringRef FlagName, const std::vector< std::string > &Sanitizers, DiagnosticsEngine &Diags, SanitizerSet &S) |
| static bool | ParseCodeGenArgs (CodeGenOptions &Opts, ArgList &Args, InputKind IK, DiagnosticsEngine &Diags, const TargetOptions &TargetOpts) |
| static void | ParseDependencyOutputArgs (DependencyOutputOptions &Opts, ArgList &Args) |
| static void | ParseFileSystemArgs (FileSystemOptions &Opts, ArgList &Args) |
| static bool | parseTestModuleFileExtensionArg (StringRef Arg, std::string &BlockName, unsigned &MajorVersion, unsigned &MinorVersion, bool &Hashed, std::string &UserInfo) |
| Parse the argument to the -ftest-module-file-extension command-line argument. More... | |
| static InputKind | ParseFrontendArgs (FrontendOptions &Opts, ArgList &Args, DiagnosticsEngine &Diags) |
| static void | ParseHeaderSearchArgs (HeaderSearchOptions &Opts, ArgList &Args) |
| static Visibility | parseVisibility (Arg *arg, ArgList &args, DiagnosticsEngine &diags) |
| Attempt to parse a visibility value out of the given argument. More... | |
| static void | ParseLangArgs (LangOptions &Opts, ArgList &Args, InputKind IK, DiagnosticsEngine &Diags) |
| static void | ParsePreprocessorArgs (PreprocessorOptions &Opts, ArgList &Args, FileManager &FileMgr, DiagnosticsEngine &Diags) |
| static void | ParsePreprocessorOutputArgs (PreprocessorOutputOptions &Opts, ArgList &Args, frontend::ActionKind Action) |
| static void | ParseTargetArgs (TargetOptions &Opts, ArgList &Args) |
| template<typename IntTy > | |
| static IntTy | clang::getLastArgIntValueImpl (const ArgList &Args, OptSpecifier Id, IntTy Default, DiagnosticsEngine *Diags) |
| int | clang::getLastArgIntValue (const ArgList &Args, OptSpecifier Id, int Default, DiagnosticsEngine *Diags) |
| uint64_t | clang::getLastArgUInt64Value (const ArgList &Args, OptSpecifier Id, uint64_t Default, DiagnosticsEngine *Diags) |
| void | clang::BuryPointer (const void *Ptr) |
| IntrusiveRefCntPtr < vfs::FileSystem > | clang::createVFSFromCompilerInvocation (const CompilerInvocation &CI, DiagnosticsEngine &Diags) |
| #define ANALYSIS_CONSTRAINTS | ( | NAME, | |
| CMDFLAG, | |||
| DESC, | |||
| CREATFN | |||
| ) | .Case(CMDFLAG, NAME##Model) |
Referenced by ParseAnalyzerArgs().
| #define ANALYSIS_DIAGNOSTICS | ( | NAME, | |
| CMDFLAG, | |||
| DESC, | |||
| CREATFN | |||
| ) | .Case(CMDFLAG, PD_##NAME) |
Referenced by ParseAnalyzerArgs().
| #define ANALYSIS_INLINING_MODE | ( | NAME, | |
| CMDFLAG, | |||
| DESC | |||
| ) | .Case(CMDFLAG, NAME) |
Referenced by ParseAnalyzerArgs().
| #define ANALYSIS_PURGE | ( | NAME, | |
| CMDFLAG, | |||
| DESC | |||
| ) | .Case(CMDFLAG, NAME) |
Referenced by ParseAnalyzerArgs().
| #define ANALYSIS_STORE | ( | NAME, | |
| CMDFLAG, | |||
| DESC, | |||
| CREATFN | |||
| ) | .Case(CMDFLAG, NAME##Model) |
Referenced by ParseAnalyzerArgs().
| #define BENIGN_ENUM_LANGOPT | ( | Name, | |
| Type, | |||
| Bits, | |||
| Default, | |||
| Description | |||
| ) |
| #define BENIGN_LANGOPT | ( | Name, | |
| Bits, | |||
| Default, | |||
| Description | |||
| ) |
| #define ENUM_LANGOPT | ( | Name, | |
| Type, | |||
| Bits, | |||
| Default, | |||
| Description | |||
| ) | code = hash_combine(code, static_cast<unsigned>(LangOpts->get##Name())); |
| #define LANGOPT | ( | Name, | |
| Bits, | |||
| Default, | |||
| Description | |||
| ) | code = hash_combine(code, LangOpts->Name); |
| #define LANGSTANDARD | ( | id, | |
| name, | |||
| desc, | |||
| features | |||
| ) | .Case(name, LangStandard::lang_##id) |
Referenced by ParseLangArgs().
|
static |
Definition at line 120 of file CompilerInvocation.cpp.
|
static |
Create a new Regex instance out of the string value in RpassArg.
It returns a pointer to the newly generated Regex instance.
Definition at line 330 of file CompilerInvocation.cpp.
References clang::DiagnosticsEngine::Report().
Referenced by ParseCodeGenArgs().
|
static |
Definition at line 139 of file CompilerInvocation.cpp.
References clang::Builtin::Context::isBuiltinFunc().
Referenced by ParseCodeGenArgs(), and ParseLangArgs().
|
static |
Definition at line 316 of file CompilerInvocation.cpp.
References clang::DiagnosticsEngine::Report().
Referenced by ParseCodeGenArgs().
|
static |
Definition at line 79 of file CompilerInvocation.cpp.
References clang::getLastArgIntValue(), clang::IK_OpenCL, and S.
Referenced by ParseCodeGenArgs(), and ParseLangArgs().
|
static |
Definition at line 104 of file CompilerInvocation.cpp.
Referenced by ParseCodeGenArgs(), and ParseLangArgs().
|
static |
Definition at line 153 of file CompilerInvocation.cpp.
References ANALYSIS_CONSTRAINTS, ANALYSIS_DIAGNOSTICS, ANALYSIS_INLINING_MODE, ANALYSIS_PURGE, ANALYSIS_STORE, clang::AnalyzerOptions::AnalysisConstraintsOpt, clang::AnalyzerOptions::AnalysisDiagOpt, clang::AnalyzerOptions::AnalysisPurgeOpt, clang::AnalyzerOptions::AnalysisStoreOpt, clang::AnalyzerOptions::AnalyzeAll, clang::AnalyzerOptions::AnalyzeNestedBlocks, clang::AnalyzerOptions::AnalyzerDisplayProgress, clang::AnalyzerOptions::AnalyzeSpecificFunction, clang::AnalyzerOptions::CheckersControlList, clang::AnalyzerOptions::Config, clang::AnalyzerOptions::DisableAllChecks, clang::AnalyzerOptions::eagerlyAssumeBinOpBifurcation, clang::getLastArgIntValue(), clang::AnalyzerOptions::InlineMaxStackDepth, clang::AnalyzerOptions::InliningMode, clang::AnalyzerOptions::maxBlockVisitOnPath, clang::Name, clang::AnalyzerOptions::NoRetryExhausted, clang::NUM_ANALYSIS_DIAG_CLIENTS, clang::NumConstraints, clang::NumInliningModes, clang::NumPurgeModes, clang::NumStores, clang::AnalyzerOptions::PrintStats, clang::DiagnosticsEngine::Report(), clang::AnalyzerOptions::ShowCheckerHelp, clang::AnalyzerOptions::TrimGraph, clang::AnalyzerOptions::UnoptimizedCFG, clang::AnalyzerOptions::visualizeExplodedGraphWithGraphViz, and clang::AnalyzerOptions::visualizeExplodedGraphWithUbiGraph.
Referenced by clang::CompilerInvocation::CreateFromArgs().
|
static |
Definition at line 378 of file CompilerInvocation.cpp.
References clang::CodeGenOptions::Accelerate, clang::CodeGenOptions::BackendOptions, clang::CodeGenOptions::CodeModel, clang::CodeGenOptions::CoverageFile, clang::CodeGenOptions::CoverageVersion, clang::CodeGenOptions::CudaGpuBinaryFileNames, clang::CodeGenOptions::DebugCompilationDir, clang::CodeGenOptions::DebuggerKindGDB, clang::CodeGenOptions::DebuggerKindLLDB, clang::CodeGenOptions::DebuggerKindSCE, clang::CodeGenOptions::DebugLineTablesOnly, clang::CodeGenOptions::DebugPass, clang::CodeGenOptions::DebugPrefixMap, clang::CodeGenOptions::DependentLibraries, clang::CodeGenOptions::DwarfDebugFlags, clang::CodeGenOptions::EABIVersion, clang::CodeGenOptions::FloatABI, clang::CodeGenOptions::FPC_Fast, clang::CodeGenOptions::FPC_Off, clang::CodeGenOptions::FPC_On, clang::CodeGenOptions::FullDebugInfo, clang::CodeGenOptions::GeneralDynamicTLSModel, GenerateOptimizationRemarkRegex(), getAllNoBuiltinFuncValues(), getCodeModel(), clang::getLastArgIntValue(), getOptimizationLevel(), getOptimizationLevelSize(), clang::IK_LLVM_IR, clang::CodeGenOptions::InitialExecTLSModel, clang::CodeGenOptions::InstrProfileInput, clang::CodeGenOptions::InstrProfileOutput, clang::CodeGenOptions::Legacy, clang::CodeGenOptions::LimitedDebugInfo, clang::CodeGenOptions::LimitFloatPrecision, clang::CodeGenOptions::LinkBitcodeFiles, clang::CodeGenOptions::LocalDynamicTLSModel, clang::CodeGenOptions::LocalExecTLSModel, clang::CodeGenOptions::LocTrackingOnly, clang::CodeGenOptions::MainFileName, clang::CodeGenOptions::Mixed, clang::Name, clang::CodeGenOptions::NoBuiltinFuncs, clang::CodeGenOptions::NoDebugInfo, clang::CodeGenOptions::NoLibrary, clang::CodeGenOptions::NonLegacy, clang::CodeGenOptions::NormalInlining, clang::CodeGenOptions::OnlyAlwaysInlining, clang::CodeGenOptions::OptimizationRemarkAnalysisPattern, clang::CodeGenOptions::OptimizationRemarkMissedPattern, clang::CodeGenOptions::OptimizationRemarkPattern, parseSanitizerKinds(), clang::CodeGenOptions::RelocationModel, clang::DiagnosticsEngine::Report(), clang::CodeGenOptions::RewriteMapFiles, clang::CodeGenOptions::SampleProfileFile, clang::CodeGenOptions::SanitizeRecover, clang::CodeGenOptions::SanitizeTrap, clang::CodeGenOptions::SplitDwarfFile, clang::CodeGenOptions::SRCK_InRegs, clang::CodeGenOptions::SRCK_OnStack, clang::CodeGenOptions::ThinLTOIndexFile, clang::CodeGenOptions::ThreadModel, clang::CodeGenOptions::TrapFuncName, clang::TargetOptions::Triple, and Unknown.
Referenced by clang::CompilerInvocation::CreateFromArgs().
|
static |
Definition at line 311 of file CompilerInvocation.cpp.
References clang::CommentOptions::BlockCommandNames, and clang::CommentOptions::ParseAllComments.
Referenced by clang::CompilerInvocation::CreateFromArgs().
|
static |
Definition at line 748 of file CompilerInvocation.cpp.
References clang::DependencyOutputOptions::AddMissingHeaderDeps, clang::DependencyOutputOptions::DOTOutputFile, clang::DependencyOutputOptions::ExtraDeps, clang::DependencyOutputOptions::HeaderIncludeOutputFile, clang::DependencyOutputOptions::IncludeModuleFiles, clang::DependencyOutputOptions::IncludeSystemHeaders, clang::DependencyOutputOptions::ModuleDependencyOutputDir, clang::NMake, clang::DependencyOutputOptions::OutputFile, clang::DependencyOutputOptions::OutputFormat, clang::DependencyOutputOptions::PrintShowIncludes, clang::DependencyOutputOptions::ShowHeaderIncludes, clang::DependencyOutputOptions::Targets, and clang::DependencyOutputOptions::UsePhonyTargets.
Referenced by clang::CompilerInvocation::CreateFromArgs().
|
static |
Definition at line 343 of file CompilerInvocation.cpp.
References clang::Error, clang::None, clang::Note, clang::Remark, clang::DiagnosticsEngine::Report(), and clang::Warning.
|
static |
Definition at line 895 of file CompilerInvocation.cpp.
References clang::FileSystemOptions::WorkingDir.
Referenced by clang::CompilerInvocation::CreateFromArgs().
|
static |
Definition at line 923 of file CompilerInvocation.cpp.
References clang::FrontendOptions::ActionName, clang::FrontendOptions::AddPluginActions, clang::FrontendOptions::AddPluginArgs, clang::FrontendOptions::ARCMT_Check, clang::FrontendOptions::ARCMT_Migrate, clang::FrontendOptions::ARCMT_Modify, clang::FrontendOptions::ARCMT_None, clang::FrontendOptions::ARCMTAction, clang::FrontendOptions::ARCMTMigrateEmitARCErrors, clang::FrontendOptions::ARCMTMigrateReportOut, clang::frontend::ASTDeclList, clang::frontend::ASTDump, clang::FrontendOptions::ASTDumpDecls, clang::FrontendOptions::ASTDumpFilter, clang::FrontendOptions::ASTDumpLookups, clang::FrontendOptions::ASTMergeFiles, clang::frontend::ASTPrint, clang::frontend::ASTView, clang::FrontendOptions::AuxTriple, clang::FrontendOptions::CodeCompleteOpts, clang::FrontendOptions::CodeCompletionAt, clang::FrontendOptions::DisableFree, clang::frontend::DumpRawTokens, clang::frontend::DumpTokens, clang::frontend::EmitAssembly, clang::frontend::EmitBC, clang::frontend::EmitCodeGenOnly, clang::frontend::EmitHTML, clang::frontend::EmitLLVM, clang::frontend::EmitLLVMOnly, clang::frontend::EmitObj, clang::ParsedSourceLocation::FileName, clang::FrontendOptions::FixAndRecompile, clang::frontend::FixIt, clang::FrontendOptions::FixItSuffix, clang::FrontendOptions::FixOnlyWarnings, clang::FrontendOptions::FixToTemporaries, clang::FrontendOptions::FixWhatYouCan, clang::ParsedSourceLocation::FromString(), clang::FrontendOptions::GenerateGlobalModuleIndex, clang::frontend::GenerateModule, clang::frontend::GeneratePCH, clang::frontend::GeneratePTH, clang::FrontendOptions::getInputKindForExtension(), clang::if(), clang::IK_Asm, clang::IK_AST, clang::IK_C, clang::IK_CUDA, clang::IK_CXX, clang::IK_LLVM_IR, clang::IK_None, clang::IK_ObjC, clang::IK_ObjCXX, clang::IK_OpenCL, clang::IK_PreprocessedC, clang::IK_PreprocessedCuda, clang::IK_PreprocessedCXX, clang::IK_PreprocessedObjC, clang::IK_PreprocessedObjCXX, clang::CodeCompleteOptions::IncludeBriefComments, clang::CodeCompleteOptions::IncludeCodePatterns, clang::CodeCompleteOptions::IncludeGlobals, clang::CodeCompleteOptions::IncludeMacros, clang::frontend::InitOnly, clang::FrontendOptions::Inputs, clang::FrontendOptions::LLVMArgs, clang::frontend::MigrateSource, clang::FrontendOptions::ModuleFileExtensions, clang::frontend::ModuleFileInfo, clang::FrontendOptions::ModuleFiles, clang::FrontendOptions::ModuleMapFiles, clang::FrontendOptions::ModulesEmbedAllFiles, clang::FrontendOptions::ModulesEmbedFiles, clang::FrontendOptions::MTMigrateDir, clang::FrontendOptions::ObjCMT_Annotation, clang::FrontendOptions::ObjCMT_AtomicProperty, clang::FrontendOptions::ObjCMT_DesignatedInitializer, clang::FrontendOptions::ObjCMT_Instancetype, clang::FrontendOptions::ObjCMT_Literals, clang::FrontendOptions::ObjCMT_MigrateDecls, clang::FrontendOptions::ObjCMT_None, clang::FrontendOptions::ObjCMT_NsAtomicIOSOnlyProperty, clang::FrontendOptions::ObjCMT_NsMacros, clang::FrontendOptions::ObjCMT_Property, clang::FrontendOptions::ObjCMT_PropertyDotSyntax, clang::FrontendOptions::ObjCMT_ProtocolConformance, clang::FrontendOptions::ObjCMT_ReadonlyProperty, clang::FrontendOptions::ObjCMT_ReadwriteProperty, clang::FrontendOptions::ObjCMT_ReturnsInnerPointerProperty, clang::FrontendOptions::ObjCMT_Subscripting, clang::FrontendOptions::ObjCMTAction, clang::FrontendOptions::ObjCMTWhiteListPath, clang::FrontendOptions::OutputFile, clang::FrontendOptions::OverrideRecordLayoutsFile, clang::frontend::ParseSyntaxOnly, parseTestModuleFileExtensionArg(), clang::frontend::PluginAction, clang::FrontendOptions::PluginArgs, clang::FrontendOptions::Plugins, clang::frontend::PrintDeclContext, clang::frontend::PrintPreamble, clang::frontend::PrintPreprocessedInput, clang::FrontendOptions::ProgramAction, clang::FrontendOptions::RelocatablePCH, clang::DiagnosticsEngine::Report(), clang::frontend::RewriteMacros, clang::frontend::RewriteObjC, clang::frontend::RewriteTest, clang::frontend::RunAnalysis, clang::frontend::RunPreprocessorOnly, clang::FrontendOptions::ShowHelp, clang::FrontendOptions::ShowStats, clang::FrontendOptions::ShowTimers, clang::FrontendOptions::ShowVersion, clang::FrontendOptions::UseGlobalModuleIndex, and clang::frontend::VerifyPCH.
Referenced by clang::CompilerInvocation::CreateFromArgs().
|
static |
Definition at line 1211 of file CompilerInvocation.cpp.
References clang::HeaderSearchOptions::AddPath(), clang::HeaderSearchOptions::AddSystemHeaderPrefix(), clang::HeaderSearchOptions::AddVFSOverlayFile(), clang::frontend::After, clang::frontend::Angled, clang::HeaderSearchOptions::BuildSessionTimestamp, clang::frontend::CSystem, clang::frontend::CXXSystem, clang::HeaderSearchOptions::DisableModuleHash, clang::frontend::ExternCSystem, clang::getLastArgIntValue(), clang::getLastArgUInt64Value(), clang::HeaderSearchOptions::ImplicitModuleMaps, clang::frontend::IndexHeaderMap, clang::HeaderSearchOptions::ModuleCachePath, clang::HeaderSearchOptions::ModuleCachePruneAfter, clang::HeaderSearchOptions::ModuleCachePruneInterval, clang::HeaderSearchOptions::ModuleFormat, clang::HeaderSearchOptions::ModuleMapFileHomeIsCwd, clang::HeaderSearchOptions::ModulesIgnoreMacros, clang::HeaderSearchOptions::ModulesValidateOncePerBuildSession, clang::HeaderSearchOptions::ModulesValidateSystemHeaders, clang::HeaderSearchOptions::ModuleUserBuildPath, clang::frontend::ObjCSystem, clang::frontend::ObjCXXSystem, clang::frontend::Quoted, clang::HeaderSearchOptions::ResourceDir, clang::HeaderSearchOptions::Sysroot, clang::frontend::System, clang::HeaderSearchOptions::UseBuiltinIncludes, clang::HeaderSearchOptions::UseLibcxx, clang::HeaderSearchOptions::UseStandardCXXIncludes, clang::HeaderSearchOptions::UseStandardSystemIncludes, and clang::HeaderSearchOptions::Verbose.
Referenced by clang::CompilerInvocation::CreateFromArgs().
|
static |
Definition at line 1427 of file CompilerInvocation.cpp.
References clang::ObjCRuntime::allowsARC(), clang::ObjCRuntime::allowsWeak(), clang::LangOptions::ASMM_Off, clang::LangOptions::ASMM_On, clang::LangOptions::ASMM_Target, clang::LangOptions::CurrentModule, clang::DefaultVisibility, clang::ObjCRuntime::FragileMacOSX, clang::LangOptions::GCOnly, getAllNoBuiltinFuncValues(), clang::ObjCRuntime::getKind(), clang::LangStandard::getLangStandardForKind(), clang::getLastArgIntValue(), clang::VersionTuple::getMajor(), clang::VersionTuple::getMinor(), getOptimizationLevel(), getOptimizationLevelSize(), clang::VersionTuple::getSubminor(), clang::LangOptions::HybridGC, clang::if(), clang::IK_C, clang::IK_CUDA, clang::IK_CXX, clang::IK_ObjC, clang::IK_ObjCXX, clang::IK_OpenCL, clang::IK_PreprocessedC, clang::IK_PreprocessedCuda, clang::IK_PreprocessedCXX, clang::IK_PreprocessedObjC, clang::IK_PreprocessedObjCXX, clang::LangOptions::ImplementationOfModule, clang::LangStandard::isC89(), clang::LangStandard::isC99(), clang::LangStandard::isCPlusPlus(), clang::LangStandard::lang_unspecified, LANGSTANDARD, clang::LangOptions::ModuleFeatures, clang::LangOptions::NoBuiltinFuncs, clang::LangOptions::NonGC, clang::LangOptions::ObjCConstantStringClass, clang::LangOptions::ObjCRuntime, clang::LangOptions::OMPHostIRFile, clang::LangOptions::OMPTargetTriples, clang::LangOptions::OverflowHandler, parseSanitizerKinds(), parseVisibility(), clang::LangOptions::PPTMK_BestCase, clang::LangOptions::PPTMK_FullGeneralityMultipleInheritance, clang::LangOptions::PPTMK_FullGeneralitySingleInheritance, clang::LangOptions::PPTMK_FullGeneralityVirtualInheritance, clang::DiagnosticsEngine::Report(), clang::LangOptions::Sanitize, clang::LangOptions::SanitizerBlacklistFiles, clang::CompilerInvocation::setLangDefaults(), clang::LangOptions::SOB_Defined, clang::LangOptions::SOB_Trapping, clang::LangOptions::SSPOff, clang::LangOptions::SSPOn, clang::LangOptions::SSPReq, clang::LangOptions::SSPStrong, clang::VersionTuple::tryParse(), and clang::ObjCRuntime::tryParse().
Referenced by clang::CompilerInvocation::CreateFromArgs().
|
static |
Definition at line 305 of file CompilerInvocation.cpp.
References clang::MigratorOptions::NoFinalizeRemoval, and clang::MigratorOptions::NoNSAllocReallocError.
Referenced by clang::CompilerInvocation::CreateFromArgs().
|
static |
Definition at line 1891 of file CompilerInvocation.cpp.
References clang::PreprocessorOptions::addMacroDef(), clang::PreprocessorOptions::addMacroUndef(), clang::PreprocessorOptions::addRemappedFile(), clang::ARCXX_libcxx, clang::ARCXX_libstdcxx, clang::ARCXX_nolib, clang::PreprocessorOptions::ChainedIncludes, clang::prec::Comma, clang::PreprocessorOptions::DeserializedPCHDeclsToErrorOn, clang::PreprocessorOptions::DetailedRecord, clang::PreprocessorOptions::DisablePCHValidation, clang::PreprocessorOptions::DumpDeserializedPCHDecls, clang::PreprocessorOptions::ImplicitPCHInclude, clang::PreprocessorOptions::ImplicitPTHInclude, clang::PreprocessorOptions::Includes, clang::PreprocessorOptions::MacroIncludes, clang::Name, clang::PreprocessorOptions::ObjCXXARCStandardLibrary, clang::PreprocessorOptions::PrecompiledPreambleBytes, clang::DiagnosticsEngine::Report(), clang::PreprocessorOptions::TokenCache, and clang::PreprocessorOptions::UsePredefines.
Referenced by clang::CompilerInvocation::CreateFromArgs().
|
static |
Definition at line 1971 of file CompilerInvocation.cpp.
References clang::frontend::ASTDeclList, clang::frontend::ASTDump, clang::frontend::ASTPrint, clang::frontend::ASTView, clang::frontend::DumpRawTokens, clang::frontend::DumpTokens, clang::frontend::EmitAssembly, clang::frontend::EmitBC, clang::frontend::EmitCodeGenOnly, clang::frontend::EmitHTML, clang::frontend::EmitLLVM, clang::frontend::EmitLLVMOnly, clang::frontend::EmitObj, clang::frontend::FixIt, clang::frontend::GenerateModule, clang::frontend::GeneratePCH, clang::frontend::GeneratePTH, clang::frontend::InitOnly, clang::frontend::MigrateSource, clang::frontend::ModuleFileInfo, clang::frontend::ParseSyntaxOnly, clang::frontend::PluginAction, clang::frontend::PrintDeclContext, clang::frontend::PrintPreamble, clang::frontend::PrintPreprocessedInput, clang::PreprocessorOutputOptions::RewriteIncludes, clang::frontend::RewriteMacros, clang::frontend::RewriteObjC, clang::frontend::RewriteTest, clang::frontend::RunAnalysis, clang::frontend::RunPreprocessorOnly, clang::PreprocessorOutputOptions::ShowComments, clang::PreprocessorOutputOptions::ShowCPP, clang::PreprocessorOutputOptions::ShowLineMarkers, clang::PreprocessorOutputOptions::ShowMacroComments, clang::PreprocessorOutputOptions::ShowMacros, clang::PreprocessorOutputOptions::UseLineDirectives, and clang::frontend::VerifyPCH.
Referenced by clang::CompilerInvocation::CreateFromArgs().
|
static |
Definition at line 366 of file CompilerInvocation.cpp.
References clang::parseSanitizerValue(), clang::DiagnosticsEngine::Report(), and clang::SanitizerSet::set().
Referenced by clang::CompilerInvocation::CreateFromArgs(), ParseCodeGenArgs(), and ParseLangArgs().
|
static |
Definition at line 2023 of file CompilerInvocation.cpp.
References clang::TargetOptions::ABI, clang::TargetOptions::CPU, clang::TargetOptions::FeaturesAsWritten, clang::TargetOptions::FPMath, clang::TargetOptions::LinkerVersion, clang::TargetOptions::Reciprocals, and clang::TargetOptions::Triple.
Referenced by clang::CompilerInvocation::CreateFromArgs().
|
static |
Parse the argument to the -ftest-module-file-extension command-line argument.
Definition at line 903 of file CompilerInvocation.cpp.
Referenced by ParseFrontendArgs().
|
static |
Attempt to parse a visibility value out of the given argument.
Definition at line 1410 of file CompilerInvocation.cpp.
References clang::DefaultVisibility, clang::HiddenVisibility, clang::ProtectedVisibility, and clang::DiagnosticsEngine::Report().
Referenced by ParseLangArgs().
1.8.6