[llvm-commits] CVS: llvm/include/llvm/Function.h
Chris Lattner
lattner at cs.uiuc.edu
Thu Jan 6 23:40:35 PST 2005
Changes in directory llvm/include/llvm:
Function.h updated: 1.56 -> 1.57
---
Log message:
Add convenience method.
---
Diffs of the changes: (+4 -0)
Index: llvm/include/llvm/Function.h
diff -u llvm/include/llvm/Function.h:1.56 llvm/include/llvm/Function.h:1.57
--- llvm/include/llvm/Function.h:1.56 Sun Dec 5 00:43:16 2004
+++ llvm/include/llvm/Function.h Fri Jan 7 01:40:20 2005
@@ -90,6 +90,10 @@
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
More information about the llvm-commits
mailing list