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: unassignedb...@nondot.org
          Reporter: dcb...@hotmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to