[cfe-commits] r166759 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td test/Sema/heinous-extensions-on.c

Bill Wendling isanbard at gmail.com
Fri Oct 26 00:02:47 PDT 2012


Author: void
Date: Fri Oct 26 02:02:46 2012
New Revision: 166759

URL: http://llvm.org/viewvc/llvm-project?rev=166759&view=rev
Log:
Fix grammar-o.

Modified:
    cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
    cfe/trunk/test/Sema/heinous-extensions-on.c

Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=166759&r1=166758&r2=166759&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Fri Oct 26 02:02:46 2012
@@ -5144,7 +5144,7 @@
   def warn_asm_label_on_auto_decl : Warning<
     "ignored asm label '%0' on automatic variable">;
   def warn_invalid_asm_cast_lvalue : Warning<
-    "invalid use of a cast in a inline asm context requiring an l-value: "
+    "invalid use of a cast in an inline asm context requiring an l-value: "
     "accepted due to -fheinous-gnu-extensions, but clang may remove support "
     "for this in the future">;
   def warn_asm_mismatched_size_modifier : Warning<

Modified: cfe/trunk/test/Sema/heinous-extensions-on.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/heinous-extensions-on.c?rev=166759&r1=166758&r2=166759&view=diff
==============================================================================
--- cfe/trunk/test/Sema/heinous-extensions-on.c (original)
+++ cfe/trunk/test/Sema/heinous-extensions-on.c Fri Oct 26 02:02:46 2012
@@ -3,7 +3,7 @@
 void foo() {
   int a;
   // PR3788
-  asm("nop" : : "m"((int)(a))); // expected-warning {{cast in a inline asm context requiring an l-value}}
+  asm("nop" : : "m"((int)(a))); // expected-warning {{cast in an inline asm context requiring an l-value}}
   // PR3794
-  asm("nop" : "=r"((unsigned)a)); // expected-warning {{cast in a inline asm context requiring an l-value}}
+  asm("nop" : "=r"((unsigned)a)); // expected-warning {{cast in an inline asm context requiring an l-value}}
 }





More information about the cfe-commits mailing list