From 0f424b029b42f5a846b8e4130c883044fd1043c9 Mon Sep 17 00:00:00 2001 From: Anna Zaks Date: Mon, 25 Feb 2013 19:51:03 +0000 Subject: Revert "Add more attributes from the command line to functions." This reverts commit 176009. The commit is a likely cause of several buildbot failures. llvm-svn: 176044 --- clang/test/CodeGen/2008-04-08-NoExceptions.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'clang/test/CodeGen/2008-04-08-NoExceptions.c') diff --git a/clang/test/CodeGen/2008-04-08-NoExceptions.c b/clang/test/CodeGen/2008-04-08-NoExceptions.c index 1213492d1db..7d533b7a3a2 100644 --- a/clang/test/CodeGen/2008-04-08-NoExceptions.c +++ b/clang/test/CodeGen/2008-04-08-NoExceptions.c @@ -2,11 +2,12 @@ void f(void); void g(void) { - // CHECK: define void @g() [[NUW:#[0-9]+]] + // CHECK: define void @g() #0 // CHECK-NOT: call void @f() nounwind f(); } -// CHECK-NOT: declare void @f() [[NUW]] +// CHECK-NOT: declare void @f() #0 -// CHECK: attributes [[NUW]] = { nounwind{{.*}} } +// CHECK: attributes #0 = { nounwind {{.*}} } +// CHECK: attributes #1 = { "target-features"={{.*}} } -- cgit v1.2.3