https://llvm.org/bugs/show_bug.cgi?id=28403
Bug ID: 28403
Summary: warning: this ‘if’ clause does not guard...
[-Wmisleading-indentation]
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: LLVM assembly language parser
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
While building emscripten, which uses a fork of llvm, I happened to notice the
following warning scroll by:
/home/db48x/src/emsdk_portable/clang/fastcomp/src/lib/MC/MCParser/DarwinAsmParser.cpp:
In member function ‘bool {anonymous}::DarwinAsmParser::parseVersionMin(
llvm::StringRef, llvm::SMLoc)’:
/home/db48x/src/emsdk_portable/clang/fastcomp/src/lib/MC/MCParser/DarwinAsmParser.cpp:932:3:
warning: this ‘if’ clause does not guard... [-Wmisleading-indenta
tion]
if (Update > 255 || Update < 0)
^~
/home/db48x/src/emsdk_portable/clang/fastcomp/src/lib/MC/MCParser/DarwinAsmParser.cpp:934:5:
note: ...this statement, but the latter is misleadingly indented
as if it is guarded by the ‘if’
Lex();
^~~
In the llvm svn repository it's on a slightly different line,
DarwinAsmParser.cpp:962.
--
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