llvm-project/clang/test/CXX/stmt.stmt
Sam Panzer 0f38443616 Better diagnostics for range-based for loops with bad range types.
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
2012-08-21 00:52:01 +00:00
..
stmt.ambig Support decltype as a simple-type-specifier. 2012-01-24 05:47:35 +00:00
stmt.dcl Add -Wc++98-compat diagnostics for jumps which bypass initialization of non-POD 2011-10-20 21:42:12 +00:00
stmt.iter/stmt.ranged Better diagnostics for range-based for loops with bad range types. 2012-08-21 00:52:01 +00:00
stmt.label Step #1/N of implementing support for __label__: split labels into 2011-02-17 07:39:24 +00:00
stmt.select constexpr: converted constant expression handling for enumerator values, case 2012-01-18 23:55:52 +00:00