Home
last modified time | relevance | path

Searched refs:SpecialCaseList (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/Support/
DSpecialCaseList.cpp34 struct SpecialCaseList::Entry {
47 SpecialCaseList::SpecialCaseList() : Entries(), Regexps(), IsCompiled(false) {} in SpecialCaseList() function in llvm::SpecialCaseList
49 std::unique_ptr<SpecialCaseList>
50 SpecialCaseList::create(const std::vector<std::string> &Paths, in create()
52 std::unique_ptr<SpecialCaseList> SCL(new SpecialCaseList()); in create()
70 std::unique_ptr<SpecialCaseList> SpecialCaseList::create(const MemoryBuffer *MB, in create()
72 std::unique_ptr<SpecialCaseList> SCL(new SpecialCaseList()); in create()
79 std::unique_ptr<SpecialCaseList>
80 SpecialCaseList::createOrDie(const std::vector<std::string> &Paths) { in createOrDie()
87 bool SpecialCaseList::parse(const MemoryBuffer *MB, std::string &Error) { in parse()
[all …]
DCMakeLists.txt84 SpecialCaseList.cpp
/external/llvm/include/llvm/Support/
DSpecialCaseList.h60 class SpecialCaseList {
64 static std::unique_ptr<SpecialCaseList>
68 static std::unique_ptr<SpecialCaseList> create(const MemoryBuffer *MB,
72 static std::unique_ptr<SpecialCaseList>
75 ~SpecialCaseList();
86 SpecialCaseList(SpecialCaseList const &) = delete;
87 SpecialCaseList &operator=(SpecialCaseList const &) = delete;
94 SpecialCaseList();
/external/llvm/unittests/Support/
DSpecialCaseListTest.cpp21 std::unique_ptr<SpecialCaseList> makeSpecialCaseList(StringRef List, in makeSpecialCaseList()
24 return SpecialCaseList::create(MB.get(), Error); in makeSpecialCaseList()
27 std::unique_ptr<SpecialCaseList> makeSpecialCaseList(StringRef List) { in makeSpecialCaseList()
47 std::unique_ptr<SpecialCaseList> SCL = in TEST_F()
64 std::unique_ptr<SpecialCaseList> SCL = in TEST_F()
85 std::unique_ptr<SpecialCaseList> SCL = makeSpecialCaseList("src:hello\n" in TEST_F()
110 EXPECT_EQ(nullptr, SpecialCaseList::create(Files, Error)); in TEST_F()
115 std::unique_ptr<SpecialCaseList> SCL = makeSpecialCaseList(""); in TEST_F()
126 auto SCL = SpecialCaseList::createOrDie(Files); in TEST_F()
/external/clang/include/clang/Basic/
DSanitizerBlacklist.h27 std::unique_ptr<llvm::SpecialCaseList> SCL;
/external/clang/lib/Basic/
DSanitizerBlacklist.cpp20 : SCL(llvm::SpecialCaseList::createOrDie(BlacklistPaths)), SM(SM) {} in SanitizerBlacklist()
/external/llvm/tools/sancov/
Dsancov.cc270 static std::unique_ptr<SpecialCaseList> createDefaultBlacklist() { in createDefaultBlacklist()
272 return std::unique_ptr<SpecialCaseList>(); in createDefaultBlacklist()
276 auto Blacklist = SpecialCaseList::create(MB.get(), Error); in createDefaultBlacklist()
281 static std::unique_ptr<SpecialCaseList> createUserBlacklist() { in createUserBlacklist()
283 return std::unique_ptr<SpecialCaseList>(); in createUserBlacklist()
285 return SpecialCaseList::createOrDie({{ClBlacklist}}); in createUserBlacklist()
287 std::unique_ptr<SpecialCaseList> DefaultBlacklist;
288 std::unique_ptr<SpecialCaseList> UserBlacklist;
/external/clang/lib/Driver/
DSanitizerArgs.cpp406 std::unique_ptr<llvm::SpecialCaseList> SCL( in SanitizerArgs()
407 llvm::SpecialCaseList::create(BlacklistFiles, BLError)); in SanitizerArgs()
/external/llvm/lib/Transforms/Instrumentation/
DDataFlowSanitizer.cpp147 std::unique_ptr<SpecialCaseList> SCL;
152 void set(std::unique_ptr<SpecialCaseList> List) { SCL = std::move(List); } in set()
377 ABIList.set(SpecialCaseList::createOrDie(AllABIListFiles)); in DataFlowSanitizer()