Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
clang/include/clang/Basic/DiagnosticGroups.td
Show First 20 Lines • Show All 557 Lines • ▼ Show 20 Lines | |||||
def ObjCFlexibleArray : DiagGroup<"objc-flexible-array">; | def ObjCFlexibleArray : DiagGroup<"objc-flexible-array">; | ||||
def ObjCBoxing : DiagGroup<"objc-boxing">; | def ObjCBoxing : DiagGroup<"objc-boxing">; | ||||
def CompletionHandler : DiagGroup<"completion-handler">; | def CompletionHandler : DiagGroup<"completion-handler">; | ||||
def CalledOnceParameter : DiagGroup<"called-once-parameter", [CompletionHandler]>; | def CalledOnceParameter : DiagGroup<"called-once-parameter", [CompletionHandler]>; | ||||
def OpenCLUnsupportedRGBA: DiagGroup<"opencl-unsupported-rgba">; | def OpenCLUnsupportedRGBA: DiagGroup<"opencl-unsupported-rgba">; | ||||
def UnderalignedExceptionObject : DiagGroup<"underaligned-exception-object">; | def UnderalignedExceptionObject : DiagGroup<"underaligned-exception-object">; | ||||
def DeprecatedObjCIsaUsage : DiagGroup<"deprecated-objc-isa-usage">; | def DeprecatedObjCIsaUsage : DiagGroup<"deprecated-objc-isa-usage">; | ||||
def ExplicitInitializeCall : DiagGroup<"explicit-initialize-call">; | def ExplicitInitializeCall : DiagGroup<"explicit-initialize-call">; | ||||
def OrderedCompareFunctionPointers : DiagGroup<"ordered-compare-function-pointers">; | def OrderedCompareFunctionPointers : DiagGroup<"ordered-compare-function-pointers">; | ||||
def CompareFunctionPointers : DiagGroup<"compare-function-pointers", [OrderedCompareFunctionPointers]>; | |||||
aaron.ballman: Should `-Wcompare-function-pointers` enable `-Wordered-compare-function-pointers`? I think I… | |||||
Makes sense, and it also fixes the issue of raising both this warning and -Wordered-compare-function-pointers on the same line. Will update. adriandole: Makes sense, and it also fixes the issue of raising both this warning and `-Wordered-compare… | |||||
def PackedNonPod : DiagGroup<"packed-non-pod">; | def PackedNonPod : DiagGroup<"packed-non-pod">; | ||||
def Packed : DiagGroup<"packed", [PackedNonPod]>; | def Packed : DiagGroup<"packed", [PackedNonPod]>; | ||||
def Padded : DiagGroup<"padded">; | def Padded : DiagGroup<"padded">; | ||||
def UnalignedAccess : DiagGroup<"unaligned-access">; | def UnalignedAccess : DiagGroup<"unaligned-access">; | ||||
def PessimizingMove : DiagGroup<"pessimizing-move">; | def PessimizingMove : DiagGroup<"pessimizing-move">; | ||||
def ReturnStdMove : DiagGroup<"return-std-move">; | def ReturnStdMove : DiagGroup<"return-std-move">; | ||||
▲ Show 20 Lines • Show All 826 Lines • Show Last 20 Lines |
Should -Wcompare-function-pointers enable -Wordered-compare-function-pointers? I think I would normally assume such a relationship as the ordered variant sounds like a subset of the unordered variant.