Searched refs:LineFilter (Results 1 – 5 of 5) sorted by relevance
/external/llvm-project/clang-tools-extra/unittests/clang-tidy/ |
D | ClangTidyOptionsTest.cpp | 28 EXPECT_TRUE(Options.LineFilter.empty()); in TEST() 30 EXPECT_TRUE(Options.LineFilter.empty()); in TEST() 36 EXPECT_TRUE(Options.LineFilter.empty()); in TEST() 56 EXPECT_EQ(3u, Options.LineFilter.size()); in TEST() 57 EXPECT_EQ("file1.cpp", Options.LineFilter[0].Name); in TEST() 58 EXPECT_EQ(3u, Options.LineFilter[0].LineRanges.size()); in TEST() 59 EXPECT_EQ(3u, Options.LineFilter[0].LineRanges[0].first); in TEST() 60 EXPECT_EQ(15u, Options.LineFilter[0].LineRanges[0].second); in TEST() 61 EXPECT_EQ(20u, Options.LineFilter[0].LineRanges[1].first); in TEST() 62 EXPECT_EQ(30u, Options.LineFilter[0].LineRanges[1].second); in TEST() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/ |
D | ClangTidyOptions.h | 44 std::vector<FileFilter> LineFilter; member 309 std::error_code parseLineFilter(llvm::StringRef LineFilter,
|
D | ClangTidyOptions.cpp | 376 std::error_code parseLineFilter(StringRef LineFilter, in parseLineFilter() argument 378 llvm::yaml::Input Input(LineFilter); in parseLineFilter() 379 Input >> Options.LineFilter; in parseLineFilter()
|
D | ClangTidyDiagnosticConsumer.cpp | 459 if (Context.getGlobalOptions().LineFilter.empty()) in passesLineFilter() 461 for (const FileFilter &Filter : Context.getGlobalOptions().LineFilter) { in passesLineFilter()
|
/external/llvm-project/clang-tools-extra/clang-tidy/tool/ |
D | ClangTidyMain.cpp | 102 static cl::opt<std::string> LineFilter("line-filter", cl::desc(R"( variable 284 if (std::error_code Err = parseLineFilter(LineFilter, GlobalOptions)) { in createOptionsProvider()
|