[clang] 9d5a8b7 - Fix a missing update that C compiles default to gnu17.
Stephen Hines via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 13 16:36:05 PDT 2020
Author: Stephen Hines
Date: 2020-07-13T16:35:54-07:00
New Revision: 9d5a8b7edb28707879b8e2a37d14a4cf6dbcbefa
URL: https://github.com/llvm/llvm-project/commit/9d5a8b7edb28707879b8e2a37d14a4cf6dbcbefa
DIFF: https://github.com/llvm/llvm-project/commit/9d5a8b7edb28707879b8e2a37d14a4cf6dbcbefa.diff
LOG: Fix a missing update that C compiles default to gnu17.
https://reviews.llvm.org/D75383 switched the C default to gnu17, but
missed this instance.
Differential Revision: https://reviews.llvm.org/D83726
Added:
Modified:
clang/docs/CommandGuide/clang.rst
Removed:
################################################################################
diff --git a/clang/docs/CommandGuide/clang.rst b/clang/docs/CommandGuide/clang.rst
index 5978650c3288..2cca04fb31f1 100644
--- a/clang/docs/CommandGuide/clang.rst
+++ b/clang/docs/CommandGuide/clang.rst
@@ -146,7 +146,7 @@ Language Selection and Mode Options
ISO C 2017 with GNU extensions
- The default C language standard is ``gnu11``, except on PS4, where it is
+ The default C language standard is ``gnu17``, except on PS4, where it is
``gnu99``.
Supported values for the C++ language are:
More information about the cfe-commits
mailing list