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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index 4c0e0ec523..87e6bad48a 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -85,7 +85,7 @@ public:
/// is empty if so) this is true for external functions, defined as forward
/// "declare"ations
///
- bool isExternal() const { return BasicBlocks.empty(); }
+ virtual bool isExternal() const { return BasicBlocks.empty(); }
// getNext/Prev - Return the next or previous function in the list. These
// methods should never be used directly, and are only used to implement the