This is an archive of the discontinued LLVM Phabricator instance.

A non-principled fix of the symptom.
AbandonedPublic

Authored by klimek on Apr 28 2014, 8:18 AM.

Details

Reviewers
None
Summary

Fixing the asserts for static temporary destructors...

Diff Detail

Event Timeline

klimek updated this revision to Diff 8889.Apr 28 2014, 8:18 AM
klimek retitled this revision from to A non-principled fix of the symptom..
klimek updated this object.
klimek edited the test plan for this revision. (Show Details)
alexmc added a subscriber: alexmc.Apr 28 2014, 8:32 AM

Thanks Manuel!

lib/StaticAnalyzer/Core/ExprEngine.cpp
1383

Could you please add a comment explaining what this does (handle blocks that only have a terminator, which are constructed for temporary object handling by VisitBinaryOperatorForTemporaryDtors)?

1389

Could you add an assert message (or comment) explaining what's happened when this assert fires? This is still somewhat mysterious to me.

klimek abandoned this revision.May 23 2014, 11:47 PM