summaryrefslogtreecommitdiff
path: root/include/llvm/GlobalAlias.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-07-14 18:10:41 +0000
committerChris Lattner <sabre@nondot.org>2011-07-14 18:10:41 +0000
commit6c48244973b3c3286af54dddb98412d2820b26b5 (patch)
treed4ab24372f32bd8a727541d1ec470cd06e812ee8 /include/llvm/GlobalAlias.h
parent791feea10071223886e2fe2bfa0e1f4cb2c0ce74 (diff)
downloadllvm-6c48244973b3c3286af54dddb98412d2820b26b5.tar.gz
llvm-6c48244973b3c3286af54dddb98412d2820b26b5.tar.bz2
llvm-6c48244973b3c3286af54dddb98412d2820b26b5.tar.xz
consolidate GlobalValue::isDeclaration into one
non-virtual function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135163 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/GlobalAlias.h')
-rw-r--r--include/llvm/GlobalAlias.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/llvm/GlobalAlias.h b/include/llvm/GlobalAlias.h
index 66eb11cfd3..c3d3c38bd3 100644
--- a/include/llvm/GlobalAlias.h
+++ b/include/llvm/GlobalAlias.h
@@ -47,11 +47,6 @@ public:
/// Provide fast operand accessors
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Value);
- /// isDeclaration - Is this global variable lacking an initializer? If so,
- /// the global variable is defined in some other translation unit, and is thus
- /// only a declaration here.
- virtual bool isDeclaration() const;
-
/// removeFromParent - This method unlinks 'this' from the containing module,
/// but does not delete it.
///