diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 23:48:37 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 23:48:37 +0000 |
commit | fd93908ae8b9684fe71c239e3c6cfe13ff6a2663 (patch) | |
tree | 4d0726d997a629d08765d11a705a42c4f48690af /test/C++Frontend | |
parent | 0e0a7a45d3d0a8c865a078459d2e1c6d8967a100 (diff) | |
download | llvm-fd93908ae8b9684fe71c239e3c6cfe13ff6a2663.tar.gz llvm-fd93908ae8b9684fe71c239e3c6cfe13ff6a2663.tar.bz2 llvm-fd93908ae8b9684fe71c239e3c6cfe13ff6a2663.tar.xz |
Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21427 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/C++Frontend')
10 files changed, 33 insertions, 33 deletions
diff --git a/test/C++Frontend/2003-08-28-ForwardType.cpp b/test/C++Frontend/2003-08-28-ForwardType.cpp index 72f4bc0843..4932295724 100644 --- a/test/C++Frontend/2003-08-28-ForwardType.cpp +++ b/test/C++Frontend/2003-08-28-ForwardType.cpp @@ -5,9 +5,9 @@ inline void* operator new(unsigned, void* __p) throw(); template<typename _CharT> -struct stdio_filebuf +struct stdio_filebuf { stdio_filebuf(); - + }; extern stdio_filebuf<char> buf_cout; diff --git a/test/C++Frontend/2003-08-28-SaveExprBug.cpp b/test/C++Frontend/2003-08-28-SaveExprBug.cpp index 594ccd4808..2be35d8d52 100644 --- a/test/C++Frontend/2003-08-28-SaveExprBug.cpp +++ b/test/C++Frontend/2003-08-28-SaveExprBug.cpp @@ -6,7 +6,7 @@ char* eback(); template<typename foo> struct basic_filebuf { char *instancevar; - + void callee() { instancevar += eback() != eback(); } diff --git a/test/C++Frontend/2003-08-31-StructLayout.cpp b/test/C++Frontend/2003-08-31-StructLayout.cpp index 21d504c771..99d6682662 100644 --- a/test/C++Frontend/2003-08-31-StructLayout.cpp +++ b/test/C++Frontend/2003-08-31-StructLayout.cpp @@ -1,6 +1,6 @@ // RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null -// There is a HOLE in the derived2 object due to not wanting to place the two +// There is a HOLE in the derived2 object due to not wanting to place the two // baseclass instances at the same offset! struct baseclass {}; diff --git a/test/C++Frontend/2003-09-30-NestedFunctionDecl.cpp b/test/C++Frontend/2003-09-30-NestedFunctionDecl.cpp index ed7c871a66..b1c54b89d5 100644 --- a/test/C++Frontend/2003-09-30-NestedFunctionDecl.cpp +++ b/test/C++Frontend/2003-09-30-NestedFunctionDecl.cpp @@ -1,12 +1,12 @@ // RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null -// The C++ front-end thinks the two foo's are different, the LLVM emitter +// The C++ front-end thinks the two foo's are different, the LLVM emitter // thinks they are the same. The disconnect causes problems. void foo() { } void bar() { void foo(); - + foo(); } diff --git a/test/C++Frontend/2003-10-27-VirtualBaseClassCrash.cpp b/test/C++Frontend/2003-10-27-VirtualBaseClassCrash.cpp index 19cb0ccbcc..f9fc80ee94 100644 --- a/test/C++Frontend/2003-10-27-VirtualBaseClassCrash.cpp +++ b/test/C++Frontend/2003-10-27-VirtualBaseClassCrash.cpp @@ -7,7 +7,7 @@ struct super { void foo(); }; -template <class T> +template <class T> struct test : virtual super<int> {}; extern test<int> X; diff --git a/test/C++Frontend/2003-11-04-ArrayConstructors.cpp b/test/C++Frontend/2003-11-04-ArrayConstructors.cpp index 8c7c0bfa7d..4df4f9b672 100644 --- a/test/C++Frontend/2003-11-04-ArrayConstructors.cpp +++ b/test/C++Frontend/2003-11-04-ArrayConstructors.cpp @@ -1,8 +1,8 @@ // RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null -struct Foo { - Foo(int); +struct Foo { + Foo(int); ~Foo(); }; void foo() { diff --git a/test/C++Frontend/2004-03-15-CleanupsAndGotos.cpp b/test/C++Frontend/2004-03-15-CleanupsAndGotos.cpp index be14b7f639..9bc70c84ab 100644 --- a/test/C++Frontend/2004-03-15-CleanupsAndGotos.cpp +++ b/test/C++Frontend/2004-03-15-CleanupsAndGotos.cpp @@ -8,7 +8,7 @@ struct X { void foo() { X v; - -TryAgain: + +TryAgain: goto TryAgain; } diff --git a/test/C++Frontend/2004-06-08-LateTemplateInstantiation.cpp b/test/C++Frontend/2004-06-08-LateTemplateInstantiation.cpp index 4d31c3685e..16d8e5edf5 100644 --- a/test/C++Frontend/2004-06-08-LateTemplateInstantiation.cpp +++ b/test/C++Frontend/2004-06-08-LateTemplateInstantiation.cpp @@ -3,7 +3,7 @@ template<typename Ty> -struct normal_iterator { +struct normal_iterator { int FIELD; }; diff --git a/test/C++Frontend/2005-02-19-UnnamedVirtualThunkArgument.cpp b/test/C++Frontend/2005-02-19-UnnamedVirtualThunkArgument.cpp index e22f30f979..853fee7dcf 100644 --- a/test/C++Frontend/2005-02-19-UnnamedVirtualThunkArgument.cpp +++ b/test/C++Frontend/2005-02-19-UnnamedVirtualThunkArgument.cpp @@ -1,22 +1,22 @@ // RUN: %llvmgxx -S %s -o /dev/null -struct Foo { - Foo(); - virtual ~Foo(); -}; - -struct Bar { - Bar(); - virtual ~Bar(); - virtual bool test(bool) const; -}; - -struct Baz : public Foo, public Bar { - Baz(); - virtual ~Baz(); - virtual bool test(bool) const; -}; - -bool Baz::test(bool) const { - return true; -} +struct Foo { + Foo(); + virtual ~Foo(); +}; + +struct Bar { + Bar(); + virtual ~Bar(); + virtual bool test(bool) const; +}; + +struct Baz : public Foo, public Bar { + Baz(); + virtual ~Baz(); + virtual bool test(bool) const; +}; + +bool Baz::test(bool) const { + return true; +} diff --git a/test/C++Frontend/2005-02-20-BrokenReferenceTest.cpp b/test/C++Frontend/2005-02-20-BrokenReferenceTest.cpp index af15f814f1..31026d30e9 100644 --- a/test/C++Frontend/2005-02-20-BrokenReferenceTest.cpp +++ b/test/C++Frontend/2005-02-20-BrokenReferenceTest.cpp @@ -3,7 +3,7 @@ void test(unsigned char *b, int rb) { typedef unsigned char imgfoo[10][rb]; imgfoo &br = *(imgfoo *)b; - + br[0][0] = 1; rb = br[0][0]; |