forked from OSchip/llvm-project
0f38443616
The old error message stating that 'begin' was an undeclared identifier is replaced with a new message explaining that the error is in the range expression, along with which of the begin() and end() functions was problematic if relevant. Additionally, if the range was a pointer type or defines operator*, attempt to dereference the range, and offer a FixIt if the modified range works. llvm-svn: 162248 |
||
---|---|---|
.. | ||
stmt.ambig | ||
stmt.dcl | ||
stmt.iter/stmt.ranged | ||
stmt.label | ||
stmt.select |