forked from Barro/compiler-warnings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwarnings-toplevelonly-clang-3.2.txt
292 lines (292 loc) · 19.7 KB
/
warnings-toplevelonly-clang-3.2.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
-W <<<NONE>>>
# -Wextra Extra
# -Wignored-qualifiers IgnoredQualifiers
# -Winitializer-overrides InitializerOverrides
# -Wmissing-field-initializers MissingFieldInitializers
# -Wmissing-method-return-type MissingMethodReturnType
# -Wsemicolon-before-method-body SemiBeforeMethodBody
# -Wsign-compare SignCompare
# -Wunused-parameter UnusedParameter
-W#pragma-messages PoundPragmaMessage
-W#warnings PoundWarning
-WNSObject-attribute NSobjectAttribute
-Wabi <<<NONE>>>
-Wabstract-final-class AbstractFinalClass
-Waddress <<<NONE>>>
-Waddress-of-temporary AddressOfTemporary
-Waggregate-return <<<NONE>>>
-Wall <<<NONE>>>
# -Wmost Most
# -Wcast-of-sel-type SelTypeCast
# -Wchar-subscripts CharSubscript
# -Wcomment Comment
# -Wdelete-non-virtual-dtor DeleteNonVirtualDtor
# -Wformat Format
# -Wformat-extra-args FormatExtraArgs
# -Wformat-invalid-specifier FormatInvalidSpecifier
# -Wformat-security FormatSecurity
# -Wformat-y2k FormatY2K
# -Wformat-zero-length FormatZeroLength
# -Wnonnull NonNull
# -Wimplicit Implicit
# -Wimplicit-function-declaration ImplicitFunctionDeclare
# -Wimplicit-int ImplicitInt
# -Wint-to-pointer-cast IntToPointerCast
# -Wmismatched-tags MismatchedTags
# -Wmissing-braces MissingBraces
# -Wmultichar MultiChar
# -Wobjc-missing-super-calls ObjCMissingSuperCalls
# -Woverloaded-virtual OverloadedVirtual
# -Wprivate-extern PrivateExtern
# -Wreorder Reorder
# -Wreturn-type ReturnType
# -Wreturn-type-c-linkage ReturnTypeCLinkage
# -Wself-assign SelfAssignment
# -Wself-assign-field SelfAssignmentField
# -Wsizeof-array-argument SizeofArrayArgument
# -Wstring-plus-int StringPlusInt
# -Wtrigraphs Trigraphs
# -Wuninitialized Uninitialized
# -Wsometimes-uninitialized UninitializedSometimes
# -Wunknown-pragmas UnknownPragmas
# -Wunused Unused
# -Wunused-argument UnusedArgument
# -Wunused-function UnusedFunction
# -Wunneeded-internal-declaration UnneededInternalDecl
# -Wunused-label UnusedLabel
# -Wunused-private-field UnusedPrivateField
# -Wunused-value UnusedValue
# -Wunused-comparison UnusedComparison
# -Wunused-result UnusedResult
# -Wunused-variable UnusedVariable
# -Wvolatile-register-var VolatileRegisterVar
# -Wparentheses Parentheses
# -Wbitwise-op-parentheses BitwiseOpParentheses
# -Wdangling-else DanglingElse
# -Wlogical-op-parentheses LogicalOpParentheses
# -Wparentheses-equality ParenthesesOnEquality
# -Wshift-op-parentheses ShiftOpParentheses
# -Wswitch Switch
-Wambiguous-macro AmbiguousMacro
-Wambiguous-member-template AmbigMemberTemplate
-Warc AutomaticReferenceCounting
# -Warc-non-pod-memaccess ARCNonPodMemAccess
# -Warc-retain-cycles ARCRetainCycles
# -Warc-unsafe-retained-assign ARCUnsafeRetainedAssign
-Warc-abi <<<NONE>>>
-Warc-repeated-use-of-weak ARCRepeatedUseOfWeak
# -Warc-maybe-repeated-use-of-weak ARCRepeatedUseOfWeakMaybe
-Wasm ASM
# -Wasm-operand-widths ASMOperandWidths
-Watomic-properties AtomicProperties
# -Wcustom-atomic-properties CustomAtomic
# -Wimplicit-atomic-properties ImplicitAtomic
-Wattributes UnknownAttributes
-Wauto-import AutoImport
-Wavailability Availability
-Wbad-function-cast BadFunctionCast
-Wbind-to-temporary-copy BindToTemporaryCopy
# -Wc++98-compat-bind-to-temporary-copy CXX98CompatBindToTemporaryCopy
-Wbool-conversions <<<NONE>>>
# -Wbool-conversion BoolConversion
-Wbuiltin-requires-header BuiltinRequiresHeader
-Wc++-compat CXXCompat
-Wc++0x-compat <<<NONE>>>
# -Wc++11-compat CXX11Compat
# -Wc++11-compat-reserved-user-defined-literal CXX11CompatReservedUserDefinedLiteral
# -Wc++11-narrowing CXX11Narrowing
-Wc++0x-extensions <<<NONE>>>
# -Wc++11-extensions CXX11
# -Wc++11-extra-semi CXX11ExtraSemi
# -Wc++11-long-long CXX11LongLong
-Wc++0x-narrowing <<<NONE>>>
# -Wc++11-narrowing CXX11Narrowing
-Wc++98-compat-pedantic CXX98CompatPedantic
# -Wc++98-compat CXX98Compat
# -Wc++98-compat-bind-to-temporary-copy CXX98CompatBindToTemporaryCopy
# -Wc++98-compat-local-type-template-args CXX98CompatLocalTypeTemplateArgs
# -Wc++98-compat-unnamed-type-template-args CXX98CompatUnnamedTypeTemplateArgs
-Wc11-extensions C11
-Wc99-extensions C99
-Wcast-align CastAlign
-Wcast-qual <<<NONE>>>
-Wchar-align <<<NONE>>>
-Wcomments <<<NONE>>>
# -Wcomment Comment
-Wcompare-distinct-pointer-types CompareDistinctPointerType
-Wconditional-uninitialized UninitializedMaybe
-Wconversion-null <<<NONE>>>
# -Wnull-conversion NullConversion
-Wcovered-switch-default CoveredSwitchDefault
-Wctor-dtor-privacy <<<NONE>>>
-Wdefault-arg-special-member DefaultArgSpecialMember
-Wdelegating-ctor-cycles DelegatingCtorCycles
-Wdeprecated Deprecated
# -Wdeprecated-declarations DeprecatedDeclarations
-Wdeprecated-implementations DeprecatedImplementations
-Wdisabled-optimization <<<NONE>>>
-Wdiscard-qual <<<NONE>>>
-Wdiv-by-zero <<<NONE>>>
-Wdivision-by-zero DivZero
-Wdocumentation Documentation
# -Wdocumentation-deprecated-sync DocumentationDeprecatedSync
# -Wdocumentation-html DocumentationHTML
-Wdocumentation-pedantic DocumentationPedantic
-Wduplicate-decl-specifier DuplicateDeclSpecifier
-Wduplicate-method-arg DuplicateArgDecl
-Wduplicate-method-match MethodDuplicate
-Weffc++ <<<NONE>>>
-Wempty-body EmptyBody
-Wendif-labels <<<NONE>>>
# -Wextra-tokens ExtraTokens
-Wexit-time-destructors ExitTimeDestructors
-Wextra-semi ExtraSemi
# -Wc++11-extra-semi CXX11ExtraSemi
-Wflexible-array-extensions FlexibleArrayExtensions
-Wformat-non-iso FormatNonStandard
-Wformat=2 Format2
# -Wformat-nonliteral FormatNonLiteral
# -Wformat-security FormatSecurity
# -Wformat-security FormatSecurity
# -Wformat-y2k FormatY2K
-Wfour-char-constants FourByteMultiChar
-Wgcc-compat GccCompat
-Wglobal-constructors GlobalConstructors
-Wgnu GNU
# -Wgnu-designator GNUDesignator
# -Wvla VLA
# -Wzero-length-array ZeroLengthArray
-Wheader-hygiene HeaderHygiene
-Wignored-attributes IgnoredAttributes
-Wimplicit-conversion-floating-point-to-bool ImplicitConversionFloatingPointToBool
-Wimplicit-fallthrough ImplicitFallthrough
# -Wimplicit-fallthrough-per-function ImplicitFallthroughPerFunction
-Wimport <<<NONE>>>
-Wincompatible-pointer-types IncompatiblePointerTypes
-Wincomplete-umbrella IncompleteUmbrella
-Winit-self <<<NONE>>>
-Winline <<<NONE>>>
-Wint-conversions <<<NONE>>>
# -Wint-conversion IntConversion
-Winvalid-offsetof InvalidOffsetof
-Winvalid-pch <<<NONE>>>
-Winvalid-pp-token InvalidPPToken
-Wknr-promoted-parameter KNRPromotedParameter
-Wlambda-extensions LambdaExtensions
-Wlarge-by-value-copy LargeByValueCopy
-Wlocal-type-template-args LocalTypeTemplateArgs
# -Wc++98-compat-local-type-template-args CXX98CompatLocalTypeTemplateArgs
-Wlong-long LongLong
# -Wc++11-long-long CXX11LongLong
-Wmain Main
-Wmain-return-type MainReturnType
-Wmalformed-warning-check MalformedWarningCheck
-Wmicrosoft Microsoft
-Wmismatched-parameter-types MismatchedParameterTypes
-Wmismatched-return-types MismatchedReturnTypes
-Wmissing-declarations MissingDeclarations
-Wmissing-format-attribute <<<NONE>>>
-Wmissing-include-dirs <<<NONE>>>
-Wmodule-build ModuleBuild
-Wnarrowing <<<NONE>>>
# -Wc++11-narrowing CXX11Narrowing
-Wnested-externs <<<NONE>>>
-Wnon-gcc NonGCC
# -Wconversion Conversion
# -Wbool-conversion BoolConversion
# -Wconstant-conversion ConstantConversion
# -Wenum-conversion EnumConversion
# -Wint-conversion IntConversion
# -Wliteral-conversion LiteralConversion
# -Wnon-literal-null-conversion NonLiteralNullConversion
# -Wnull-conversion NullConversion
# -Wshorten-64-to-32 Shorten64To32
# -Wsign-conversion SignConversion
# -Wstring-conversion StringConversion
# -Wliteral-range LiteralRange
# -Wsign-compare SignCompare
-Wnon-virtual-dtor NonVirtualDtor
-Wnonportable-cfstrings <<<NONE>>>
-Wnull-character NullCharacter
-Wnull-dereference NullDereference
-Wobjc-cocoa-api ObjCCocoaAPI
# -Wobjc-redundant-api-use ObjCRedundantAPIUse
# -Wobjc-redundant-literal-use ObjCRedundantLiteralUse
-Wobjc-literal-compare ObjCLiteralComparison
# -Wobjc-string-compare ObjCStringComparison
-Wobjc-method-access MethodAccess
-Wobjc-noncopy-retain-block-property ObjCRetainBlockProperty
-Wobjc-nonunified-exceptions ObjCNonUnifiedException
-Wobjc-property-implementation ObjCPropertyImpl
-Wobjc-property-no-attribute ObjCPropertyNoAttribute
-Wobjc-protocol-method-implementation ObjCProtocolMethodImpl
-Wobjc-readonly-with-setter-property ObjCReadonlyPropertyHasSetter
-Wobjc-root-class ObjCRootClass
-Wold-style-cast <<<NONE>>>
-Wold-style-definition <<<NONE>>>
-Wout-of-line-declaration OutOfLineDeclaration
-Wover-aligned OveralignedType
-Woverflow <<<NONE>>>
-Woverlength-strings OverlengthStrings
-Woverriding-method-mismatch OverridingMethodMismatch
-Wpacked Packed
-Wpadded Padded
-Wpedantic Pedantic
-Wpointer-arith PointerArith
-Wpointer-to-int-cast <<<NONE>>>
-Wprotocol Protocol
-Wreadonly-setter-attrs ReadOnlySetterAttrs
-Wreceiver-expr ObjCReceiver
-Wreceiver-forward-class ForwardClassReceiver
-Wredundant-decls <<<NONE>>>
-Wreserved-user-defined-literal ReservedUserDefinedLiteral
# -Wc++11-compat-reserved-user-defined-literal CXX11CompatReservedUserDefinedLiteral
-Wsection Section
-Wselector Selector
-Wsentinel Sentinel
-Wsequence-point <<<NONE>>>
-Wshadow Shadow
-Wsign-promo <<<NONE>>>
-Wstack-protector <<<NONE>>>
-Wstrict-aliasing <<<NONE>>>
-Wstrict-aliasing=0 <<<NONE>>>
-Wstrict-aliasing=1 <<<NONE>>>
-Wstrict-aliasing=2 <<<NONE>>>
-Wstrict-overflow <<<NONE>>>
-Wstrict-overflow=0 <<<NONE>>>
-Wstrict-overflow=1 <<<NONE>>>
-Wstrict-overflow=2 <<<NONE>>>
-Wstrict-overflow=3 <<<NONE>>>
-Wstrict-overflow=4 <<<NONE>>>
-Wstrict-overflow=5 <<<NONE>>>
-Wstrict-prototypes <<<NONE>>>
-Wstrict-selector-match StrictSelector
-Wstrncat-size StrncatSize
-Wsuper-class-method-mismatch SuperSubClassMismatch
-Wswitch-default <<<NONE>>>
-Wswitch-enum SwitchEnum
-Wsynth <<<NONE>>>
-Wtautological-compare TautologicalCompare
# -Wtautological-constant-out-of-range-compare TautologicalOutOfRangeCompare
-Wthread-safety ThreadSafety
# -Wthread-safety-analysis ThreadSafetyAnalysis
# -Wthread-safety-attributes ThreadSafetyAttributes
# -Wthread-safety-precise ThreadSafetyPrecise
-Wtype-limits <<<NONE>>>
-Wtype-safety TypeSafety
-Wundeclared-selector UndeclaredSelector
-Wunicode Unicode
-Wunnamed-type-template-args UnnamedTypeTemplateArgs
# -Wc++98-compat-unnamed-type-template-args CXX98CompatUnnamedTypeTemplateArgs
-Wunused-exception-parameter UnusedExceptionParameter
-Wunused-member-function UnusedMemberFunction
# -Wunneeded-member-function UnneededMemberFunction
-Wused-but-marked-unused UsedButMarkedUnused
-Wuser-defined-literals UserDefinedLiterals
-Wvariadic-macros VariadicMacros
-Wvector-conversions <<<NONE>>>
# -Wvector-conversion VectorConversion
-Wvexing-parse VexingParse
-Wvisibility Visibility
-Wwrite-strings GCCWriteStrings
# -Wdeprecated-writable-strings DeprecatedWritableStr