From 03c3324ccdedca412a9daaf8c0bfd8167a801990 Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Mon, 19 Aug 2013 00:24:20 +0000 Subject: Remove SpecialCaseList::findCategory. It turned out that I didn't need this for DFSan. llvm-svn: 188646 --- llvm/unittests/Transforms/Utils/SpecialCaseList.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'llvm/unittests/Transforms/Utils') 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")); } -- cgit v1.2.3