forked from OSchip/llvm-project
Tweak ARC diagnostic categories and rename 'Automatic Reference Counting Issue' to 'ARC Parse Issue' and 'ARC Issue' to 'ARC Semantic Issue'. Patch by Jean-Daniel Dupas.
llvm-svn: 146483
This commit is contained in:
parent
d541a4c70d
commit
9f6341d22e
|
@ -323,7 +323,7 @@ def err_objc_unknown_at : Error<"expected an Objective-C directive after '@'">;
|
|||
def err_illegal_super_cast : Error<
|
||||
"cannot cast 'super' (it isn't an expression)">;
|
||||
|
||||
let CategoryName = "Automatic Reference Counting Issue" in {
|
||||
let CategoryName = "ARC Parse Issue" in {
|
||||
def err_arc_bridge_retain : Error<
|
||||
"unknown cast annotation __bridge_retain; did you mean __bridge_retained?">;
|
||||
}
|
||||
|
|
|
@ -3059,7 +3059,7 @@ def ext_flexible_array_empty_aggregate_gnu : Extension<
|
|||
def ext_flexible_array_union_gnu : Extension<
|
||||
"flexible array member %0 in a union is a GNU extension">, InGroup<GNU>;
|
||||
|
||||
let CategoryName = "ARC Issue" in {
|
||||
let CategoryName = "ARC Semantic Issue" in {
|
||||
|
||||
// ARC-mode diagnostics.
|
||||
|
||||
|
|
Loading…
Reference in New Issue