Skip to content

Commit 9f6341d

Browse files
committed
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
1 parent d541a4c commit 9f6341d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/include/clang/Basic/DiagnosticParseKinds.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ def err_objc_unknown_at : Error<"expected an Objective-C directive after '@'">;
323323
def err_illegal_super_cast : Error<
324324
"cannot cast 'super' (it isn't an expression)">;
325325

326-
let CategoryName = "Automatic Reference Counting Issue" in {
326+
let CategoryName = "ARC Parse Issue" in {
327327
def err_arc_bridge_retain : Error<
328328
"unknown cast annotation __bridge_retain; did you mean __bridge_retained?">;
329329
}

clang/include/clang/Basic/DiagnosticSemaKinds.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3059,7 +3059,7 @@ def ext_flexible_array_empty_aggregate_gnu : Extension<
30593059
def ext_flexible_array_union_gnu : Extension<
30603060
"flexible array member %0 in a union is a GNU extension">, InGroup<GNU>;
30613061

3062-
let CategoryName = "ARC Issue" in {
3062+
let CategoryName = "ARC Semantic Issue" in {
30633063

30643064
// ARC-mode diagnostics.
30653065

0 commit comments

Comments
 (0)