summaryrefslogtreecommitdiffstats
path: root/clang
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
commit6437a9eaf66bc513b368a1d86d337c548255525e (patch)
tree778c7755e08490568f5f0f9279c73cde7241555c /clang
parent9ae0afdcd6d46824a034bf4a74b53a857b593a4e (diff)
downloadbcm5719-llvm-6437a9eaf66bc513b368a1d86d337c548255525e.tar.gz
bcm5719-llvm-6437a9eaf66bc513b368a1d86d337c548255525e.zip
Add method used by ImmutableMap GDM specialization.
llvm-svn: 61193
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/Analysis/PathSensitive/GRStateTrait.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/clang/include/clang/Analysis/PathSensitive/GRStateTrait.h b/clang/include/clang/Analysis/PathSensitive/GRStateTrait.h
index 077b9bcf438..d2d5c624f0b 100644
--- a/clang/include/clang/Analysis/PathSensitive/GRStateTrait.h
+++ b/clang/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);
OpenPOWER on IntegriCloud