[cfe-commits] r61193 - /cfe/trunk/include/clang/Analysis/PathSensitive/GRStateTrait.h
Zhongxing Xu
xuzhongxing at gmail.com
Wed Dec 17 21:16:06 PST 2008
Author: zhongxingxu
Date: Wed Dec 17 23:15:58 2008
New Revision: 61193
URL: http://llvm.org/viewvc/llvm-project?rev=61193&view=rev
Log:
Add method used by ImmutableMap GDM specialization.
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=61193&r1=61192&r2=61193&view=diff
==============================================================================
--- cfe/trunk/include/clang/Analysis/PathSensitive/GRStateTrait.h (original)
+++ cfe/trunk/include/clang/Analysis/PathSensitive/GRStateTrait.h Wed Dec 17 23:15:58 2008
@@ -83,7 +83,11 @@
static inline void* MakeVoidPtr(data_type B) {
return B.getRoot();
- }
+ }
+
+ static data_type Add(data_type B, key_type K, context_type F) {
+ return F.Add(B, K);
+ }
static data_type Remove(data_type B, key_type K, context_type F) {
return F.Remove(B, K);
More information about the cfe-commits
mailing list