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

            Bug ID: 34305
           Summary: apiModeling.google.GTest check has assertion 'op ==
                    BO_Add' failed
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Static Analyzer
          Assignee: kreme...@apple.com
          Reporter: c...@google.com
                CC: llvm-bugs@lists.llvm.org

Created attachment 19037
  --> https://bugs.llvm.org/attachment.cgi?id=19037&action=edit
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.

-- 
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