[llvm-bugs] [Bug 25998] New: lib/CodeGen/MachineInstr.cpp: 3 * misleading formatting ?
via llvm-bugs
llvm-bugs at lists.llvm.org
Sat Jan 2 04:20:35 PST 2016
https://llvm.org/bugs/show_bug.cgi?id=25998
Bug ID: 25998
Summary: lib/CodeGen/MachineInstr.cpp: 3 * misleading
formatting ?
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: dcb314 at hotmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
1.
/home/dcb/llvm/trunk/llvm/lib/CodeGen/MachineInstr.cpp:1741:31: warning:
statement is indented as if it were guarded by... [-Wmisleading-indentation]
if (!HaveSemi) OS << ";"; HaveSemi = true;
^~~~~~~~
/home/dcb/llvm/trunk/llvm/lib/CodeGen/MachineInstr.cpp:1741:5: note: ...this
‘if’ clause, but it is not
if (!HaveSemi) OS << ";"; HaveSemi = true;
^~
2.
/home/dcb/llvm/trunk/llvm/lib/CodeGen/MachineInstr.cpp:1752:31: warning:
statement is indented as if it were guarded by... [-Wmisleading-indentation]
if (!HaveSemi) OS << ";"; HaveSemi = true;
^~~~~~~~
/home/dcb/llvm/trunk/llvm/lib/CodeGen/MachineInstr.cpp:1752:5: note: ...this
‘if’ clause, but it is not
if (!HaveSemi) OS << ";"; HaveSemi = true;
^~
3.
/home/dcb/llvm/trunk/llvm/lib/CodeGen/MachineInstr.cpp:1765:31: warning:
statement is indented as if it were guarded by... [-Wmisleading-indentation]
if (!HaveSemi) OS << ";"; HaveSemi = true;
^~~~~~~~
/home/dcb/llvm/trunk/llvm/lib/CodeGen/MachineInstr.cpp:1765:5: note: ...this
‘if’ clause, but it is not
if (!HaveSemi) OS << ";"; HaveSemi = true;
^~
--
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/20160102/7f4eb1dd/attachment.html>
More information about the llvm-bugs
mailing list