This is an archive of the discontinued LLVM Phabricator instance.

[cmake] Disable the -Wmisleading-indentation warning with GCC
ClosedPublic

Authored by mstorsjo on Aug 30 2022, 12:47 AM.

Details

Summary

We do keep using the flag with Clang, which should keep catching
such issues in buildbots.

With GCC, the warning can cause lots of loud notes about the
warning logic getting disabled in large sources.

Diff Detail

Event Timeline

mstorsjo created this revision.Aug 30 2022, 12:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 30 2022, 12:47 AM
mstorsjo requested review of this revision.Aug 30 2022, 12:47 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 30 2022, 12:47 AM
MaskRay accepted this revision.Aug 31 2022, 9:35 AM
This revision is now accepted and ready to land.Aug 31 2022, 9:35 AM