[LLVMbugs] [Bug 9029] New: No typo correction after new

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jan 23 00:09:11 PST 2011


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

           Summary: No typo correction after new
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: clattner at apple.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


$ cat t.cc 

class MyClassIsReallyCool {};

void foo() {
  new myClassIsReallyCool();
}
$ clang t.cc 
t.cc:5:7: error: expected a type
  new myClassIsReallyCool();
      ^

This should say "did you mean..." and recover.

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