/external/clang/unittests/StaticAnalyzer/ |
H A D | AnalyzerOptionsTest.cpp | 18 AnalyzerOptions Opts; local 19 Opts.Config["Outer.Inner.CheckerOne:Option"] = "true"; 20 Opts.Config["Outer.Inner:Option"] = "false"; 21 Opts.Config["Outer.Inner:Option2"] = "true"; 22 Opts.Config["Outer:Option2"] = "false"; 38 EXPECT_TRUE(Opts.getBooleanOption("Option", false, &CheckerOne)); 40 EXPECT_TRUE(Opts.getBooleanOption("Option", false, &CheckerOne, true)); 43 EXPECT_TRUE(Opts.getBooleanOption("Option2", false, &CheckerOne, true)); 46 EXPECT_FALSE(Opts.getBooleanOption("Option2", false, &CheckerOne)); 47 EXPECT_TRUE(Opts 58 AnalyzerOptions Opts; local [all...] |
/external/clang/lib/Frontend/ |
H A D | CompilerInvocation.cpp | 138 static bool ParseAnalyzerArgs(AnalyzerOptions &Opts, ArgList &Args, argument 154 Opts.AnalysisStoreOpt = Value; 170 Opts.AnalysisConstraintsOpt = Value; 186 Opts.AnalysisDiagOpt = Value; 202 Opts.AnalysisPurgeOpt = Value; 218 Opts.InliningMode = Value; 222 Opts.ShowCheckerHelp = Args.hasArg(OPT_analyzer_checker_help); 223 Opts.DisableAllChecks = Args.hasArg(OPT_analyzer_disable_all_checks); 225 Opts.visualizeExplodedGraphWithGraphViz = 227 Opts 290 ParseMigratorArgs(MigratorOptions &Opts, ArgList &Args) argument 296 ParseCommentArgs(CommentOptions &Opts, ArgList &Args) argument 363 ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK, DiagnosticsEngine &Diags, const TargetOptions &TargetOpts) argument 721 ParseDependencyOutputArgs(DependencyOutputOptions &Opts, ArgList &Args) argument 747 ParseDiagnosticArgs(DiagnosticOptions &Opts, ArgList &Args, DiagnosticsEngine *Diags) argument 868 ParseFileSystemArgs(FileSystemOptions &Opts, ArgList &Args) argument 896 ParseFrontendArgs(FrontendOptions &Opts, ArgList &Args, DiagnosticsEngine &Diags) argument 1184 ParseHeaderSearchArgs(HeaderSearchOptions &Opts, ArgList &Args) argument 1285 setLangDefaults(LangOptions &Opts, InputKind IK, LangStandard::Kind LangStd) argument 1400 ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK, DiagnosticsEngine &Diags) argument 1838 ParsePreprocessorArgs(PreprocessorOptions &Opts, ArgList &Args, FileManager &FileMgr, DiagnosticsEngine &Diags) argument 1918 ParsePreprocessorOutputArgs(PreprocessorOutputOptions &Opts, ArgList &Args, frontend::ActionKind Action) argument 1970 ParseTargetArgs(TargetOptions &Opts, ArgList &Args) argument [all...] |
H A D | DependencyFile.cpp | 172 DFGImpl(const Preprocessor *_PP, const DependencyOutputOptions &Opts) argument 173 : PP(_PP), OutputFile(Opts.OutputFile), Targets(Opts.Targets), 174 IncludeSystemHeaders(Opts.IncludeSystemHeaders), 175 PhonyTarget(Opts.UsePhonyTargets), 176 AddMissingHeaderDeps(Opts.AddMissingHeaderDeps), 178 IncludeModuleFiles(Opts.IncludeModuleFiles), 179 OutputFormat(Opts.OutputFormat) { 180 for (auto ExtraDep : Opts.ExtraDeps) { 234 clang::Preprocessor &PP, const clang::DependencyOutputOptions &Opts) { 233 CreateAndAttachToPreprocessor( clang::Preprocessor &PP, const clang::DependencyOutputOptions &Opts) argument [all...] |
/external/llvm/unittests/Option/ |
H A D | Makefile | 14 BUILT_SOURCES = Opts.inc 21 $(ObjDir)/Opts.inc.tmp : Opts.td $(LLVM_TBLGEN) $(ObjDir)/.dir
|
/external/clang/tools/driver/ |
H A D | cc1as_main.cpp | 159 bool AssemblerInvocation::CreateFromArgs(AssemblerInvocation &Opts, argument 188 Opts.Triple = llvm::Triple::normalize(Args.getLastArgValue(OPT_triple)); 189 Opts.CPU = Args.getLastArgValue(OPT_target_cpu); 190 Opts.Features = Args.getAllArgValues(OPT_target_feature); 193 if (Opts.Triple.empty()) 194 Opts.Triple = llvm::sys::getDefaultTargetTriple(); 197 Opts.IncludePaths = Args.getAllArgValues(OPT_I); 198 Opts.NoInitialTextSection = Args.hasArg(OPT_n); 199 Opts.SaveTemporaryLabels = Args.hasArg(OPT_msave_temp_labels); 201 Opts 260 getOutputStream(AssemblerInvocation &Opts, DiagnosticsEngine &Diags, bool Binary) argument 282 ExecuteAssembler(AssemblerInvocation &Opts, DiagnosticsEngine &Diags) argument [all...] |
/external/compiler-rt/lib/ubsan/ |
H A D | ubsan_handlers.cc | 25 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET) { argument 33 if (Opts.FromUnrecoverableHandler) 35 return SLoc.isDisabled() || IsPCSuppressed(ET, Opts.pc, SLoc.getFilename()); 45 ReportOptions Opts) { 58 if (ignoreReport(Loc.getSourceLocation(), Opts, ET)) 63 FallbackLoc.reset(getCallerLocation(Opts.pc)); 67 ScopedReport R(Opts, Loc, ET); 96 handleTypeMismatchImpl(Data, Pointer, Opts); 101 handleTypeMismatchImpl(Data, Pointer, Opts); 109 ReportOptions Opts) { 44 handleTypeMismatchImpl(TypeMismatchData *Data, ValueHandle Pointer, ReportOptions Opts) argument 107 handleIntegerOverflowImpl(OverflowData *Data, ValueHandle LHS, const char *Operator, T RHS, ReportOptions Opts) argument 142 handleNegateOverflowImpl(OverflowData *Data, ValueHandle OldVal, ReportOptions Opts) argument 176 handleDivremOverflowImpl(OverflowData *Data, ValueHandle LHS, ValueHandle RHS, ReportOptions Opts) argument 219 handleShiftOutOfBoundsImpl(ShiftOutOfBoundsData *Data, ValueHandle LHS, ValueHandle RHS, ReportOptions Opts) argument 269 handleOutOfBoundsImpl(OutOfBoundsData *Data, ValueHandle Index, ReportOptions Opts) argument 296 handleBuiltinUnreachableImpl(UnreachableData *Data, ReportOptions Opts) argument 308 handleMissingReturnImpl(UnreachableData *Data, ReportOptions Opts) argument 321 handleVLABoundNotPositive(VLABoundData *Data, ValueHandle Bound, ReportOptions Opts) argument 366 handleFloatCastOverflow(void *DataPtr, ValueHandle From, ReportOptions Opts) argument 407 handleLoadInvalidValue(InvalidValueData *Data, ValueHandle Val, ReportOptions Opts) argument 438 handleFunctionTypeMismatch(FunctionTypeMismatchData *Data, ValueHandle Function, ReportOptions Opts) argument 474 handleNonNullReturn(NonNullReturnData *Data, ReportOptions Opts) argument 500 handleNonNullArg(NonNullArgData *Data, ReportOptions Opts) argument 526 handleCFIBadIcall(CFIBadIcallData *Data, ValueHandle Function, ReportOptions Opts) argument [all...] |
H A D | ubsan_handlers_cxx.cc | 35 ReportOptions Opts) { 47 if (ignoreReport(Loc, Opts, ET)) 50 ScopedReport R(Opts, Loc, ET); 80 HandleDynamicTypeCacheMiss(Data, Pointer, Hash, Opts); 86 if (HandleDynamicTypeCacheMiss(Data, Pointer, Hash, Opts)) 91 ReportOptions Opts) { 95 if (ignoreReport(Loc, Opts, ET)) 98 ScopedReport R(Opts, Loc, ET); 123 HandleCFIBadType(Data, Vtable, Opts); 129 HandleCFIBadType(Data, Vtable, Opts); 33 HandleDynamicTypeCacheMiss( DynamicTypeCacheMissData *Data, ValueHandle Pointer, ValueHandle Hash, ReportOptions Opts) argument 90 HandleCFIBadType(CFIBadTypeData *Data, ValueHandle Vtable, ReportOptions Opts) argument [all...] |
H A D | ubsan_diag.h | 228 bool ignoreReport(SourceLocation SLoc, ReportOptions Opts, ErrorType ET); 232 ReportOptions Opts = {unrecoverable_handler, pc, bp} 238 ReportOptions Opts; member in class:__ubsan::ScopedReport 243 ScopedReport(ReportOptions Opts, Location SummaryLoc, ErrorType Type);
|
/external/clang/lib/Basic/ |
H A D | Warnings.cpp | 45 const DiagnosticOptions &Opts, 48 Diags.setIgnoreAllWarnings(Opts.IgnoreWarnings); 49 Diags.setShowOverloads(Opts.getShowOverloads()); 51 Diags.setElideType(Opts.ElideType); 52 Diags.setPrintTemplateTree(Opts.ShowTemplateTree); 53 Diags.setShowColors(Opts.ShowColors); 56 if (Opts.ErrorLimit) 57 Diags.setErrorLimit(Opts.ErrorLimit); 58 if (Opts.TemplateBacktraceLimit) 59 Diags.setTemplateBacktraceLimit(Opts 44 ProcessWarningOptions(DiagnosticsEngine &Diags, const DiagnosticOptions &Opts, bool ReportDiags) argument [all...] |
H A D | Targets.cpp | 45 const LangOptions &Opts) { 50 if (Opts.GNUMode) 76 virtual void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, 80 void getTargetDefines(const LangOptions &Opts, 82 TgtInfo::getTargetDefines(Opts, Builder); 83 getOSDefines(Opts, TgtInfo::getTriple(), Builder); 92 void getOSDefines(const LangOptions &Opts, const llvm::Triple &Triple, 110 static void getDarwinDefines(MacroBuilder &Builder, const LangOptions &Opts, argument 119 if (Opts.Sanitize.has(SanitizerKind::Address)) 123 if (!Opts 44 DefineStd(MacroBuilder &Builder, StringRef MacroName, const LangOptions &Opts) argument [all...] |
/external/clang/include/clang/Rewrite/Frontend/ |
H A D | Rewriters.h | 31 const PreprocessorOutputOptions &Opts);
|
/external/chromium-trace/catapult/third_party/coverage/coverage/ |
H A D | cmdline.py | 19 class Opts(object): class in inherits:object 210 Opts.help, 211 Opts.version, 253 Opts.debug, 254 Opts.help, 255 Opts.rcfile, 262 Opts.directory, 263 Opts.ignore_errors, 264 Opts.include, 265 Opts [all...] |
/external/llvm/include/llvm/DebugInfo/Symbolize/ |
H A D | Symbolize.h | 46 LLVMSymbolizer(const Options &Opts = Options()) : Opts(Opts) {} 99 Options Opts; member in class:llvm::symbolize::LLVMSymbolizer
|
/external/llvm/include/llvm/CodeGen/ |
H A D | RegAllocPBQP.h | 84 AllowedRegVector() : NumOpts(0), Opts(nullptr) {} 87 : NumOpts(OptVec.size()), Opts(new unsigned[NumOpts]) { 88 std::copy(OptVec.begin(), OptVec.end(), Opts.get()); 92 : NumOpts(Other.NumOpts), Opts(new unsigned[NumOpts]) { 93 std::copy(Other.Opts.get(), Other.Opts.get() + NumOpts, Opts.get()); 97 : NumOpts(std::move(Other.NumOpts)), Opts(std::move(Other.Opts)) {} 101 Opts 127 std::unique_ptr<unsigned[]> Opts; member in class:llvm::PBQP::RegAlloc::AllowedRegVector [all...] |
/external/llvm/utils/TableGen/ |
H A D | OptParserEmitter.cpp | 112 std::vector<Record*> Opts = Records.getAllDerivedDefinitions("Option"); local 116 array_pod_sort(Opts.begin(), Opts.end(), CompareOptionRecords); 123 for (unsigned i = 0, e = Opts.size(); i != e; ++i) { 124 const Record &R = *Opts[i]; 203 for (unsigned i = 0, e = Opts.size(); i != e; ++i) { 204 const Record &R = *Opts[i];
|
/external/clang/lib/StaticAnalyzer/Frontend/ |
H A D | AnalysisConsumer.cpp | 161 AnalyzerOptionsRef Opts; member in class:__anon1768::AnalysisConsumer 194 OutDir(outdir), Opts(opts), Plugins(plugins), Injector(injector) { 196 if (Opts->PrintStats) { 203 if (Opts->PrintStats) 208 if (Opts->AnalysisDiagOpt != PD_NONE) { 214 if (Opts->AnalysisDiagOpt == PD_TEXT) { 218 switch (Opts->AnalysisDiagOpt) { 222 CREATEFN(*Opts.get(), PathConsumers, OutDir, PP); \ 230 switch (Opts->AnalysisStoreOpt) { 238 switch (Opts [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngineCallAndReturn.cpp | 593 AnalyzerOptions &Opts) { 602 if (!Opts.mayInlineCXXMemberFunction(CIMK_MemberFunctions)) 606 if (!Opts.mayInlineCXXMemberFunction(CIMK_Constructors)) 638 if (!Opts.mayInlineCXXMemberFunction(CIMK_Destructors)) 650 if (!Opts.mayInlineCXXMemberFunction(CIMK_Destructors)) 668 if (Opts.mayInlineCXXAllocator()) 674 if (!Opts.mayInlineObjCMethod()) 676 if (!(Opts.getIPAMode() == IPAK_DynamicDispatch || 677 Opts.getIPAMode() == IPAK_DynamicDispatchBifurcate)) 747 AnalyzerOptions &Opts) { 591 mayInlineCallKind(const CallEvent &Call, const ExplodedNode *Pred, AnalyzerOptions &Opts) argument 746 mayInlineDecl(AnalysisDeclContext *CalleeADC, AnalyzerOptions &Opts) argument 809 AnalyzerOptions &Opts = AMgr.options; local [all...] |
/external/clang/lib/Driver/ |
H A D | MSVCToolChain.cpp | 641 const OptTable &Opts = getDriver().getOpts(); local 687 DAL->AddFlagArg(A, Opts.getOption(options::OPT_O0)); 690 DAL->AddJoinedArg(A, Opts.getOption(options::OPT_O), "s"); 692 DAL->AddFlagArg(A, Opts.getOption(options::OPT_fbuiltin)); 693 DAL->AddJoinedArg(A, Opts.getOption(options::OPT_O), "2"); 697 Opts.getOption(options::OPT_fomit_frame_pointer)); 700 Opts.getOption(options::OPT_ffunction_sections)); 713 DAL->AddFlagArg(A, Opts.getOption(options::OPT_fno_builtin)); 715 DAL->AddFlagArg(A, Opts.getOption(options::OPT_fbuiltin)); 719 DAL->AddJoinedArg(A, Opts [all...] |
/external/llvm/lib/DebugInfo/Symbolize/ |
H A D | Symbolize.cpp | 59 if (Opts.RelativeAddresses) 62 DILineInfo LineInfo = Info->symbolizeCode(ModuleOffset, Opts.PrintFunctions, 63 Opts.UseSymbolTable); 64 if (Opts.Demangle) 79 if (Opts.RelativeAddresses) 83 ModuleOffset, Opts.PrintFunctions, Opts.UseSymbolTable); 84 if (Opts.Demangle) { 103 if (Opts.RelativeAddresses) 107 if (Opts [all...] |
/external/clang/include/clang/Frontend/ |
H A D | CompilerInvocation.h | 42 /// \brief Fill out Opts based on the options given in Args. 49 bool ParseDiagnosticArgs(DiagnosticOptions &Opts, llvm::opt::ArgList &Args, 154 /// \param Opts - The LangOptions object to set up. 157 static void setLangDefaults(LangOptions &Opts, InputKind IK,
|
H A D | MultiplexConsumer.h | 47 void HandleLinkerOptionPragma(llvm::StringRef Opts) override;
|
H A D | Utils.h | 71 const PreprocessorOutputOptions &Opts); 115 Preprocessor &PP, const DependencyOutputOptions &Opts);
|
/external/llvm/lib/Option/ |
H A D | OptTable.cpp | 291 static std::string getOptionHelpName(const OptTable &Opts, OptSpecifier Id) { argument 292 const Option O = Opts.getOption(Id); 301 if (const char *MetaVarName = Opts.getOptionMetaVar(Id)) { 323 if (const char *MetaVarName = Opts.getOptionMetaVar(Id)) 366 static const char *getOptionHelpGroup(const OptTable &Opts, OptSpecifier Id) { argument 367 unsigned GroupID = Opts.getOptionGroupID(Id); 377 if (const char *GroupHelp = Opts.getOptionHelpText(GroupID)) 381 return getOptionHelpGroup(Opts, GroupID);
|
/external/clang/include/clang/AST/ |
H A D | ASTConsumer.h | 99 virtual void HandleLinkerOptionPragma(llvm::StringRef Opts) {} argument
|
/external/lldb/source/Symbol/ |
H A D | ClangASTContext.cpp | 100 LangOptions &Opts, 110 Opts.AsmPreprocessor = 1; 115 Opts.ObjC1 = Opts.ObjC2 = 1; 150 Opts.LineComment = Std.hasLineComments(); 151 Opts.C99 = Std.isC99(); 152 Opts.CPlusPlus = Std.isCPlusPlus(); 153 Opts.CPlusPlus11 = Std.isCPlusPlus11(); 154 Opts.Digraphs = Std.hasDigraphs(); 155 Opts 98 ParseLangArgs( LangOptions &Opts, InputKind IK ) argument [all...] |