[PATCH] D75383: clang: Switch C compilations to C17 by default.

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 28 13:24:16 PST 2020


nickdesaulniers created this revision.
nickdesaulniers added a reviewer: rsmith.
Herald added subscribers: cfe-commits, s.egerton, simoncook, aheejin, dschuff.
Herald added a project: clang.
nickdesaulniers added a comment.

My hope is that we land this with time to soak for the clang-11 release.


Matches GCC 8.1 (2018).

Updates documentation+release notes as well.

See also https://reviews.llvm.org/rL220244.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75383

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75383.247359.patch
Type: text/x-patch
Size: 7749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200228/89db5462/attachment.bin>


More information about the cfe-commits mailing list