diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-09 23:11:33 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-09 23:11:33 +0000 |
commit | 4bbd839d10b14cd9028896800faa892e9d8ce3a3 (patch) | |
tree | 23ed99be35c45d537182f4c8d3793080f8b069ae /include/llvm/Function.h | |
parent | e3dcf2ea7041246148ccceb87522f876dbc18554 (diff) |
Make isExtern() be a virtual function inherited from GlobalValue
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4101 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r-- | include/llvm/Function.h | 2 |
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 |