[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-bugs
Subject:    [llvm-bugs] [Bug 39111] New: -Wextra-semi isn't pedantic enough
From:       via llvm-bugs <llvm-bugs () lists ! llvm ! org>
Date:       2018-09-28 10:38:33
Message-ID: bug-39111-206 () http ! bugs ! llvm ! org/
[Download RAW message or body]

--1538131113.04651.9678
Date: Fri, 28 Sep 2018 03:38:33 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.llvm.org/
Auto-Submitted: auto-generated

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

            Bug ID: 39111
           Summary: -Wextra-semi isn't pedantic enough
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs@nondot.org
          Reporter: lebedev.ri@gmail.com
                CC: llvm-bugs@lists.llvm.org

void test() {}
; // <- extra semi, diagnosed

void test2(int x) {
switch(x){
}
; // <- extra semi, not diagnosed
; // <- extra semi, not diagnosed
}


https://godbolt.org/z/KDRI6Z

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--1538131113.04651.9678
Date: Fri, 28 Sep 2018 03:38:33 -0700
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.llvm.org/
Auto-Submitted: auto-generated

<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - -Wextra-semi isn't pedantic enough"
   href="https://bugs.llvm.org/show_bug.cgi?id=39111">39111</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>-Wextra-semi isn't pedantic enough
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Frontend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs&#64;nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>lebedev.ri&#64;gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs&#64;lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>void test() {}
; // &lt;- extra semi, diagnosed

void test2(int x) {
switch(x){
}
; // &lt;- extra semi, not diagnosed
; // &lt;- extra semi, not diagnosed
}


<a href="https://godbolt.org/z/KDRI6Z">https://godbolt.org/z/KDRI6Z</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>
--1538131113.04651.9678--

[Attachment #3 (text/plain)]

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic