summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Transforms
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-08-19 00:24:20 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-08-19 00:24:20 +0000
commit03c3324ccdedca412a9daaf8c0bfd8167a801990 (patch)
tree015f76dffd88402ea89a3c3d4bcb0aaca965e50a /llvm/unittests/Transforms
parent048b8834162fda436cdf092b3a7643c3d342e90c (diff)
downloadbcm5719-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.cpp2
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"));
}
OpenPOWER on IntegriCloud