>
>
>
> +
> +void CompoundSValData::Profile(llvm::FoldingSetNodeID& ID, QualType T,
> + unsigned N, const SVal* Vals) {
> + T.Profile(ID);
> + ID.AddInteger(N);
> + for (unsigned i = 0; i < N; ++i)
> + Vals[i].Profile(ID);
> +}
>
> You need the QualType in the profile as well, otherwise you might get a
> collision.
>
>
I did. It's in the first line T.Profile(ID).
All others are good suggestions. Thanks.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits