[Lldb-commits] [PATCH] D102092: [lldb] Enable -Wmisleading-indentation
Nico Weber via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Jun 3 12:07:16 PDT 2021
thakis added a comment.
In D102092#2771746 <https://reviews.llvm.org/D102092#2771746>, @kastiglione wrote:
> @thakis thanks for pointing that out. I had tried `-Wall` using the clang included with the latest version of Xcode, and that does not enable `-Wmisleading-indentation`. I see from the compiler explorer that recent clang versions do include misleading indentation diagnostics with `-Wall`. It seems worth keeping in until an Xcode release includes it with `-Wall`.
Thanks for pointing this out, I didn't know Xcode's clang has a different `-Wall` set than normal clang. I agree it makes sense to opt in to this then.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the lldb-commits