https://bugs.llvm.org/show_bug.cgi?id=34154

            Bug ID: 34154
           Summary: Typos checker: basic analysis for member
                    initialization
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: lebedev...@gmail.com
                CC: llvm-bugs@lists.llvm.org

Sample 1:

class X {};

class Y {
    X a;

public:
    Y(X b) : aa(b) {}
};

Since b has type X, and there is just one variable of type X (that is, a), it
could issue a diagnostic about possible typo.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to