]> granicus.if.org Git - clang/commitdiff
Remove hard CRLF end-of-line markers from two files. These should be added
authorChandler Carruth <chandlerc@gmail.com>
Wed, 6 Oct 2010 06:50:05 +0000 (06:50 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 6 Oct 2010 06:50:05 +0000 (06:50 +0000)
automatically when syncing due to the auto-props selecting svn:eol-style of
'native'.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@115758 91177308-0d34-0410-b5e6-96231b3b80d8

test/Lexer/pragma-message.c
test/Sema/MicrosoftExtensions.c

index 423e6d065a89091d5897d3c84c4ab447b7a50f2a..710568cc2de6d40fc0640bf77d75aefb7ef66076 100644 (file)
@@ -1,14 +1,14 @@
-/* Test pragma message directive from\r
-   http://msdn.microsoft.com/en-us/library/x7dkzch2.aspx */\r
-\r
-// message: Sends a string literal to the standard output without terminating\r
-// the compilation.\r
-// #pragma message(messagestring)\r
-// OR\r
-// #pragma message messagestring\r
-//\r
-// RUN: %clang_cc1 -fsyntax-only -verify %s\r
-#define STRING2(x) #x\r
-#define STRING(x) STRING2(x)\r
-#pragma message(":O I'm a message! " STRING(__LINE__)) // expected-warning {{:O I'm a message! 13}}\r
-#pragma message ":O gcc accepts this! " STRING(__LINE__) // expected-warning {{:O gcc accepts this! 14}}\r
+/* 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}}
index 5a434aab2658c85326e9f587a4155d2f405b3cac..96c5639810b7044b959ae57b810b950204e3a560 100644 (file)
@@ -1,21 +1,21 @@
-// RUN: %clang_cc1 %s -fsyntax-only -Wmicrosoft -verify -fms-extensions\r
-\r
-\r
-struct A\r
-{\r
-   int a[];  /* expected-warning {{flexible array member 'a' in otherwise empty struct is a Microsoft extension}} */\r
-};\r
-\r
-struct C {\r
-   int l;\r
-   union {\r
-       int c1[];   /* expected-warning {{flexible array member 'c1' in a union is a Microsoft extension}}  */\r
-       char c2[];  /* expected-warning {{flexible array member 'c2' in a union is a Microsoft extension}} */\r
-   };\r
-};\r
-\r
-\r
-struct D {\r
-   int l;\r
-   int D[];\r
-};\r
+// 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[];
+};