[cfe-commits] r115758 - in /cfe/trunk/test: Lexer/pragma-message.c Sema/MicrosoftExtensions.c
Chandler Carruth
chandlerc at gmail.com
Tue Oct 5 23:50:05 PDT 2010
Author: chandlerc
Date: Wed Oct 6 01:50:05 2010
New Revision: 115758
URL: http://llvm.org/viewvc/llvm-project?rev=115758&view=rev
Log:
Remove hard CRLF end-of-line markers from two files. These should be added
automatically when syncing due to the auto-props selecting svn:eol-style of
'native'.
Modified:
cfe/trunk/test/Lexer/pragma-message.c
cfe/trunk/test/Sema/MicrosoftExtensions.c
Modified: cfe/trunk/test/Lexer/pragma-message.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Lexer/pragma-message.c?rev=115758&r1=115757&r2=115758&view=diff
==============================================================================
--- cfe/trunk/test/Lexer/pragma-message.c (original)
+++ cfe/trunk/test/Lexer/pragma-message.c Wed Oct 6 01:50:05 2010
@@ -1,14 +1,14 @@
-/* Test pragma message directive from
- http://msdn.microsoft.com/en-us/library/x7dkzch2.aspx */
-
-// message: Sends a string literal to the standard output without terminating
-// the compilation.
-// #pragma message(messagestring)
-// OR
-// #pragma message messagestring
-//
-// RUN: %clang_cc1 -fsyntax-only -verify %s
-#define STRING2(x) #x
-#define STRING(x) STRING2(x)
-#pragma message(":O I'm a message! " STRING(__LINE__)) // expected-warning {{:O I'm a message! 13}}
-#pragma message ":O gcc accepts this! " STRING(__LINE__) // expected-warning {{:O gcc accepts this! 14}}
+/* Test pragma message directive from
+ http://msdn.microsoft.com/en-us/library/x7dkzch2.aspx */
+
+// message: Sends a string literal to the standard output without terminating
+// the compilation.
+// #pragma message(messagestring)
+// OR
+// #pragma message messagestring
+//
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+#define STRING2(x) #x
+#define STRING(x) STRING2(x)
+#pragma message(":O I'm a message! " STRING(__LINE__)) // expected-warning {{:O I'm a message! 13}}
+#pragma message ":O gcc accepts this! " STRING(__LINE__) // expected-warning {{:O gcc accepts this! 14}}
Modified: cfe/trunk/test/Sema/MicrosoftExtensions.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/MicrosoftExtensions.c?rev=115758&r1=115757&r2=115758&view=diff
==============================================================================
--- cfe/trunk/test/Sema/MicrosoftExtensions.c (original)
+++ cfe/trunk/test/Sema/MicrosoftExtensions.c Wed Oct 6 01:50:05 2010
@@ -1,21 +1,21 @@
-// RUN: %clang_cc1 %s -fsyntax-only -Wmicrosoft -verify -fms-extensions
-
-
-struct A
-{
- int a[]; /* expected-warning {{flexible array member 'a' in otherwise empty struct is a Microsoft extension}} */
-};
-
-struct C {
- int l;
- union {
- int c1[]; /* expected-warning {{flexible array member 'c1' in a union is a Microsoft extension}} */
- char c2[]; /* expected-warning {{flexible array member 'c2' in a union is a Microsoft extension}} */
- };
-};
-
-
-struct D {
- int l;
- int D[];
-};
+// RUN: %clang_cc1 %s -fsyntax-only -Wmicrosoft -verify -fms-extensions
+
+
+struct A
+{
+ int a[]; /* expected-warning {{flexible array member 'a' in otherwise empty struct is a Microsoft extension}} */
+};
+
+struct C {
+ int l;
+ union {
+ int c1[]; /* expected-warning {{flexible array member 'c1' in a union is a Microsoft extension}} */
+ char c2[]; /* expected-warning {{flexible array member 'c2' in a union is a Microsoft extension}} */
+ };
+};
+
+
+struct D {
+ int l;
+ int D[];
+};
More information about the cfe-commits
mailing list