summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2015-11-12 10:56:51 +0000
committerJames Molloy <james.molloy@arm.com>2015-11-12 10:56:51 +0000
commit57207ce922305ae2cedafa7a605dc6f8b39fdcd5 (patch)
treed21312d8ea69a70ca0844f76366f8f3f31d7fcc9 /clang/test/CodeGenCXX
parent7e9bdd5d010b0378e3479d434bd2a3a359ff226d (diff)
downloadbcm5719-llvm-57207ce922305ae2cedafa7a605dc6f8b39fdcd5.tar.gz
bcm5719-llvm-57207ce922305ae2cedafa7a605dc6f8b39fdcd5.zip
Update clang regression tests for 'norecurse'
FunctionAttrs has just been taught how to infer 'norecurse'. Update clang tests for LLVM r252871. llvm-svn: 252872
Diffstat (limited to 'clang/test/CodeGenCXX')
-rw-r--r--clang/test/CodeGenCXX/default-destructor-synthesis.cpp2
-rw-r--r--clang/test/CodeGenCXX/member-initializers.cpp2
-rw-r--r--clang/test/CodeGenCXX/pointers-to-data-members.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/CodeGenCXX/default-destructor-synthesis.cpp b/clang/test/CodeGenCXX/default-destructor-synthesis.cpp
index af780044d19..8daf3832321 100644
--- a/clang/test/CodeGenCXX/default-destructor-synthesis.cpp
+++ b/clang/test/CodeGenCXX/default-destructor-synthesis.cpp
@@ -35,4 +35,4 @@ int f() {
return count;
}
-// CHECK: attributes [[NUW]] = { nounwind{{.*}} }
+// CHECK: attributes [[NUW]] = { norecurse nounwind{{.*}} }
diff --git a/clang/test/CodeGenCXX/member-initializers.cpp b/clang/test/CodeGenCXX/member-initializers.cpp
index c98e6bf9236..5bbf00b3d2c 100644
--- a/clang/test/CodeGenCXX/member-initializers.cpp
+++ b/clang/test/CodeGenCXX/member-initializers.cpp
@@ -32,4 +32,4 @@ int test_fold() {
return A(2).i;
}
-// CHECK: attributes [[NUW_RN]] = { nounwind readnone{{.*}} }
+// CHECK: attributes [[NUW_RN]] = { norecurse nounwind readnone{{.*}} }
diff --git a/clang/test/CodeGenCXX/pointers-to-data-members.cpp b/clang/test/CodeGenCXX/pointers-to-data-members.cpp
index 94337d98a19..240d74084ac 100644
--- a/clang/test/CodeGenCXX/pointers-to-data-members.cpp
+++ b/clang/test/CodeGenCXX/pointers-to-data-members.cpp
@@ -295,4 +295,4 @@ U u;
// CHECK-GLOBAL: @_ZN11IndirectPDM1uE = global %"union.IndirectPDM::U" { %union.anon { i64 -1 } }, align 8
}
-// CHECK-O3: attributes [[NUW]] = { nounwind readnone{{.*}} }
+// CHECK-O3: attributes [[NUW]] = { norecurse nounwind readnone{{.*}} }
OpenPOWER on IntegriCloud