[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cfe-commits
Subject:    [cfe-commits] r60152 -
From:       Zhongxing Xu <xuzhongxing () gmail ! com>
Date:       2008-11-27 6:32:54
Message-ID: 200811270632.mAR6WsPw006868 () zion ! cs ! uiuc ! edu
[Download RAW message or body]

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) {


_______________________________________________
cfe-commits mailing list
cfe-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic