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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


$ 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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to