[cfe-commits] r163027 - /cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td

Richard Trieu rtrieu at google.com
Fri Aug 31 15:03:03 PDT 2012


Author: rtrieu
Date: Fri Aug 31 17:03:03 2012
New Revision: 163027

URL: http://llvm.org/viewvc/llvm-project?rev=163027&view=rev
Log:
Update a warning to point to the DiagGroup created in DiagnosticGroups.td
instead of referring to the flag name.

Modified:
    cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td

Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=163027&r1=163026&r2=163027&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Fri Aug 31 17:03:03 2012
@@ -3384,7 +3384,7 @@
 
 def warn_missing_braces : Warning<
   "suggest braces around initialization of subobject">,
-  InGroup<DiagGroup<"missing-braces">>, DefaultIgnore;
+  InGroup<MissingBraces>, DefaultIgnore;
 def err_missing_braces : Error<
   "cannot omit braces around initialization of subobject when using direct "
   "list-initialization">;





More information about the cfe-commits mailing list