Searched refs:makeSpecialCaseList (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/llvm/unittests/Support/ |
D | SpecialCaseListTest.cpp | 21 std::unique_ptr<SpecialCaseList> makeSpecialCaseList(StringRef List, in makeSpecialCaseList() function in __anona92c14e10111::SpecialCaseListTest 27 std::unique_ptr<SpecialCaseList> makeSpecialCaseList(StringRef List) { in makeSpecialCaseList() function in __anona92c14e10111::SpecialCaseListTest 29 auto SCL = makeSpecialCaseList(List, Error); in makeSpecialCaseList() 48 makeSpecialCaseList("# This is a comment.\n" in TEST_F() 73 EXPECT_EQ(nullptr, makeSpecialCaseList("# This is a comment.\n" in TEST_F() 80 EXPECT_EQ(nullptr, makeSpecialCaseList("\n\n\n" in TEST_F() 89 EXPECT_EQ(makeSpecialCaseList("[address", Error), nullptr); in TEST_F() 92 EXPECT_EQ(makeSpecialCaseList("[[]", Error), nullptr); in TEST_F() 95 EXPECT_EQ(makeSpecialCaseList("src:=", Error), nullptr); in TEST_F() 100 std::unique_ptr<SpecialCaseList> SCL = makeSpecialCaseList("src:global\n" in TEST_F() [all …]
|
/external/llvm/unittests/Support/ |
D | SpecialCaseListTest.cpp | 21 std::unique_ptr<SpecialCaseList> makeSpecialCaseList(StringRef List, in makeSpecialCaseList() function in __anon1b507b130111::SpecialCaseListTest 27 std::unique_ptr<SpecialCaseList> makeSpecialCaseList(StringRef List) { in makeSpecialCaseList() function in __anon1b507b130111::SpecialCaseListTest 29 auto SCL = makeSpecialCaseList(List, Error); in makeSpecialCaseList() 48 makeSpecialCaseList("# This is a comment.\n" in TEST_F() 65 makeSpecialCaseList("global:foo=init\n"); in TEST_F() 71 SCL = makeSpecialCaseList("type:t2=init\n"); in TEST_F() 77 SCL = makeSpecialCaseList("src:hello=init\n"); in TEST_F() 85 std::unique_ptr<SpecialCaseList> SCL = makeSpecialCaseList("src:hello\n" in TEST_F() 92 SCL = makeSpecialCaseList("fun:*foo*\n"); in TEST_F() 99 EXPECT_EQ(nullptr, makeSpecialCaseList("badline", Error)); in TEST_F() [all …]
|