]> granicus.if.org Git - clang/commitdiff
Fix capitalization in a diagnostic
authorDouglas Gregor <dgregor@apple.com>
Fri, 13 Feb 2009 18:20:19 +0000 (18:20 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 13 Feb 2009 18:20:19 +0000 (18:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64472 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.def
test/Parser/objc-forcollection-neg-2.m

index 1024377cd0782ca042a6817f42610d17f15d76ba..6a95ff34e0a7ec99c2a9f29e6ef0818ff82c42d1 100644 (file)
@@ -1330,7 +1330,7 @@ DIAG(ext_mixed_decls_code, EXTENSION,
 DIAG(err_non_variable_decl_in_for, ERROR,
      "declaration of non-local variable in 'for' loop")
 DIAG(err_toomany_element_decls, ERROR,
-     "Only one element declaration is allowed")
+     "only one element declaration is allowed")
 DIAG(err_selector_element_not_lvalue, ERROR,
     "selector element is not a valid lvalue") 
 DIAG(err_selector_element_type, ERROR,
index 848df92a989b66aca582a871b94554828d2ea058..308db0579e5ffe4855ea17d5737eec3f5abac194 100644 (file)
@@ -25,7 +25,7 @@ typedef struct objc_object {
 @implementation MyList (BasicTest)
 - (void)compilerTestAgainst {
     static i;
-        for (id el, elem in self)  // expected-error {{Only one element declaration is allowed}}
+        for (id el, elem in self)  // expected-error {{only one element declaration is allowed}}
            ++i;
         for (id el in self) 
            ++i;