https://llvm.org/bugs/show_bug.cgi?id=27288
Bug ID: 27288
Summary: llvm/tools/clang/lib/StaticAnalyzer/Checkers/IvarInval
idationChecker.cpp:585]: (style) Redundant condition
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
llvm/tools/clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp:585]:
(style) Redundant condition: InvalidationMethod. '!A || (A && B)' is equivalent
to '!A || B'
Source code is
if (!InvalidationMethod ||
(InvalidationMethod && I->second.hasMethod(InvalidationMethod)))
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs