[LLVMdev] fix for typo in llvm-c/Core.h

Chris Lattner clattner at apple.com
Fri Jul 10 11:28:31 PDT 2009


On Jul 10, 2009, at 11:03 AM, Peter O'Gorman wrote:

> Is missing a *.

Applied in r75259, thanks!

-Chris

>
> 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);
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list