gcc doesn't handle -Wmisleading-indentation correctly, leading to
warnings when using gcc. See
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81334 for details. This
change disables -Wmisleading-indentation to avoid warnings when using
gcc, and leaves it enabled for other compilers. This can be re-enabled
when gcc behaves as expected.
Details
Details
- Reviewers
MaskRay
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Consider using CHECK_CXX_SOURCE_COMPILES to check the GCC issue.
Also, please add a gcc.gnu.org/PRxxx comment.
Comment Actions
(Thanks for taking a look at this - saw a bunch of those notes about misleading indentation on a recent gcc build)