RFR: 8253892: Disable misleading-indentation on clang as well as gcc

John Paul Adrian Glaubitz glaubitz at openjdk.java.net
Tue Nov 3 22:38:56 UTC 2020


On Tue, 3 Nov 2020 22:25:08 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> With clang 10.0, the compiler now detects a new class of warnings. The `misleading-indentation` warning has previously been disabled on gcc for hotspot and libfdlibm.  Now we need to disable it for clang as well.

Why do we disable the warning instead of fixing the incorrect indentations?

-------------

PR: https://git.openjdk.java.net/jdk/pull/1044



More information about the build-dev mailing list