[cfe-commits] r60152 - /cfe/trunk/include/clang/Analysis/PathSensitive/GRStateTrait.h

Zhongxing Xu xuzhongxing at gmail.com
Wed Nov 26 22:32:54 PST 2008


Author: zhongxingxu
Date: Thu Nov 27 00:32:54 2008
New Revision: 60152

URL: http://llvm.org/viewvc/llvm-project?rev=60152&view=rev
Log:
ImmutableList::getInternalPointer() returns a const ImmutableListImpl<T>* pointer, which must be converted to void* explicitly.

Modified:
    cfe/trunk/include/clang/Analysis/PathSensitive/GRStateTrait.h

Modified: cfe/trunk/include/clang/Analysis/PathSensitive/GRStateTrait.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Analysis/PathSensitive/GRStateTrait.h?rev=60152&r1=60151&r2=60152&view=diff

==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/GRStateTrait.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/GRStateTrait.h Thu Nov 27 00:32:54 2008
@@ -80,7 +80,7 @@
     }  
     
     static inline void* MakeVoidPtr(data_type D) {
-      return D.getInternalPointer();
+      return  (void*) D.getInternalPointer();
     }  
     
     static inline context_type MakeContext(void* p) {





More information about the cfe-commits mailing list