diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-08-21 01:40:36 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-08-21 01:40:36 +0000 |
| commit | 37aa0f7ca567128fb00f88ceb4a7c229833f257e (patch) | |
| tree | 17c4d6aad623efe3d7f21e71b10b7b8c92ebdb24 /lib/CodeGen/CodeGenFunction.cpp | |
| parent | e8458342d936c55b69806ea58d4a28bcb7c53d1a (diff) | |
| download | clang-37aa0f7ca567128fb00f88ceb4a7c229833f257e.tar.gz clang-37aa0f7ca567128fb00f88ceb4a7c229833f257e.tar.bz2 clang-37aa0f7ca567128fb00f88ceb4a7c229833f257e.tar.xz | |
If we find an error in the range expression in a range-based for loop, and the
loop variable has a type containing 'auto', set the declaration to be invalid
(because we couldn't deduce its type) to prevent follow-on errors.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188853 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
