Matches GCC 8.1 (2018).
Updates documentation+release notes as well.
See also https://reviews.llvm.org/rL220244.
Paths
| Differential D75383
clang: Switch C compilations to C17 by default. ClosedPublic Authored by nickdesaulniers on Feb 28 2020, 1:18 PM.
Details Summary Matches GCC 8.1 (2018). Updates documentation+release notes as well. See also https://reviews.llvm.org/rL220244.
Diff Detail
Event TimelineComment Actions LGTM -- C17 is C11 with bugfixes, so this seems like a sensible change, especially for compatibility with GCC. This revision is now accepted and ready to land.Feb 28 2020, 1:34 PM Comment Actions Looks good. Please consider updating the Clang 10 release notes to indicate that we intend to change the default in Clang 11. Comment Actions
Closed by commit rG91cdbd521a38: clang: Switch C compilations to C17 by default. (authored by nickdesaulniers). · Explain WhyMar 2 2020, 9:55 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 247680 clang/docs/ReleaseNotes.rst
clang/docs/UsersManual.rst
clang/lib/Frontend/CompilerInvocation.cpp
clang/test/Preprocessor/init-aarch64.c
clang/test/Preprocessor/init.c
clang/www/compatibility.html
|