<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 - apiModeling.google.GTest check has assertion 'op == BO_Add' failed"
   href="https://bugs.llvm.org/show_bug.cgi?id=34305">34305</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>apiModeling.google.GTest check has assertion 'op == BO_Add' failed
          </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>All
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Static Analyzer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>kremenek@apple.com
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>chh@google.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=19037" name="attach_19037" title="test script and preprocessed file">attachment 19037</a> <a href="attachment.cgi?id=19037&action=edit" title="test script and preprocessed file">[details]</a></span>
test script and preprocessed file

The attached gtest.zip contains a test case that
shows an assertion failure triggered by the
analyzer apiModeling.google.GTest check.

To reproduce the problem:
(1) build clang-tidy with assertion check.
(2) run the run.sh script.


The assertion failure is:

clang-tidy: .../llvm/tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp:406:
clang::ento::SVal
clang::ento::SValBuilder::evalBinOp(clang::ento::ProgramStateRef,
clang::BinaryOperator::Opcode, clang::ento::SVal, clang::ento::SVal,
clang::QualType): Assertion `op == BO_Add' failed.</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>