r200004 - Adding a new diagnostics group (-Wattributes) which covers both UnknownAttributes and IgnoredAttributes.
Aaron Ballman
aaron at aaronballman.com
Fri Jan 24 06:16:23 PST 2014
Author: aaronballman
Date: Fri Jan 24 08:16:23 2014
New Revision: 200004
URL: http://llvm.org/viewvc/llvm-project?rev=200004&view=rev
Log:
Adding a new diagnostics group (-Wattributes) which covers both UnknownAttributes and IgnoredAttributes.
Modified:
cfe/trunk/include/clang/Basic/DiagnosticGroups.td
Modified: cfe/trunk/include/clang/Basic/DiagnosticGroups.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticGroups.td?rev=200004&r1=200003&r2=200004&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticGroups.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticGroups.td Fri Jan 24 08:16:23 2014
@@ -340,8 +340,10 @@ def Uninitialized : DiagGroup<"uninitia
def UnknownPragmas : DiagGroup<"unknown-pragmas">;
def UnknownWarningOption : DiagGroup<"unknown-warning-option">;
def NSobjectAttribute : DiagGroup<"NSObject-attribute">;
-def UnknownAttributes : DiagGroup<"attributes">;
+def UnknownAttributes : DiagGroup<"unknown-attributes">;
def IgnoredAttributes : DiagGroup<"ignored-attributes">;
+def Attributes : DiagGroup<"attributes", [UnknownAttributes,
+ IgnoredAttributes]>;
def UnnamedTypeTemplateArgs : DiagGroup<"unnamed-type-template-args",
[CXX98CompatUnnamedTypeTemplateArgs]>;
def UnsupportedFriend : DiagGroup<"unsupported-friend">;
More information about the cfe-commits
mailing list