aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2008-12-18 05:15:58 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2008-12-18 05:15:58 +0000
commit62b585701d626dec90b0aa0dfd8c2b75ffe29265 (patch)
tree3c7da513290f1fe9442e3fa52ab8a69deceff039
parent3aea8cac3ec9ad03b1d2b002f38a0d42a70483c8 (diff)
Add method used by ImmutableMap GDM specialization.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61193 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Analysis/PathSensitive/GRStateTrait.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/clang/Analysis/PathSensitive/GRStateTrait.h b/include/clang/Analysis/PathSensitive/GRStateTrait.h
index 077b9bcf43..d2d5c624f0 100644
--- a/include/clang/Analysis/PathSensitive/GRStateTrait.h
+++ b/include/clang/Analysis/PathSensitive/GRStateTrait.h
@@ -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);