[PATCH] D21895: CFGBuilder: Fix crash when visiting a range-based for over a dependent type

Martin Böhme via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 30 07:58:14 PDT 2016


mboehme created this revision.
mboehme added a reviewer: klimek.
mboehme added a subscriber: cfe-commits.

CFG generation is expected to fail in this case, but it should not crash.

Also added a test that reproduces the crash.

http://reviews.llvm.org/D21895

Files:
  lib/Analysis/CFG.cpp
  unittests/Analysis/CFGTest.cpp
  unittests/Analysis/CMakeLists.txt
  unittests/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21895.62362.patch
Type: text/x-patch
Size: 3223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160630/a633c350/attachment.bin>


More information about the cfe-commits mailing list