aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-07-24 01:38:05 +0000
committerEric Christopher <echristo@gmail.com>2013-07-24 01:38:05 +0000
commit167153080bb192dc7ecb58ea41093c85a7d6a84f (patch)
tree03bd7b40da0a84183ff867dca858645060e20189
parent3894b572287f8047c638e826311ea17d2cba1e8d (diff)
downloadexternal_llvm-167153080bb192dc7ecb58ea41093c85a7d6a84f.zip
external_llvm-167153080bb192dc7ecb58ea41093c85a7d6a84f.tar.gz
external_llvm-167153080bb192dc7ecb58ea41093c85a7d6a84f.tar.bz2
Remove dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187017 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/DebugInfo.h1
-rw-r--r--lib/IR/DebugInfo.cpp5
2 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/DebugInfo.h b/include/llvm/DebugInfo.h
index 689b3dd..ae7bf04 100644
--- a/include/llvm/DebugInfo.h
+++ b/include/llvm/DebugInfo.h
@@ -129,7 +129,6 @@ namespace llvm {
bool isSubrange() const;
bool isEnumerator() const;
bool isType() const;
- bool isGlobal() const;
bool isUnspecifiedParameter() const;
bool isTemplateTypeParameter() const;
bool isTemplateValueParameter() const;
diff --git a/lib/IR/DebugInfo.cpp b/lib/IR/DebugInfo.cpp
index 4b72bf3..f059345 100644
--- a/lib/IR/DebugInfo.cpp
+++ b/lib/IR/DebugInfo.cpp
@@ -231,11 +231,6 @@ bool DIDescriptor::isGlobalVariable() const {
getTag() == dwarf::DW_TAG_constant);
}
-/// isGlobal - Return true if the specified tag is legal for DIGlobal.
-bool DIDescriptor::isGlobal() const {
- return isGlobalVariable();
-}
-
/// isUnspecifiedParmeter - Return true if the specified tag is
/// DW_TAG_unspecified_parameters.
bool DIDescriptor::isUnspecifiedParameter() const {