File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -408,7 +408,8 @@ def warn_pp_macro_is_reserved_id : Warning<
408408 "macro name is a reserved identifier">, DefaultIgnore,
409409 InGroup<ReservedIdAsMacro>;
410410def warn_pp_macro_is_reserved_attribute_id : Warning<
411- "%0 is a reserved attribute identifier">, InGroup<ReservedAttributeIdentifier>;
411+ "%0 is a reserved attribute identifier">, DefaultIgnore,
412+ InGroup<ReservedAttributeIdentifier>;
412413def warn_pp_objc_macro_redef_ignored : Warning<
413414 "ignoring redefinition of Objective-C qualifier macro">,
414415 InGroup<DiagGroup<"objc-macro-redefinition">>;
Original file line number Diff line number Diff line change 1- // RUN: %clang_cc1 -triple x86_64-linux-gnu -std=c++11 -fsyntax-only -verify -pedantic %s -DTEST1
2- // RUN: %clang_cc1 -triple x86_64-linux-gnu -std=c++11 -fsyntax-only -verify -pedantic %s -DTEST2
3- // RUN: %clang_cc1 -triple x86_64-linux-gnu -std=c++11 -fsyntax-only -verify -pedantic %s -DTEST3
4- // RUN: %clang_cc1 -triple x86_64-linux-gnu -std=c++11 -fsyntax-only -verify -pedantic %s -DTEST4
1+ // RUN: %clang_cc1 -triple x86_64-linux-gnu -std=c++11 -Wreserved-attribute-identifier - fsyntax-only -verify %s -DTEST1
2+ // RUN: %clang_cc1 -triple x86_64-linux-gnu -std=c++11 -Wreserved-attribute-identifier - fsyntax-only -verify %s -DTEST2
3+ // RUN: %clang_cc1 -triple x86_64-linux-gnu -std=c++11 -Wreserved-attribute-identifier - fsyntax-only -verify %s -DTEST3
4+ // RUN: %clang_cc1 -triple x86_64-linux-gnu -std=c++11 -Wreserved-attribute-identifier - fsyntax-only -verify %s -DTEST4
55
66#ifdef TEST1
77
You can’t perform that action at this time.
0 commit comments