[cfe-commits] r116572 - /cfe/trunk/test/Sema/builtins.c
Gabor Greif
ggreif at gmail.com
Fri Oct 15 01:48:52 PDT 2010
Author: ggreif
Date: Fri Oct 15 03:48:51 2010
New Revision: 116572
URL: http://llvm.org/viewvc/llvm-project?rev=116572&view=rev
Log:
zap trailing whitespace
Modified:
cfe/trunk/test/Sema/builtins.c
Modified: cfe/trunk/test/Sema/builtins.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/builtins.c?rev=116572&r1=116571&r2=116572&view=diff
==============================================================================
--- cfe/trunk/test/Sema/builtins.c (original)
+++ cfe/trunk/test/Sema/builtins.c Fri Oct 15 03:48:51 2010
@@ -37,7 +37,7 @@
void test9(short v) {
unsigned i, old;
-
+
old = __sync_fetch_and_add(); // expected-error {{too few arguments to function call}}
old = __sync_fetch_and_add(&old); // expected-error {{too few arguments to function call}}
old = __sync_fetch_and_add((unsigned*)0, 42i); // expected-warning {{imaginary constants are an extension}}
@@ -56,14 +56,14 @@
void test10(void) __attribute__((noreturn));
void test10(void) {
- __asm__("int3");
+ __asm__("int3");
__builtin_unreachable();
-
+
// No warning about falling off the end of a noreturn function.
}
void test11(int X) {
- switch (X) {
+ switch (X) {
case __builtin_eh_return_data_regno(0): // constant foldable.
break;
}
@@ -101,4 +101,4 @@
return __builtin_constant_p() + // expected-error{{too few arguments}}
__builtin_constant_p(1, 2); // expected-error {{too many arguments}}
}
-
+
More information about the cfe-commits
mailing list