CFG generation is expected to fail in this case, but it should not crash.
Also added a test that reproduces the crash.
Paths
| Differential D21895
CFGBuilder: Fix crash when visiting a range-based for over a dependent type ClosedPublic Authored by mboehme on Jun 30 2016, 7:58 AM.
Details Summary CFG generation is expected to fail in this case, but it should not crash. Also added a test that reproduces the crash.
Diff Detail
Event Timeline
mboehme marked an inline comment as done. This revision is now accepted and ready to land.Jul 6 2016, 2:49 AM Closed by commit rL274834: CFGBuilder: Fix crash when visiting a range-based for over a dependent type (authored by alexfh). · Explain WhyJul 8 2016, 3:58 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 63194 cfe/trunk/lib/Analysis/CFG.cpp
cfe/trunk/unittests/Analysis/CFGTest.cpp
cfe/trunk/unittests/Analysis/CMakeLists.txt
cfe/trunk/unittests/CMakeLists.txt
|