Go to file
Edwin Vane 61af48ce4e Improve loop convert's variable aliasing
Loop convert's variable name aliasing may cause issues if the variable is
declared as a value (copy). The converted loop will declare the variable as a
reference which may inadvertently cause modifications to the container if it
were used and modified as a temporary copy.

This is fixed by preserving the reference or value qualifiers of the aliased
variable. That is, if the variable was declared as a value the loop variable
will also be declared as a value and similarly for references.

Fixes: PR15600
Author: Jack Yang <jack.yang@intel.com>
llvm-svn: 178485
2013-04-01 18:15:06 +00:00
clang Cleanup. No functional change intended. 2013-04-01 17:58:03 +00:00
clang-tools-extra Improve loop convert's variable aliasing 2013-04-01 18:15:06 +00:00
compiler-rt [sanitizer] More interceptors. 2013-04-01 14:47:21 +00:00
debuginfo-tests Remove IR scenario tests. 2013-03-15 20:52:10 +00:00
libclc Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
libcxx Test case was forming the wrong limits when size_t != unsigned long. 2013-03-29 21:22:22 +00:00
libcxxabi Bruce Mitchener: Typo fixes. 2013-02-15 15:48:49 +00:00
lld [ELF][Hexagon] Create .got.plt entries with the appropriate alignment 2013-04-01 15:14:34 +00:00
lldb Integrating option parsing in TestCase for added convenience 2013-04-01 18:02:25 +00:00
llvm Correct assertion condition 2013-04-01 18:13:05 +00:00
polly RegisterPasses: Improve comments 2013-03-23 21:35:52 +00:00