https://bugs.llvm.org/show_bug.cgi?id=34467
Bug ID: 34467
Summary: llvm/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp
:100: dead code ?
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: dcb...@hotmail.com
CC: llvm-bugs@lists.llvm.org
llvm/tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp:100]: (warning) Opposite
inner 'if' condition leads to a dead code block.
Source code is
for (CallEvent::param_type_iterator I = param_type_begin(),
E = param_type_end();
I != E && Idx < NumOfArgs; ++I, ++Idx) {
if (NumOfArgs <= Idx)
break;
Suggest delete if condition.
--
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