summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm/Transforms/Utils/SpecialCaseList.h
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/include/llvm/Transforms/Utils/SpecialCaseList.h
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/include/llvm/Transforms/Utils/SpecialCaseList.h')
-rw-r--r--llvm/include/llvm/Transforms/Utils/SpecialCaseList.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/llvm/include/llvm/Transforms/Utils/SpecialCaseList.h b/llvm/include/llvm/Transforms/Utils/SpecialCaseList.h
index bf95ec02b9c..90eace1aa04 100644
--- a/llvm/include/llvm/Transforms/Utils/SpecialCaseList.h
+++ b/llvm/include/llvm/Transforms/Utils/SpecialCaseList.h
@@ -83,20 +83,6 @@ class SpecialCaseList {
/// omitted to search the empty category.
bool isIn(const Module &M, const StringRef Category = StringRef()) const;
- /// Returns whether either this function or its source file are listed in any
- /// category. Category will contain the name of an arbitrary category in
- /// which this function is listed.
- bool findCategory(const Function &F, StringRef &Category) const;
-
- /// Returns whether this global, its type or its source file are listed in any
- /// category. Category will contain the name of an arbitrary category in
- /// which this global is listed.
- bool findCategory(const GlobalVariable &G, StringRef &Category) const;
-
- /// Returns whether this module is listed in any category. Category will
- /// contain the name of an arbitrary category in which this module is listed.
- bool findCategory(const Module &M, StringRef &Category) const;
-
private:
SpecialCaseList(SpecialCaseList const &) LLVM_DELETED_FUNCTION;
SpecialCaseList &operator=(SpecialCaseList const &) LLVM_DELETED_FUNCTION;
@@ -108,8 +94,6 @@ class SpecialCaseList {
/// Parses just-constructed SpecialCaseList entries from a memory buffer.
bool parse(const MemoryBuffer *MB, std::string &Error);
- bool findCategory(const StringRef Section, const StringRef Query,
- StringRef &Category) const;
bool inSectionCategory(const StringRef Section, const StringRef Query,
const StringRef Category) const;
};
OpenPOWER on IntegriCloud