[LLVMbugs] [Bug 12847] New: diagnose typo "this-predicate(param)"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed May 16 04:19:43 PDT 2012


             Bug #: 12847
           Summary: diagnose typo "this-predicate(param)"
           Product: clang
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: ggreif at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 8572
  --> http://llvm.org/bugs/attachment.cgi?id=8572
demo the problem

Attached file shows types of errors that can happen when somebody wants to
write member access pedantically as "this->member()" but commits a typo by
forgetting the ">" after the "-".

Can a warning be emitted in such a case?

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