From 62b585701d626dec90b0aa0dfd8c2b75ffe29265 Mon Sep 17 00:00:00 2001 From: Zhongxing Xu Date: Thu, 18 Dec 2008 05:15:58 +0000 Subject: [PATCH] Add method used by ImmutableMap GDM specialization. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61193 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Analysis/PathSensitive/GRStateTrait.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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); -- 2.40.0