[cfe-commits] r169581 - /cfe/trunk/lib/StaticAnalyzer/Core/RegionStore.cpp

Ted Kremenek kremenek at apple.com
Thu Dec 6 22:00:39 PST 2012


Thanks David!

On Dec 6, 2012, at 7:28 PM, David Blaikie <dblaikie at gmail.com> wrote:

> Author: dblaikie
> Date: Thu Dec  6 21:28:20 2012
> New Revision: 169581
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=169581&view=rev
> Log:
> Unbreak the GCC (4.4 & other bot) builds from r169571.
> 
> Modified:
>    cfe/trunk/lib/StaticAnalyzer/Core/RegionStore.cpp
> 
> Modified: cfe/trunk/lib/StaticAnalyzer/Core/RegionStore.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Core/RegionStore.cpp?rev=169581&r1=169580&r2=169581&view=diff
> ==============================================================================
> --- cfe/trunk/lib/StaticAnalyzer/Core/RegionStore.cpp (original)
> +++ cfe/trunk/lib/StaticAnalyzer/Core/RegionStore.cpp Thu Dec  6 21:28:20 2012
> @@ -147,10 +147,12 @@
>   RegionBindingsRef(ClusterBindings::Factory &CBFactory,
>                     const RegionBindings::TreeTy *T,
>                     RegionBindings::TreeTy::Factory *F)
> -    : ImmutableMapRef(T, F), CBFactory(CBFactory) {}
> +    : llvm::ImmutableMapRef<const MemRegion *, ClusterBindings>(T, F),
> +      CBFactory(CBFactory) {}
> 
>   RegionBindingsRef(const ParentTy &P, ClusterBindings::Factory &CBFactory)
> -    : ImmutableMapRef(P), CBFactory(CBFactory) {}
> +    : llvm::ImmutableMapRef<const MemRegion *, ClusterBindings>(P),
> +      CBFactory(CBFactory) {}
> 
>   RegionBindingsRef add(key_type_ref K, data_type_ref D) {
>     return RegionBindingsRef(static_cast<ParentTy*>(this)->add(K, D),
> 
> 
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits




More information about the cfe-commits mailing list