From 9806806f39986d13292baa75fe71021d41325a2d Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 29 Jan 2013 03:21:00 +0000 Subject: Modify the tests for the (sorted) order that the attributes come out as now. llvm-svn: 173762 --- clang/test/CodeGenCXX/x86_32-arguments.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'clang/test/CodeGenCXX/x86_32-arguments.cpp') diff --git a/clang/test/CodeGenCXX/x86_32-arguments.cpp b/clang/test/CodeGenCXX/x86_32-arguments.cpp index 4404de0f88e..1e6fbb7cd7f 100644 --- a/clang/test/CodeGenCXX/x86_32-arguments.cpp +++ b/clang/test/CodeGenCXX/x86_32-arguments.cpp @@ -6,7 +6,7 @@ struct S { short s; }; -// CHECK: define void @_Z1fv(%struct.S* noalias sret % +// CHECK: define void @_Z1fv(%struct.S* sret noalias % S f() { return S(); } // CHECK: define void @_Z1f1S(%struct.S*) void f(S) { } @@ -18,7 +18,7 @@ public: double c; }; -// CHECK: define void @_Z1gv(%class.C* noalias sret % +// CHECK: define void @_Z1gv(%class.C* sret noalias % C g() { return C(); } // CHECK: define void @_Z1f1C(%class.C*) @@ -103,13 +103,13 @@ struct s7_1 { double x; }; struct s7 : s7_0, s7_1 { }; s7 f7() { return s7(); } -// CHECK: define void @_Z2f8v(%struct.s8* noalias sret %agg.result) +// CHECK: define void @_Z2f8v(%struct.s8* sret noalias %agg.result) struct s8_0 { }; struct s8_1 { double x; }; struct s8 { s8_0 a; s8_1 b; }; s8 f8() { return s8(); } -// CHECK: define void @_Z2f9v(%struct.s9* noalias sret %agg.result) +// CHECK: define void @_Z2f9v(%struct.s9* sret noalias %agg.result) struct s9_0 { unsigned : 0; }; struct s9_1 { double x; }; struct s9 { s9_0 a; s9_1 b; }; -- cgit v1.2.3