OLD | NEW |
1 //==--- DiagnosticGroups.td - Diagnostic Group Definitions ----------------===// | 1 //==--- DiagnosticGroups.td - Diagnostic Group Definitions ----------------===// |
2 // | 2 // |
3 // The LLVM Compiler Infrastructure | 3 // The LLVM Compiler Infrastructure |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 | 9 |
10 def ImplicitFunctionDeclare : DiagGroup<"implicit-function-declaration">; | 10 def ImplicitFunctionDeclare : DiagGroup<"implicit-function-declaration">; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 def Deprecated : DiagGroup<"deprecated", [ DeprecatedDeclarations] >, | 61 def Deprecated : DiagGroup<"deprecated", [ DeprecatedDeclarations] >, |
62 DiagCategory<"Deprecations">; | 62 DiagCategory<"Deprecations">; |
63 | 63 |
64 def DeprecatedImplementations :DiagGroup<"deprecated-implementations">; | 64 def DeprecatedImplementations :DiagGroup<"deprecated-implementations">; |
65 | 65 |
66 def : DiagGroup<"disabled-optimization">; | 66 def : DiagGroup<"disabled-optimization">; |
67 def : DiagGroup<"discard-qual">; | 67 def : DiagGroup<"discard-qual">; |
68 def : DiagGroup<"div-by-zero">; | 68 def : DiagGroup<"div-by-zero">; |
69 | 69 |
70 def DocumentationHTML : DiagGroup<"documentation-html">; | 70 def DocumentationHTML : DiagGroup<"documentation-html">; |
71 def DocumentationUnknownCommand : DiagGroup<"documentation-unknown-command">; | 71 def DocumentationPedantic : DiagGroup<"documentation-pedantic">; |
72 def DocumentationPedantic : DiagGroup<"documentation-pedantic", | |
73 [DocumentationUnknownCommand]>; | |
74 def DocumentationDeprecatedSync : DiagGroup<"documentation-deprecated-sync">; | 72 def DocumentationDeprecatedSync : DiagGroup<"documentation-deprecated-sync">; |
75 def Documentation : DiagGroup<"documentation", | 73 def Documentation : DiagGroup<"documentation", |
76 [DocumentationHTML, | 74 [DocumentationHTML, |
77 DocumentationDeprecatedSync]>; | 75 DocumentationDeprecatedSync]>; |
78 | 76 |
79 def EmptyBody : DiagGroup<"empty-body">; | 77 def EmptyBody : DiagGroup<"empty-body">; |
80 def ExtraTokens : DiagGroup<"extra-tokens">; | 78 def ExtraTokens : DiagGroup<"extra-tokens">; |
81 def CXX11ExtraSemi : DiagGroup<"c++11-extra-semi">; | 79 def CXX11ExtraSemi : DiagGroup<"c++11-extra-semi">; |
82 def ExtraSemi : DiagGroup<"extra-semi", [CXX11ExtraSemi]>; | 80 def ExtraSemi : DiagGroup<"extra-semi", [CXX11ExtraSemi]>; |
83 | 81 |
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 ]>; | 535 ]>; |
538 | 536 |
539 // Inline ASM warnings. | 537 // Inline ASM warnings. |
540 def ASMOperandWidths : DiagGroup<"asm-operand-widths">; | 538 def ASMOperandWidths : DiagGroup<"asm-operand-widths">; |
541 def ASM : DiagGroup<"asm", [ | 539 def ASM : DiagGroup<"asm", [ |
542 ASMOperandWidths | 540 ASMOperandWidths |
543 ]>; | 541 ]>; |
544 | 542 |
545 // OpenMP warnings. | 543 // OpenMP warnings. |
546 def SourceUsesOpenMP : DiagGroup<"source-uses-openmp">; | 544 def SourceUsesOpenMP : DiagGroup<"source-uses-openmp">; |
OLD | NEW |