aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms/Utils
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 /include/llvm/Transforms/Utils
parent57cf3500a3dec411500737b91e1a3970be488337 (diff)
downloadexternal_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 'include/llvm/Transforms/Utils')
-rw-r--r--include/llvm/Transforms/Utils/SpecialCaseList.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/llvm/Transforms/Utils/SpecialCaseList.h b/include/llvm/Transforms/Utils/SpecialCaseList.h
index bf95ec0..90eace1 100644
--- a/include/llvm/Transforms/Utils/SpecialCaseList.h
+++ b/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;
};