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/Function.h | |
parent | 791feea10071223886e2fe2bfa0e1f4cb2c0ce74 (diff) | |
download | external_llvm-6c48244973b3c3286af54dddb98412d2820b26b5.tar.gz external_llvm-6c48244973b3c3286af54dddb98412d2820b26b5.tar.bz2 external_llvm-6c48244973b3c3286af54dddb98412d2820b26b5.zip |
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/Function.h')
-rw-r--r-- | include/llvm/Function.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index 093f8b5e8a..0aa5b2a9fa 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -139,12 +139,6 @@ public: /// arguments. bool isVarArg() const; - /// isDeclaration - Is the body of this function unknown? (The basic block - /// list is empty if so.) This is true for function declarations, but not - /// true for function definitions. - /// - virtual bool isDeclaration() const { return BasicBlocks.empty(); } - /// getIntrinsicID - This method returns the ID number of the specified /// function, or Intrinsic::not_intrinsic if the function is not an /// instrinsic, or if the pointer is null. This value is always defined to be |