Skip to content
Commit 3249fed9 authored by Richard Smith's avatar Richard Smith
Browse files

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.

llvm-svn: 188853
parent 84a0ae74
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment