This is an archive of the discontinued LLVM Phabricator instance.

Fix a missing update that C compiles default to gnu17.
ClosedPublic

Authored by srhines on Jul 13 2020, 3:43 PM.

Details

Summary

https://reviews.llvm.org/D75383 switched the C default to gnu17, but
missed this instance.

Diff Detail

Event Timeline

srhines created this revision.Jul 13 2020, 3:43 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2020, 3:43 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
nickdesaulniers accepted this revision.Jul 13 2020, 3:50 PM

bah!

$ find . -name \*.rst | xargs grep -n gnu11
./clang/docs/UsersManual.rst:2462:The supported modes for C are c89, gnu89, c99, gnu99, c11, gnu11, c17, gnu17,
./clang/docs/CommandGuide/clang.rst:136:  | ``gnu11``
./clang/docs/CommandGuide/clang.rst:149: The default C language standard is ``gnu11``, except on PS4, where it is
./clang/docs/ReleaseNotes.rst:165:  upgraded from gnu11 to gnu17.
./clang/docs/LanguageExtensions.rst:1019:features are enabled with the ``-std=c11`` or ``-std=gnu11`` option when

Thanks for cleaning up my mess. The rest of these instance look fine to me.

This revision is now accepted and ready to land.Jul 13 2020, 3:50 PM
This revision was automatically updated to reflect the committed changes.