Home
last modified time | relevance | path

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

123

/external/llvm-project/clang-tools-extra/unittests/clang-tidy/
DClangTidyOptionsTest.cpp181 auto &CheckOptions = Options.CheckOptions; in TEST() local
182 CheckOptions["test.IntExpected1"] = "1"; in TEST()
183 CheckOptions["test.IntExpected2"] = "1WithMore"; in TEST()
184 CheckOptions["test.IntExpected3"] = "NoInt"; in TEST()
185 CheckOptions["GlobalIntExpected1"] = "1"; in TEST()
186 CheckOptions["GlobalIntExpected2"] = "NoInt"; in TEST()
187 CheckOptions["test.DefaultedIntInvalid"] = "NoInt"; in TEST()
188 CheckOptions["GlobalIntInvalid"] = "NoInt"; in TEST()
189 CheckOptions["test.BoolITrueValue"] = "1"; in TEST()
190 CheckOptions["test.BoolIFalseValue"] = "0"; in TEST()
[all …]
DTransformerClangTidyCheckTest.cpp166 Options.CheckOptions["test-check-0.Skip"] = "true"; in TEST()
170 Options.CheckOptions["test-check-0.Skip"] = "false"; in TEST()
252 Options.CheckOptions["test-check-0.IncludeStyle"] = "llvm"; in TEST()
260 Options.CheckOptions["test-check-0.IncludeStyle"] = "google"; in TEST()
284 Options.CheckOptions["IncludeStyle"] = "llvm"; in TEST()
292 Options.CheckOptions["IncludeStyle"] = "google"; in TEST()
DReadabilityModuleTest.cpp241 Options.CheckOptions["test-check-0.ShortStatementLines"] = "1"; in TEST()
488 Opts.CheckOptions["test-check-0.ShortStatementLines"] = "1"; in TEST()
/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidyCheck.cpp45 Options(CheckName, Context->getOptions().CheckOptions, Context) { in ClangTidyCheck()
74 StringRef CheckName, const ClangTidyOptions::OptionMap &CheckOptions, in OptionsView() argument
76 : NamePrefix(CheckName.str() + "."), CheckOptions(CheckOptions), in OptionsView()
81 const auto &Iter = CheckOptions.find(NamePrefix + LocalName.str()); in get()
82 if (Iter != CheckOptions.end()) in get()
103 auto Iter = findPriorityOption(CheckOptions, NamePrefix, LocalName); in getLocalOrGlobal()
104 if (Iter != CheckOptions.end()) in getLocalOrGlobal()
144 auto Iter = findPriorityOption(CheckOptions, NamePrefix, LocalName); in getLocalOrGlobal()
145 if (Iter != CheckOptions.end()) in getLocalOrGlobal()
183 ? findPriorityOption(CheckOptions, NamePrefix, LocalName) in getEnumInt()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/
DLLVMTidyModule.cpp45 Options.CheckOptions["llvm-qualified-auto.AddConstToQualified"] = "0"; in getModuleOptions()
46 Options.CheckOptions["llvm-else-after-return.WarnOnUnfixable"] = "0"; in getModuleOptions()
47 Options.CheckOptions["llvm-else-after-return.WarnOnConditionVariables"] = in getModuleOptions()
/external/llvm-project/clang-tools-extra/clangd/
DConfigCompile.cpp380 if (!F.CheckOptions.empty()) { in compile()
381 std::vector<std::pair<std::string, std::string>> CheckOptions; in compile() local
382 for (auto &Opt : F.CheckOptions) in compile()
383 CheckOptions.emplace_back(std::move(*Opt.first), in compile()
386 [CheckOptions = std::move(CheckOptions)](const Params &, Config &C) { in compile()
387 for (auto &StringPair : CheckOptions) in compile()
388 C.ClangTidy.CheckOptions.insert_or_assign(StringPair.first, in compile()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DConfigCompileTests.cpp191 Frag.ClangTidy.CheckOptions.emplace_back( in TEST_F()
193 Frag.ClangTidy.CheckOptions.emplace_back(std::make_pair( in TEST_F()
199 EXPECT_EQ(Conf.ClangTidy.CheckOptions.size(), 2U); in TEST_F()
200 EXPECT_EQ(Conf.ClangTidy.CheckOptions.lookup("StrictMode"), "true"); in TEST_F()
201 EXPECT_EQ(Conf.ClangTidy.CheckOptions.lookup("example-check.ExampleOption"), in TEST_F()
/external/llvm-project/libc/utils/HdrGen/PrototypeTestGen/
D.clang-tidy1 CheckOptions:
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/Inputs/readability-identifier-naming/global-style2/
D.clang-tidy2 CheckOptions:
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/Inputs/readability-identifier-naming/global-style1/
D.clang-tidy2 CheckOptions:
/external/llvm-project/libc/src/
D.clang-tidy4 CheckOptions:
/external/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/4/44/
D.clang-tidy3 CheckOptions:
/external/llvm-project/clang-tools-extra/test/clang-tidy/infrastructure/Inputs/config-files/4/
D.clang-tidy2 CheckOptions:
/external/grpc-grpc/
D.clang-tidy4 CheckOptions:
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dreadability-identifier-naming-objc.m2 // RUN: -config='{CheckOptions: \
/external/compiler-rt/lib/sanitizer_common/
D.clang-tidy2 CheckOptions:
/external/llvm/
D.clang-tidy2 CheckOptions:
/external/jsoncpp/
D.clang-tidy7 CheckOptions:
/external/rust/crates/grpcio-sys/grpc/test/
D.clang-tidy4 CheckOptions:
/external/grpc-grpc/test/
D.clang-tidy4 CheckOptions:
/external/clang/
D.clang-tidy2 CheckOptions:
/external/perfetto/
D.clang-tidy2 CheckOptions:
/external/llvm-project/parallel-libs/
D.clang-tidy2 CheckOptions:
/external/llvm-project/parallel-libs/acxxel/
D.clang-tidy2 CheckOptions:
/external/llvm-project/llvm/
D.clang-tidy2 CheckOptions:

123