[llvm-commits] CVS: llvm/include/llvm/Constants.h
Alkis Evlogimenos
alkis at cs.uiuc.edu
Sat Mar 19 03:40:43 PST 2005
Changes in directory llvm/include/llvm:
Constants.h updated: 1.68 -> 1.69
---
Log message:
Add new function getPtrPtrFromArrayPtr().
---
Diffs of the changes: (+4 -0)
Constants.h | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/include/llvm/Constants.h
diff -u llvm/include/llvm/Constants.h:1.68 llvm/include/llvm/Constants.h:1.69
--- llvm/include/llvm/Constants.h:1.68 Fri Feb 4 20:00:12 2005
+++ llvm/include/llvm/Constants.h Sat Mar 19 05:40:31 2005
@@ -562,6 +562,10 @@
///
static Constant *getSizeOf(const Type *Ty);
+ /// getPtrPtrFromArrayPtr constant expr - given a pointer to a constant array,
+ /// return a pointer to a pointer of the array element type.
+ static Constant *getPtrPtrFromArrayPtr(Constant *C);
+
/// ConstantExpr::get - Return a binary or shift operator constant expression,
/// folding if possible.
///
More information about the llvm-commits
mailing list