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

            Bug ID: 47081
           Summary: Avoid doing equality comparisons between floating
                    expressions.(llvm-project/clang/lib/Tooling/ASTDiff/AS
                    TDiff.cpp:line 811)
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: libclang
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

Avoid doing equality comparisons between floating expressions.

commit e3546c78cabfbf670391a57766872f0a8e28a423

llvm-project/clang/lib/Tooling/ASTDiff/ASTDiff.cpp:line 811

   810    assert(Denominator >= 0 && "Expected non-negative denominator.");
   811    if (Denominator == 0)
   812      return 0;
   813    return CommonDescendants / Denominator;
   814  }

Reported by: Ustchcs Toolsets Bugfinder
(bugfinder-5.15: Avoid doing equality comparisons between floating
expressions.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to