summaryrefslogtreecommitdiff
path: root/include/llvm/Function.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r--include/llvm/Function.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index 349dd61a84..59849c637a 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -54,8 +54,8 @@ public:
const MethodType *getMethodType() const;
// Is the body of this method unknown? (the basic block list is empty if so)
- // this is true for "extern"al methods.
- bool isMethodExternal() const { return BasicBlocks.empty(); }
+ // this is true for external methods, defined as forward "declare"ations
+ bool isExternal() const { return BasicBlocks.empty(); }
// Get the class structure that this method is contained inside of...