Home
last modified time | relevance | path

Searched refs:CheckOptions (Results 1 – 25 of 59) sorted by relevance

123

/llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/
H A DClangTidyOptionsTest.cpp303 auto &CheckOptions = Options.CheckOptions; in TEST() local
304 CheckOptions["test.IntExpected"] = "1"; in TEST()
307 CheckOptions["GlobalIntExpected"] = "1"; in TEST()
314 CheckOptions["test.BoolTrueShort"] = "Y"; in TEST()
369 auto &CheckOptions = Options.CheckOptions; in TEST() local
371 CheckOptions["test.Valid"] = "Red"; in TEST()
372 CheckOptions["test.Invalid"] = "Scarlet"; in TEST()
374 CheckOptions["test.NearMiss"] = "Oragne"; in TEST()
375 CheckOptions["GlobalValid"] = "Violet"; in TEST()
376 CheckOptions["GlobalInvalid"] = "Purple"; in TEST()
[all …]
H A DTransformerClangTidyCheckTest.cpp211 Options.CheckOptions["test-check-0.Skip"] = "true"; in TEST()
215 Options.CheckOptions["test-check-0.Skip"] = "false"; in TEST()
298 Options.CheckOptions["test-check-0.IncludeStyle"] = "llvm"; in TEST()
306 Options.CheckOptions["test-check-0.IncludeStyle"] = "google"; in TEST()
330 Options.CheckOptions["IncludeStyle"] = "llvm"; in TEST()
338 Options.CheckOptions["IncludeStyle"] = "google"; in TEST()
H A DReadabilityModuleTest.cpp243 Options.CheckOptions["test-check-0.ShortStatementLines"] = "1"; in TEST()
490 Opts.CheckOptions["test-check-0.ShortStatementLines"] = "1"; in TEST()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DClangTidyCheck.cpp20 Options(CheckName, Context->getOptions().CheckOptions, Context) { in ClangTidyCheck()
49 StringRef CheckName, const ClangTidyOptions::OptionMap &CheckOptions, in OptionsView() argument
51 : NamePrefix((CheckName + ".").str()), CheckOptions(CheckOptions), in OptionsView()
58 const auto &Iter = CheckOptions.find((NamePrefix + LocalName).str()); in get()
59 if (Iter != CheckOptions.end()) in get()
85 auto Iter = findPriorityOption(CheckOptions, NamePrefix, LocalName, in getLocalOrGlobal()
87 if (Iter != CheckOptions.end()) in getLocalOrGlobal()
119 auto Iter = findPriorityOption(CheckOptions, NamePrefix, LocalName, in getLocalOrGlobal()
121 if (Iter != CheckOptions.end()) { in getLocalOrGlobal()
156 : CheckOptions.find((NamePrefix + LocalName).str()); in getEnumInt()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/
H A DLLVMTidyModule.cpp45 Options.CheckOptions["llvm-qualified-auto.AddConstToQualified"] = "false"; in getModuleOptions()
46 Options.CheckOptions["llvm-else-after-return.WarnOnUnfixable"] = "false"; in getModuleOptions()
47 Options.CheckOptions["llvm-else-after-return.WarnOnConditionVariables"] = in getModuleOptions()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DTidyProviderTests.cpp42 EXPECT_EQ(BaseOptions.CheckOptions.lookup("TestKey").Value, "1"); in TEST()
47 EXPECT_EQ(Sub1Options.CheckOptions.lookup("TestKey").Value, "2"); in TEST()
53 EXPECT_EQ(Sub2Options.CheckOptions.lookup("TestKey").Value, "3"); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DConfigCompile.cpp505 if (!F.CheckOptions.empty()) { in compile()
506 std::vector<std::pair<std::string, std::string>> CheckOptions; in compile() local
507 for (auto &Opt : F.CheckOptions) in compile()
508 CheckOptions.emplace_back(std::move(*Opt.first), in compile()
511 [CheckOptions = std::move(CheckOptions)](const Params &, Config &C) { in compile()
512 for (auto &StringPair : CheckOptions) in compile()
513 C.Diagnostics.ClangTidy.CheckOptions.insert_or_assign( in compile()
/llvm-project-15.0.7/libc/utils/HdrGen/PrototypeTestGen/
H A D.clang-tidy1 CheckOptions:
/llvm-project-15.0.7/libcxx/test/
H A D.clang-tidy3 CheckOptions:
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/4/key-dict/
H A D.clang-tidy3 CheckOptions:
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/identifier-naming/global-style1/
H A D.clang-tidy2 CheckOptions:
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/Inputs/identifier-naming/global-style2/
H A D.clang-tidy2 CheckOptions:
/llvm-project-15.0.7/libc/src/__support/CPP/
H A D.clang-tidy5 CheckOptions:
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/4/44/
H A D.clang-tidy3 CheckOptions:
/llvm-project-15.0.7/lld/
H A D.clang-tidy2 CheckOptions:
/llvm-project-15.0.7/llvm/tools/split-file/
H A D.clang-tidy2 CheckOptions:
/llvm-project-15.0.7/libc/src/
H A D.clang-tidy5 CheckOptions:
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/4/
H A D.clang-tidy2 CheckOptions:
/llvm-project-15.0.7/lldb/
H A D.clang-tidy3 CheckOptions:
/llvm-project-15.0.7/flang/lib/FrontendTool/
H A D.clang-tidy3 CheckOptions:
/llvm-project-15.0.7/flang/lib/Lower/
H A D.clang-tidy3 CheckOptions:
/llvm-project-15.0.7/flang/lib/Optimizer/
H A D.clang-tidy3 CheckOptions:
/llvm-project-15.0.7/flang/lib/Frontend/
H A D.clang-tidy3 CheckOptions:
/llvm-project-15.0.7/flang/unittests/Frontend/
H A D.clang-tidy3 CheckOptions:
/llvm-project-15.0.7/flang/include/flang/Lower/
H A D.clang-tidy3 CheckOptions:

123