llvm-project/clang-tools-extra/test
Edwin Vane fa58b26a50 Stop LoopConvert removing DeclStmts from selection/iteration condition clauses
If the LoopConvert Transform detects an alias for the loop variable, it
attempts to use that name in the resulting range-based for loop while removing
the original DeclStmt for the variable. That removal produced bad code when the
declaration was in the condition of an if, switch, while, or for stmt. This
revision fixes the problem by simply replacing the declaration with a use of
the alias variable.

llvm-svn: 181242
2013-05-06 20:01:43 +00:00
..
Unit Add support to read include/exclude paths from file 2013-05-02 19:02:02 +00:00
cpp11-migrate Stop LoopConvert removing DeclStmts from selection/iteration condition clauses 2013-05-06 20:01:43 +00:00
modularize modularize - revised to group duplicate symbols together in the error output. 2013-03-28 01:20:19 +00:00
remove-cstr-calls test/remove-cstr-calls/basic.cpp: Disable again on mingw. It behaves unstable. 2013-01-26 06:39:48 +00:00
CMakeLists.txt Unit test support for Clang extra tools 2013-04-03 15:11:08 +00:00
Makefile Unit test support for Clang extra tools 2013-04-03 15:11:08 +00:00
lit.cfg Revised per review comments to rename test files and rearrange input files. 2013-03-26 18:17:28 +00:00
lit.site.cfg.in Switch from autogenerating tests to using the preprocessor. 2013-03-07 10:09:47 +00:00