[LLVMbugs] [Bug 11737] typo correction applied to implicit begin/end calls in for-range statement

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jan 25 13:14:09 PST 2012


Kaelyn Uhrain <rikka at google.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |rikka at google.com
         Resolution|                            |FIXED

--- Comment #1 from Kaelyn Uhrain <rikka at google.com> 2012-01-25 15:14:09 CST ---
A fix to suppress typo correction for synthesized function calls such as the
'begin' and 'end' in a for-range statement has been committed as r148979. For
the example "struct S{}; bool begun(S); void f() { for (auto i : S()) {} }":

<stdin>:1:51: error: use of undeclared identifier 'begin'
struct S{}; bool begun(S); void f() { for (auto i : S()) {} }
<stdin>:1:51: note: range has type 'S'
1 error generated.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list