aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Function.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/Function.h
parent791feea10071223886e2fe2bfa0e1f4cb2c0ce74 (diff)
downloadexternal_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.h6
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