Skip to content

Commit a9ba002

Browse files
committed
[docs] Regenerate diagnostics reference.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@300271 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 11a09b4 commit a9ba002

File tree

1 file changed

+119
-2
lines changed

1 file changed

+119
-2
lines changed

docs/DiagnosticsReference.rst

+119-2
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,23 @@ This diagnostic is enabled by default.
797797
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
798798

799799

800+
-Wbitfield-enum-conversion
801+
--------------------------
802+
**Diagnostic text:**
803+
804+
+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
805+
|:warning:`warning:` |nbsp| :diagtext:`bit-field` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is not wide enough to store all enumerators of` |nbsp| :placeholder:`B`|
806+
+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
807+
808+
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
809+
|:warning:`warning:` |nbsp| :diagtext:`signed bit-field` |nbsp| :placeholder:`A` |nbsp| :diagtext:`needs an extra bit to represent the largest positive enumerators of` |nbsp| :placeholder:`B`|
810+
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
811+
812+
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
813+
|:warning:`warning:` |nbsp| :diagtext:`assigning value of signed enum type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`to unsigned bit-field` |nbsp| :placeholder:`A`:diagtext:`; negative enumerators of enum` |nbsp| :placeholder:`B` |nbsp| :diagtext:`will be converted to positive values`|
814+
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
815+
816+
800817
-Wbitfield-width
801818
----------------
802819
This diagnostic is enabled by default.
@@ -833,6 +850,8 @@ This diagnostic is enabled by default.
833850

834851
-Wblock-capture-autoreleasing
835852
-----------------------------
853+
This diagnostic is enabled by default.
854+
836855
**Diagnostic text:**
837856

838857
+-----------------------------------------------------------------------------------------------------------------------------+
@@ -2380,7 +2399,7 @@ This diagnostic is enabled by default.
23802399
------------
23812400
Some of the diagnostics controlled by this flag are enabled by default.
23822401

2383-
Also controls `-Wbool-conversion`_, `-Wconstant-conversion`_, `-Wenum-conversion`_, `-Wfloat-conversion`_, `-Wint-conversion`_, `-Wliteral-conversion`_, `-Wnon-literal-null-conversion`_, `-Wnull-conversion`_, `-Wobjc-literal-conversion`_, `-Wshorten-64-to-32`_, `-Wsign-conversion`_, `-Wstring-conversion`_.
2402+
Also controls `-Wbitfield-enum-conversion`_, `-Wbool-conversion`_, `-Wconstant-conversion`_, `-Wenum-conversion`_, `-Wfloat-conversion`_, `-Wint-conversion`_, `-Wliteral-conversion`_, `-Wnon-literal-null-conversion`_, `-Wnull-conversion`_, `-Wobjc-literal-conversion`_, `-Wshorten-64-to-32`_, `-Wsign-conversion`_, `-Wstring-conversion`_.
23842403

23852404
**Diagnostic text:**
23862405

@@ -2414,6 +2433,17 @@ Also controls `-Wbool-conversion`_, `-Wconstant-conversion`_, `-Wenum-conversion
24142433
Synonym for `-Wnull-conversion`_.
24152434

24162435

2436+
-Wcoroutine
2437+
-----------
2438+
This diagnostic is enabled by default.
2439+
2440+
**Diagnostic text:**
2441+
2442+
+-----------------------------------------------------------------------------------------------------------------------------------------------------+
2443+
|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is required to declare the member 'unhandled\_exception()' when exceptions are enabled`|
2444+
+-----------------------------------------------------------------------------------------------------------------------------------------------------+
2445+
2446+
24172447
-Wcovered-switch-default
24182448
------------------------
24192449
**Diagnostic text:**
@@ -4463,6 +4493,8 @@ This diagnostic is enabled by default.
44634493
| |+----------------------------------------------------------------------------------------------------------------+|
44644494
| ||:diagtext:`classes and enumerations` ||
44654495
| |+----------------------------------------------------------------------------------------------------------------+|
4496+
| ||:diagtext:`named declarations` ||
4497+
| |+----------------------------------------------------------------------------------------------------------------+|
44664498
+------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+
44674499

44684500
+--------------------------------------------------------------------------------------------------------------------------------------------------------+
@@ -5238,6 +5270,15 @@ This diagnostic is enabled by default.
52385270
+------------------------------------------------------------------------------------------------------------------------------------+
52395271

52405272

5273+
-Winconsistent-missing-destructor-override
5274+
------------------------------------------
5275+
**Diagnostic text:**
5276+
5277+
+------------------------------------------------------------------------------------------------------------------+
5278+
|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`overrides a destructor but is not marked 'override'`|
5279+
+------------------------------------------------------------------------------------------------------------------+
5280+
5281+
52415282
-Winconsistent-missing-override
52425283
-------------------------------
52435284
This diagnostic is enabled by default.
@@ -6472,6 +6513,14 @@ This diagnostic is enabled by default.
64726513
|:remark:`remark:` |nbsp| :diagtext:`finished building module '`:placeholder:`A`:diagtext:`'`|
64736514
+--------------------------------------------------------------------------------------------+
64746515

6516+
+-----------------------------------------------------------------------------------------------------------------------------------+
6517+
|:remark:`remark:` |nbsp| :diagtext:`could not acquire lock file for module '`:placeholder:`A`:diagtext:`':` |nbsp| :placeholder:`B`|
6518+
+-----------------------------------------------------------------------------------------------------------------------------------+
6519+
6520+
+---------------------------------------------------------------------------------------------------------------------+
6521+
|:remark:`remark:` |nbsp| :diagtext:`timed out waiting to acquire lock file for module '`:placeholder:`A`:diagtext:`'`|
6522+
+---------------------------------------------------------------------------------------------------------------------+
6523+
64756524

64766525
-Wmodule-conflict
64776526
-----------------
@@ -6483,6 +6532,10 @@ This diagnostic is enabled by default.
64836532
|:warning:`warning:` |nbsp| :diagtext:`module '`:placeholder:`A`:diagtext:`' conflicts with already-imported module '`:placeholder:`B`:diagtext:`':` |nbsp| :placeholder:`C`|
64846533
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
64856534

6535+
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
6536+
|:warning:`warning:` |nbsp| :diagtext:`module file '`:placeholder:`A`:diagtext:`' was validated as a system module and is now being imported as a non-system module; any difference in diagnostic options will be ignored`|
6537+
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
6538+
64866539

64876540
-Wmodule-file-config-mismatch
64886541
-----------------------------
@@ -6556,6 +6609,17 @@ Controls `-Wpessimizing-move`_, `-Wredundant-move`_, `-Wself-move`_.
65566609
Synonym for `-Wmicrosoft-include`_.
65576610

65586611

6612+
-Wmsvc-not-found
6613+
----------------
6614+
This diagnostic is enabled by default.
6615+
6616+
**Diagnostic text:**
6617+
6618+
+-------------------------------------------------------------------------------------------------------------------------------------+
6619+
|:warning:`warning:` |nbsp| :diagtext:`unable to find a Visual Studio installation; try running Clang from a developer command prompt`|
6620+
+-------------------------------------------------------------------------------------------------------------------------------------+
6621+
6622+
65596623
-Wmultichar
65606624
-----------
65616625
This diagnostic is enabled by default.
@@ -7344,6 +7408,23 @@ This diagnostic is enabled by default.
73447408
+-------------------------------------------------------------------------------------------------------------------------+
73457409

73467410

7411+
-Wobjc-unsafe-perform-selector
7412+
------------------------------
7413+
This diagnostic is enabled by default.
7414+
7415+
**Diagnostic text:**
7416+
7417+
+-------------------------------------------------------------------------------------------------------------------+--------------------+------------------------+
7418+
|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is incompatible with selectors that return a` |nbsp| |+------------------+| |nbsp| :diagtext:`type`|
7419+
| ||:diagtext:`struct`|| |
7420+
| |+------------------+| |
7421+
| ||:diagtext:`union` || |
7422+
| |+------------------+| |
7423+
| ||:diagtext:`vector`|| |
7424+
| |+------------------+| |
7425+
+-------------------------------------------------------------------------------------------------------------------+--------------------+------------------------+
7426+
7427+
73477428
-Wodr
73487429
-----
73497430
This diagnostic is enabled by default.
@@ -8844,14 +8925,31 @@ Also controls `-Wshadow-field-in-constructor-modified`_, `-Wshadow-ivar`_.
88448925
| |||:diagtext:`field of` |nbsp| :placeholder:`C`| ||
88458926
| ||+--------------------------------------------+ ||
88468927
| |+-----------------------------------------------------------+|
8928+
| ||+----------------------------------------------+ ||
8929+
| |||:diagtext:`typedef in` |nbsp| :placeholder:`C`| ||
8930+
| ||+----------------------------------------------+ ||
8931+
| |+-----------------------------------------------------------+|
8932+
| ||+-------------------------------------------------+ ||
8933+
| |||:diagtext:`type alias in` |nbsp| :placeholder:`C`| ||
8934+
| ||+-------------------------------------------------+ ||
8935+
| |+-----------------------------------------------------------+|
88478936
+--------------------------------------------------------------------+-------------------------------------------------------------+
88488937

88498938

88508939
-Wshadow-all
88518940
------------
88528941
Some of the diagnostics controlled by this flag are enabled by default.
88538942

8854-
Controls `-Wshadow`_, `-Wshadow-field-in-constructor`_, `-Wshadow-uncaptured-local`_.
8943+
Controls `-Wshadow`_, `-Wshadow-field`_, `-Wshadow-field-in-constructor`_, `-Wshadow-uncaptured-local`_.
8944+
8945+
8946+
-Wshadow-field
8947+
--------------
8948+
**Diagnostic text:**
8949+
8950+
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
8951+
|:warning:`warning:` |nbsp| :diagtext:`non-static data member '`:placeholder:`A`:diagtext:`' of '`:placeholder:`B`:diagtext:`' shadows member inherited from type '`:placeholder:`C`:diagtext:`'`|
8952+
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
88558953

88568954

88578955
-Wshadow-field-in-constructor
@@ -8905,6 +9003,14 @@ This diagnostic is enabled by default.
89059003
| |||:diagtext:`field of` |nbsp| :placeholder:`C`| ||
89069004
| ||+--------------------------------------------+ ||
89079005
| |+-----------------------------------------------------------+|
9006+
| ||+----------------------------------------------+ ||
9007+
| |||:diagtext:`typedef in` |nbsp| :placeholder:`C`| ||
9008+
| ||+----------------------------------------------+ ||
9009+
| |+-----------------------------------------------------------+|
9010+
| ||+-------------------------------------------------+ ||
9011+
| |||:diagtext:`type alias in` |nbsp| :placeholder:`C`| ||
9012+
| ||+-------------------------------------------------+ ||
9013+
| |+-----------------------------------------------------------+|
89089014
+--------------------------------------------------------------------+-------------------------------------------------------------+
89099015

89109016

@@ -9057,6 +9163,17 @@ This diagnostic is enabled by default.
90579163
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------+
90589164

90599165

9166+
-Wslash-u-filename
9167+
------------------
9168+
This diagnostic is enabled by default.
9169+
9170+
**Diagnostic text:**
9171+
9172+
+--------------------------------------------------------------------------------------------------+
9173+
|:warning:`warning:` |nbsp| :diagtext:`'/U`:placeholder:`A`:diagtext:`' treated as the '/U' option`|
9174+
+--------------------------------------------------------------------------------------------------+
9175+
9176+
90609177
-Wsometimes-uninitialized
90619178
-------------------------
90629179
**Diagnostic text:**

0 commit comments

Comments
 (0)