]> granicus.if.org Git - clang/commitdiff
Add method used by ImmutableMap GDM specialization.
authorZhongxing Xu <xuzhongxing@gmail.com>
Thu, 18 Dec 2008 05:15:58 +0000 (05:15 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Thu, 18 Dec 2008 05:15:58 +0000 (05:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61193 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Analysis/PathSensitive/GRStateTrait.h

index 077b9bcf438413074e5a4885a6d3914af745891a..d2d5c624f0babe2e5284764560f754680ec947c5 100644 (file)
@@ -83,7 +83,11 @@ namespace clang {
 
     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);