This is an archive of the discontinued LLVM Phabricator instance.

Fix -Wformat warnings reported by GCC.
ClosedPublic

Authored by marxin on Nov 3 2021, 5:54 AM.

Details

Summary

Tested both on x86_64 and i686 with GCC and I verified there are no new warnings when building with Clang.

Diff Detail

Event Timeline

marxin created this revision.Nov 3 2021, 5:54 AM
marxin requested review of this revision.Nov 3 2021, 5:54 AM
marxin added a reviewer: jwakely.
vitalybuka accepted this revision.Nov 3 2021, 12:31 PM

Please clang-format
Maybe you also want to remove COMPILER_RT_HAS_WNO_FORMAT_PEDANTIC, with this patch it's almost clean

compiler-rt/lib/asan/asan_descriptions.cpp
321–322

please format

This revision is now accepted and ready to land.Nov 3 2021, 12:31 PM
marxin updated this revision to Diff 384673.Nov 4 2021, 12:30 AM

Fixed formatting.

marxin marked an inline comment as done.Nov 4 2021, 12:30 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptNov 4 2021, 12:53 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript