[llvm-bugs] [Bug 47081] New: Avoid doing equality comparisons between floating expressions.(llvm-project/clang/lib/Tooling/ASTDiff/ASTDiff.cpp:line 811)
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Aug 10 00:05:44 PDT 2020
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: unassignedclangbugs at nondot.org
Reporter: info at ustchcs.com
CC: klimek at google.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200810/22b84ffa/attachment.html>
More information about the llvm-bugs
mailing list