<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:vsk@apple.com" title="Vedant Kumar <vsk@apple.com>"> <span class="fn">Vedant Kumar</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - llvm-cov: Wrong coverage with partially uncovered nested macros"
   href="https://bugs.llvm.org/show_bug.cgi?id=34237">bug 34237</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - llvm-cov: Wrong coverage with partially uncovered nested macros"
   href="https://bugs.llvm.org/show_bug.cgi?id=34237#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - llvm-cov: Wrong coverage with partially uncovered nested macros"
   href="https://bugs.llvm.org/show_bug.cgi?id=34237">bug 34237</a>
              from <span class="vcard"><a class="email" href="mailto:vsk@apple.com" title="Vedant Kumar <vsk@apple.com>"> <span class="fn">Vedant Kumar</span></a>
</span></b>
        <pre>Yes, this was fixed in r312818. PR36086 is unrelated; it's an issue in clang.
The clang frontend is able to constant-fold away some expressions and when this
happens, the effect of the expression is not always reflected in the coverage
mapping. In some cases this can be fixed by emitting counter updates even when
an expression is constant-folded. I'm not sure what would be required to
support constexpr.</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>