diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2013-08-19 00:24:20 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2013-08-19 00:24:20 +0000 |
commit | 03c3324ccdedca412a9daaf8c0bfd8167a801990 (patch) | |
tree | 015f76dffd88402ea89a3c3d4bcb0aaca965e50a /llvm/unittests/Transforms | |
parent | 048b8834162fda436cdf092b3a7643c3d342e90c (diff) | |
download | bcm5719-llvm-03c3324ccdedca412a9daaf8c0bfd8167a801990.tar.gz bcm5719-llvm-03c3324ccdedca412a9daaf8c0bfd8167a801990.zip |
Remove SpecialCaseList::findCategory.
It turned out that I didn't need this for DFSan.
llvm-svn: 188646
Diffstat (limited to 'llvm/unittests/Transforms')
-rw-r--r-- | llvm/unittests/Transforms/Utils/SpecialCaseList.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/unittests/Transforms/Utils/SpecialCaseList.cpp b/llvm/unittests/Transforms/Utils/SpecialCaseList.cpp index 42900b79a26..92a730d5992 100644 --- a/llvm/unittests/Transforms/Utils/SpecialCaseList.cpp +++ b/llvm/unittests/Transforms/Utils/SpecialCaseList.cpp @@ -94,8 +94,6 @@ TEST_F(SpecialCaseListTest, FunctionIsIn) { SCL.reset(makeSpecialCaseList("fun:foo=functional\n")); EXPECT_TRUE(SCL->isIn(*Foo, "functional")); StringRef Category; - EXPECT_TRUE(SCL->findCategory(*Foo, Category)); - EXPECT_EQ("functional", Category); EXPECT_FALSE(SCL->isIn(*Bar, "functional")); } |