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:
Ted Kremenek 2011-12-13 14:50:33 +00:00
parent d541a4c70d
commit 9f6341d22e
2 changed files with 2 additions and 2 deletions

View File

@ -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?">;
}

View File

@ -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.