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

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 10 14:50:16 PST 2012


http://llvm.org/bugs/show_bug.cgi?id=11737

             Bug #: 11737
           Summary: typo correction applied to implicit begin/end calls in
                    for-range statement
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++0x
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: richard-llvm at metafoo.co.uk
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


struct S{}; bool begun(S); void f() { for (auto i : S()) {} }

<stdin>:1:51: error: use of undeclared identifier 'begin'; did you mean
'begun'?
struct S{}; bool begun(S); void f() { for (auto i : S()) {} }
                                                  ^
                                                  begun
<stdin>:1:18: note: 'begun' declared here
struct S{}; bool begun(S); void f() { for (auto i : S()) {} }
                 ^

-- 
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