[llvm-bugs] [Bug 34154] New: Typos checker: basic analysis for member initialization

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 11 02:31:23 PDT 2017


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: unassignedclangbugs at nondot.org
          Reporter: lebedev.ri at gmail.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170811/51bd6d06/attachment.html>


More information about the llvm-bugs mailing list