[LLVMdev] fix for typo in llvm-c/Core.h
Peter O'Gorman
peter at pogma.com
Fri Jul 10 11:03:28 PDT 2009
Is missing a *.
Peter
--
Peter O'Gorman
http://pogma.com
Index: include/llvm-c/Core.h
===================================================================
--- include/llvm-c/Core.h (revision 75249)
+++ include/llvm-c/Core.h (working copy)
@@ -853,7 +853,7 @@
template<typename T>
inline T **unwrap(LLVMValueRef *Vals, unsigned Length) {
#if DEBUG
- for (LLVMValueRef *I = Vals, E = Vals + Length; I != E; ++I)
+ for (LLVMValueRef *I = Vals, *E = Vals + Length; I != E; ++I)
cast<T>(*I);
#endif
return reinterpret_cast<T**>(Vals);
More information about the llvm-dev
mailing list