[PATCH] D60808: [analyzer] pr41335: NoStoreFuncVisitor: Fix crash when no-store event is in a body-farmed function.
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 18 13:52:10 PDT 2019
NoQ updated this revision to Diff 195810.
NoQ added a comment.
This revision is now accepted and ready to land.
Don't canonicalize the decl in the body farm. The decl supplied by the AnalysisDeclContext is already the correct one (and not necessarily the canonical one).
Keep the defensive behavior for NoStoreFuncVisitor because it's generally the right thing to do for future-proofness.
CHANGES SINCE LAST ACTION
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5501 bytes
Desc: not available
More information about the cfe-commits