Make isExtern() be a virtual function inherited from GlobalValue
[oota-llvm.git] / include / llvm / Function.h
index 4c0e0ec5235c52f9ee46441bd56b2ffd3f5690bd..87e6bad48a330608c252493690a1d16fe16159af 100644 (file)
@@ -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