@@ -797,6 +797,23 @@ This diagnostic is enabled by default.
797
797
+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
798
798
799
799
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
+
800
817
-Wbitfield-width
801
818
----------------
802
819
This diagnostic is enabled by default.
@@ -833,6 +850,8 @@ This diagnostic is enabled by default.
833
850
834
851
-Wblock-capture-autoreleasing
835
852
-----------------------------
853
+ This diagnostic is enabled by default.
854
+
836
855
**Diagnostic text:**
837
856
838
857
+-----------------------------------------------------------------------------------------------------------------------------+
@@ -2380,7 +2399,7 @@ This diagnostic is enabled by default.
2380
2399
------------
2381
2400
Some of the diagnostics controlled by this flag are enabled by default.
2382
2401
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`_.
2384
2403
2385
2404
**Diagnostic text:**
2386
2405
@@ -2414,6 +2433,17 @@ Also controls `-Wbool-conversion`_, `-Wconstant-conversion`_, `-Wenum-conversion
2414
2433
Synonym for `-Wnull-conversion`_.
2415
2434
2416
2435
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
+
2417
2447
-Wcovered-switch-default
2418
2448
------------------------
2419
2449
**Diagnostic text:**
@@ -4463,6 +4493,8 @@ This diagnostic is enabled by default.
4463
4493
| |+----------------------------------------------------------------------------------------------------------------+|
4464
4494
| ||:diagtext:`classes and enumerations` ||
4465
4495
| |+----------------------------------------------------------------------------------------------------------------+|
4496
+ | ||:diagtext:`named declarations` ||
4497
+ | |+----------------------------------------------------------------------------------------------------------------+|
4466
4498
+------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+
4467
4499
4468
4500
+--------------------------------------------------------------------------------------------------------------------------------------------------------+
@@ -5238,6 +5270,15 @@ This diagnostic is enabled by default.
5238
5270
+------------------------------------------------------------------------------------------------------------------------------------+
5239
5271
5240
5272
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
+
5241
5282
-Winconsistent-missing-override
5242
5283
-------------------------------
5243
5284
This diagnostic is enabled by default.
@@ -6472,6 +6513,14 @@ This diagnostic is enabled by default.
6472
6513
|:remark:`remark:` |nbsp| :diagtext:`finished building module '`:placeholder:`A`:diagtext:`'`|
6473
6514
+--------------------------------------------------------------------------------------------+
6474
6515
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
+
6475
6524
6476
6525
-Wmodule-conflict
6477
6526
-----------------
@@ -6483,6 +6532,10 @@ This diagnostic is enabled by default.
6483
6532
|:warning:`warning:` |nbsp| :diagtext:`module '`:placeholder:`A`:diagtext:`' conflicts with already-imported module '`:placeholder:`B`:diagtext:`':` |nbsp| :placeholder:`C`|
6484
6533
+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
6485
6534
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
+
6486
6539
6487
6540
-Wmodule-file-config-mismatch
6488
6541
-----------------------------
@@ -6556,6 +6609,17 @@ Controls `-Wpessimizing-move`_, `-Wredundant-move`_, `-Wself-move`_.
6556
6609
Synonym for `-Wmicrosoft-include`_.
6557
6610
6558
6611
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
+
6559
6623
-Wmultichar
6560
6624
-----------
6561
6625
This diagnostic is enabled by default.
@@ -7344,6 +7408,23 @@ This diagnostic is enabled by default.
7344
7408
+-------------------------------------------------------------------------------------------------------------------------+
7345
7409
7346
7410
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
+
7347
7428
-Wodr
7348
7429
-----
7349
7430
This diagnostic is enabled by default.
@@ -8844,14 +8925,31 @@ Also controls `-Wshadow-field-in-constructor-modified`_, `-Wshadow-ivar`_.
8844
8925
| |||:diagtext:`field of` |nbsp| :placeholder:`C`| ||
8845
8926
| ||+--------------------------------------------+ ||
8846
8927
| |+-----------------------------------------------------------+|
8928
+ | ||+----------------------------------------------+ ||
8929
+ | |||:diagtext:`typedef in` |nbsp| :placeholder:`C`| ||
8930
+ | ||+----------------------------------------------+ ||
8931
+ | |+-----------------------------------------------------------+|
8932
+ | ||+-------------------------------------------------+ ||
8933
+ | |||:diagtext:`type alias in` |nbsp| :placeholder:`C`| ||
8934
+ | ||+-------------------------------------------------+ ||
8935
+ | |+-----------------------------------------------------------+|
8847
8936
+--------------------------------------------------------------------+-------------------------------------------------------------+
8848
8937
8849
8938
8850
8939
-Wshadow-all
8851
8940
------------
8852
8941
Some of the diagnostics controlled by this flag are enabled by default.
8853
8942
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
+ +------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
8855
8953
8856
8954
8857
8955
-Wshadow-field-in-constructor
@@ -8905,6 +9003,14 @@ This diagnostic is enabled by default.
8905
9003
| |||:diagtext:`field of` |nbsp| :placeholder:`C`| ||
8906
9004
| ||+--------------------------------------------+ ||
8907
9005
| |+-----------------------------------------------------------+|
9006
+ | ||+----------------------------------------------+ ||
9007
+ | |||:diagtext:`typedef in` |nbsp| :placeholder:`C`| ||
9008
+ | ||+----------------------------------------------+ ||
9009
+ | |+-----------------------------------------------------------+|
9010
+ | ||+-------------------------------------------------+ ||
9011
+ | |||:diagtext:`type alias in` |nbsp| :placeholder:`C`| ||
9012
+ | ||+-------------------------------------------------+ ||
9013
+ | |+-----------------------------------------------------------+|
8908
9014
+--------------------------------------------------------------------+-------------------------------------------------------------+
8909
9015
8910
9016
@@ -9057,6 +9163,17 @@ This diagnostic is enabled by default.
9057
9163
+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------+
9058
9164
9059
9165
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
+
9060
9177
-Wsometimes-uninitialized
9061
9178
-------------------------
9062
9179
**Diagnostic text:**
0 commit comments