Remove dead code.
authorEric Christopher <echristo@gmail.com>
Wed, 24 Jul 2013 01:38:05 +0000 (01:38 +0000)
committerEric Christopher <echristo@gmail.com>
Wed, 24 Jul 2013 01:38:05 +0000 (01:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187017 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/DebugInfo.h
lib/IR/DebugInfo.cpp

index 689b3ddfd1ffe400889544be94935de602882f7b..ae7bf049444df8f3ef3accb7e55842e7b05cf510 100644 (file)
@@ -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;
index 4b72bf39c03a505e68ab2224cff55765fff4bb50..f0593450ee1a91badda24c625dff9ac5dcdd4429 100644 (file)
@@ -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 {