[cfe-commits] r152071 - in /cfe/trunk/include/clang/Basic: DiagnosticGroups.td DiagnosticSemaKinds.td
Fariborz Jahanian
fjahanian at apple.com
Mon Mar 5 15:38:41 PST 2012
Author: fjahanian
Date: Mon Mar 5 17:38:41 2012
New Revision: 152071
URL: http://llvm.org/viewvc/llvm-project?rev=152071&view=rev
Log:
Minor refactoring for previous patch for // rdar://10735698
Modified:
cfe/trunk/include/clang/Basic/DiagnosticGroups.td
cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
Modified: cfe/trunk/include/clang/Basic/DiagnosticGroups.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticGroups.td?rev=152071&r1=152070&r2=152071&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticGroups.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticGroups.td Mon Mar 5 17:38:41 2012
@@ -134,6 +134,7 @@
def ObjCPropertyImpl : DiagGroup<"objc-property-implementation">;
def ObjCMissingSuperCalls : DiagGroup<"objc-missing-super-calls">;
def ObjCRetainBlockProperty : DiagGroup<"objc-noncopy-retain-block-property">;
+def BlockMissingReturnType : DiagGroup<"block-missing-explicit-return-type">;
def ObjCReadonlyPropertyHasSetter : DiagGroup<"objc-readonly-with-setter-property">;
def Packed : DiagGroup<"packed">;
def Padded : DiagGroup<"padded">;
Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=152071&r1=152070&r2=152071&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Mon Mar 5 17:38:41 2012
@@ -4955,8 +4955,7 @@
"block cannot return %select{array|function}0 type %1">;
def warn_block_missing_return_type : Warning<
"block literal is missing explicit return type and "
- "returns non-void values">,
- InGroup<DiagGroup<"block-missing-explicit-return-type">>, DefaultIgnore;
+ "returns non-void values">, InGroup<BlockMissingReturnType>, DefaultIgnore;
// Builtin annotation string.
def err_builtin_annotation_not_string_constant : Error<
More information about the cfe-commits
mailing list