diff options
author | Chris Lattner <sabre@nondot.org> | 2011-07-14 18:10:41 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-07-14 18:10:41 +0000 |
commit | 6c48244973b3c3286af54dddb98412d2820b26b5 (patch) | |
tree | d4ab24372f32bd8a727541d1ec470cd06e812ee8 /include/llvm/GlobalValue.h | |
parent | 791feea10071223886e2fe2bfa0e1f4cb2c0ce74 (diff) | |
download | external_llvm-6c48244973b3c3286af54dddb98412d2820b26b5.zip external_llvm-6c48244973b3c3286af54dddb98412d2820b26b5.tar.gz external_llvm-6c48244973b3c3286af54dddb98412d2820b26b5.tar.bz2 |
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/GlobalValue.h')
-rw-r--r-- | include/llvm/GlobalValue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/GlobalValue.h b/include/llvm/GlobalValue.h index 69995e1..d77a4db 100644 --- a/include/llvm/GlobalValue.h +++ b/include/llvm/GlobalValue.h @@ -266,8 +266,8 @@ public: virtual void destroyConstant(); /// isDeclaration - Return true if the primary definition of this global - /// value is outside of the current translation unit... - virtual bool isDeclaration() const = 0; + /// value is outside of the current translation unit. + bool isDeclaration() const; /// removeFromParent - This method unlinks 'this' from the containing module, /// but does not delete it. |