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 | 353149ea2f8d4d3bf1ec82e90f80154c6959d56e (patch) | |
tree | ee70f1cfdc82e0684269d0f469f5f96587a76fa8 /unittests | |
parent | 57cf3500a3dec411500737b91e1a3970be488337 (diff) | |
download | external_llvm-353149ea2f8d4d3bf1ec82e90f80154c6959d56e.zip external_llvm-353149ea2f8d4d3bf1ec82e90f80154c6959d56e.tar.gz external_llvm-353149ea2f8d4d3bf1ec82e90f80154c6959d56e.tar.bz2 |
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.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/unittests/Transforms/Utils/SpecialCaseList.cpp b/unittests/Transforms/Utils/SpecialCaseList.cpp index 42900b7..92a730d 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")); } |