[cfe-commits] r146952 - in /cfe/trunk/test: Sema/attr-declspec-ignored.c SemaCXX/attr-declspec-ignored.cpp

Chandler Carruth chandlerc at gmail.com
Mon Dec 19 17:45:15 PST 2011


Author: chandlerc
Date: Mon Dec 19 19:45:15 2011
New Revision: 146952

URL: http://llvm.org/viewvc/llvm-project?rev=146952&view=rev
Log:
Remove some extraneous carriage returns from these files. One of the
Windows subversion clients isn't setup to default to eol:native again...

Modified:
    cfe/trunk/test/Sema/attr-declspec-ignored.c
    cfe/trunk/test/SemaCXX/attr-declspec-ignored.cpp

Modified: cfe/trunk/test/Sema/attr-declspec-ignored.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/attr-declspec-ignored.c?rev=146952&r1=146951&r2=146952&view=diff
==============================================================================
--- cfe/trunk/test/Sema/attr-declspec-ignored.c (original)
+++ cfe/trunk/test/Sema/attr-declspec-ignored.c Mon Dec 19 19:45:15 2011
@@ -1,12 +1,12 @@
-// RUN: %clang_cc1 %s -verify -fsyntax-only
-
-__attribute__((visibility("hidden")))  __attribute__((aligned)) struct A; // expected-warning{{attribute 'visibility' is ignored, place it after "struct" to apply attribute to type declaration}} \
-// expected-warning{{attribute 'aligned' is ignored, place it after "struct" to apply attribute to type declaration}}
-__attribute__((visibility("hidden")))  __attribute__((aligned)) union B; // expected-warning{{attribute 'visibility' is ignored, place it after "union" to apply attribute to type declaration}} \
-// expected-warning{{attribute 'aligned' is ignored, place it after "union" to apply attribute to type declaration}} 
-__attribute__((visibility("hidden")))  __attribute__((aligned)) enum C {C}; // expected-warning{{attribute 'visibility' is ignored, place it after "enum" to apply attribute to type declaration}} \
-// expected-warning{{attribute 'aligned' is ignored, place it after "enum" to apply attribute to type declaration}}
-
-__attribute__((visibility("hidden")))  __attribute__((aligned)) struct D {} d;
-__attribute__((visibility("hidden")))  __attribute__((aligned)) union E {} e;
-__attribute__((visibility("hidden")))  __attribute__((aligned)) enum F {F} f;
+// RUN: %clang_cc1 %s -verify -fsyntax-only
+
+__attribute__((visibility("hidden")))  __attribute__((aligned)) struct A; // expected-warning{{attribute 'visibility' is ignored, place it after "struct" to apply attribute to type declaration}} \
+// expected-warning{{attribute 'aligned' is ignored, place it after "struct" to apply attribute to type declaration}}
+__attribute__((visibility("hidden")))  __attribute__((aligned)) union B; // expected-warning{{attribute 'visibility' is ignored, place it after "union" to apply attribute to type declaration}} \
+// expected-warning{{attribute 'aligned' is ignored, place it after "union" to apply attribute to type declaration}} 
+__attribute__((visibility("hidden")))  __attribute__((aligned)) enum C {C}; // expected-warning{{attribute 'visibility' is ignored, place it after "enum" to apply attribute to type declaration}} \
+// expected-warning{{attribute 'aligned' is ignored, place it after "enum" to apply attribute to type declaration}}
+
+__attribute__((visibility("hidden")))  __attribute__((aligned)) struct D {} d;
+__attribute__((visibility("hidden")))  __attribute__((aligned)) union E {} e;
+__attribute__((visibility("hidden")))  __attribute__((aligned)) enum F {F} f;

Modified: cfe/trunk/test/SemaCXX/attr-declspec-ignored.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/attr-declspec-ignored.cpp?rev=146952&r1=146951&r2=146952&view=diff
==============================================================================
--- cfe/trunk/test/SemaCXX/attr-declspec-ignored.cpp (original)
+++ cfe/trunk/test/SemaCXX/attr-declspec-ignored.cpp Mon Dec 19 19:45:15 2011
@@ -1,19 +1,19 @@
-// RUN: %clang_cc1 %s -verify -fsyntax-only
-
-namespace test1 {
-  __attribute__((visibility("hidden")))  __attribute__((aligned)) class A; // expected-warning{{attribute 'visibility' is ignored, place it after "class" to apply attribute to type declaration}} \
-  // expected-warning{{attribute 'aligned' is ignored, place it after "class" to apply attribute to type declaration}}
-  __attribute__((visibility("hidden")))  __attribute__((aligned)) struct B; // expected-warning{{attribute 'visibility' is ignored, place it after "struct" to apply attribute to type declaration}} \
-  // expected-warning{{attribute 'aligned' is ignored, place it after "struct" to apply attribute to type declaration}}
-  __attribute__((visibility("hidden")))  __attribute__((aligned)) union C; // expected-warning{{attribute 'visibility' is ignored, place it after "union" to apply attribute to type declaration}} \
-  // expected-warning{{attribute 'aligned' is ignored, place it after "union" to apply attribute to type declaration}} 
-  __attribute__((visibility("hidden")))  __attribute__((aligned)) enum D {D}; // expected-warning{{attribute 'visibility' is ignored, place it after "enum" to apply attribute to type declaration}} \
-  // expected-warning{{attribute 'aligned' is ignored, place it after "enum" to apply attribute to type declaration}}
-}
-
-namespace test2 {
-  __attribute__((visibility("hidden")))  __attribute__((aligned)) class A {} a;
-  __attribute__((visibility("hidden")))  __attribute__((aligned)) struct B {} b;
-  __attribute__((visibility("hidden")))  __attribute__((aligned)) union C {} c;
-  __attribute__((visibility("hidden")))  __attribute__((aligned)) enum D {D} d;
-}
+// RUN: %clang_cc1 %s -verify -fsyntax-only
+
+namespace test1 {
+  __attribute__((visibility("hidden")))  __attribute__((aligned)) class A; // expected-warning{{attribute 'visibility' is ignored, place it after "class" to apply attribute to type declaration}} \
+  // expected-warning{{attribute 'aligned' is ignored, place it after "class" to apply attribute to type declaration}}
+  __attribute__((visibility("hidden")))  __attribute__((aligned)) struct B; // expected-warning{{attribute 'visibility' is ignored, place it after "struct" to apply attribute to type declaration}} \
+  // expected-warning{{attribute 'aligned' is ignored, place it after "struct" to apply attribute to type declaration}}
+  __attribute__((visibility("hidden")))  __attribute__((aligned)) union C; // expected-warning{{attribute 'visibility' is ignored, place it after "union" to apply attribute to type declaration}} \
+  // expected-warning{{attribute 'aligned' is ignored, place it after "union" to apply attribute to type declaration}} 
+  __attribute__((visibility("hidden")))  __attribute__((aligned)) enum D {D}; // expected-warning{{attribute 'visibility' is ignored, place it after "enum" to apply attribute to type declaration}} \
+  // expected-warning{{attribute 'aligned' is ignored, place it after "enum" to apply attribute to type declaration}}
+}
+
+namespace test2 {
+  __attribute__((visibility("hidden")))  __attribute__((aligned)) class A {} a;
+  __attribute__((visibility("hidden")))  __attribute__((aligned)) struct B {} b;
+  __attribute__((visibility("hidden")))  __attribute__((aligned)) union C {} c;
+  __attribute__((visibility("hidden")))  __attribute__((aligned)) enum D {D} d;
+}





More information about the cfe-commits mailing list