From: Zhongxing Xu Date: Thu, 18 Dec 2008 05:15:58 +0000 (+0000) Subject: Add method used by ImmutableMap GDM specialization. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=62b585701d626dec90b0aa0dfd8c2b75ffe29265;p=clang Add method used by ImmutableMap GDM specialization. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61193 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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);