diff options
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r-- | include/llvm/Function.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h index a540ee3f74..a4545a79ab 100644 --- a/include/llvm/Function.h +++ b/include/llvm/Function.h @@ -90,6 +90,10 @@ public: const Type *getReturnType() const; // Return the type of the ret val const FunctionType *getFunctionType() const; // Return the FunctionType for me + /// isVarArg - Return true if this function takes a variable number of + /// arguments. + bool isVarArg() const; + /// isExternal - Is the body of this function unknown? (The basic block list /// is empty if so.) This is true for external functions, defined as forward /// "declare"ations |