diff options
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r-- | include/llvm/Function.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index 4dd791ec21..e77ddfaccd 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -21,6 +21,7 @@ #include "llvm/GlobalValue.h" #include "llvm/BasicBlock.h" #include "llvm/Argument.h" +#include "Support/Annotation.h" namespace llvm { @@ -44,7 +45,7 @@ template<> struct ilist_traits<Argument> static iplist<Argument> &getList(Function *F); }; -class Function : public GlobalValue { +class Function : public GlobalValue, public Annotable { public: typedef iplist<Argument> ArgumentListType; typedef iplist<BasicBlock> BasicBlockListType; |