aboutsummaryrefslogtreecommitdiff
path: root/clang/docs
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2019-01-10 19:12:39 +0000
committerNick Desaulniers <ndesaulniers@google.com>2019-01-10 19:12:39 +0000
commit2383aad540549bcadb40fd006b46d76018db4fa2 (patch)
treee2d14c0ab95fdf5670b3d661ceaba16db88cf655 /clang/docs
parent5ea5231bec86d9ee7af4d503f0ae0dba4bbf68bd (diff)
[SemaCXX] add -Woverride-init alias to -Winitializer-overrides
Summary: https://bugs.llvm.org/show_bug.cgi?id=40251 https://github.com/ClangBuiltLinux/linux/issues/307 Reviewers: rsmith Reviewed By: rsmith Subscribers: cfe-commits, nathanchance, srhines Differential Revision: https://reviews.llvm.org/D56522 llvm-svn: 350877
Diffstat (limited to 'clang/docs')
-rw-r--r--clang/docs/DiagnosticsReference.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/docs/DiagnosticsReference.rst b/clang/docs/DiagnosticsReference.rst
index 94502f9c49ec..e8f754ac857c 100644
--- a/clang/docs/DiagnosticsReference.rst
+++ b/clang/docs/DiagnosticsReference.rst
@@ -7885,6 +7885,10 @@ This diagnostic is enabled by default.
| |+---------------------+|
+-----------------------------------------------------------------------------------------------+-----------------------+
+-Woverride-init
+--------------
+Synonym for `-Winitializer-overrides`_.
+
-Woverride-module
-----------------