[PATCH] D21895: CFGBuilder: Fix crash when visiting a range-based for over a dependent type
Manuel Klimek via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 30 08:08:03 PDT 2016
klimek added inline comments.
================
Comment at: unittests/Analysis/CFGTest.cpp:49
@@ +48,3 @@
+ std::vector<std::string> Args = {"-std=c++11"};
+ ASSERT_TRUE(tooling::runToolOnCodeWithArgs(Factory->create(), Code, Args));
+}
----------------
I think we want to assert that we at least found func once with a body.
http://reviews.llvm.org/D21895
More information about the cfe-commits
mailing list