summaryrefslogtreecommitdiff
path: root/unittests
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
commit353149ea2f8d4d3bf1ec82e90f80154c6959d56e (patch)
treeee70f1cfdc82e0684269d0f469f5f96587a76fa8 /unittests
parent57cf3500a3dec411500737b91e1a3970be488337 (diff)
downloadllvm-353149ea2f8d4d3bf1ec82e90f80154c6959d56e.tar.gz
llvm-353149ea2f8d4d3bf1ec82e90f80154c6959d56e.tar.bz2
llvm-353149ea2f8d4d3bf1ec82e90f80154c6959d56e.tar.xz
Remove SpecialCaseList::findCategory.
It turned out that I didn't need this for DFSan. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Transforms/Utils/SpecialCaseList.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/unittests/Transforms/Utils/SpecialCaseList.cpp b/unittests/Transforms/Utils/SpecialCaseList.cpp
index 42900b79a2..92a730d599 100644
--- a/unittests/Transforms/Utils/SpecialCaseList.cpp
+++ b/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"));
}