summaryrefslogtreecommitdiff
path: root/test/PCH
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-20 07:22:19 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-20 07:22:19 +0000
commitf7a9da053f5bd6c18450c1796d953b42c3b7ad3a (patch)
tree3a4accecdb98419478035c3bf5be57df768e0625 /test/PCH
parent5251abea41b446c26e3239c8dd6c7edea6fc335d (diff)
downloadclang-f7a9da053f5bd6c18450c1796d953b42c3b7ad3a.tar.gz
clang-f7a9da053f5bd6c18450c1796d953b42c3b7ad3a.tar.bz2
clang-f7a9da053f5bd6c18450c1796d953b42c3b7ad3a.tar.xz
Modify the tests to use attribute group references instead of listing the
function attributes. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175606 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/PCH')
-rw-r--r--test/PCH/objc_container.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/PCH/objc_container.m b/test/PCH/objc_container.m
index 07371caeaf..aafe6a96ab 100644
--- a/test/PCH/objc_container.m
+++ b/test/PCH/objc_container.m
@@ -14,9 +14,12 @@
// CHECK-PRINT: oldObject = dictionary[key];
// CHECK-PRINT: dictionary[key] = newObject;
-// CHECK-IR: define void @all() nounwind
+// CHECK-IR: define void @all() #0
// CHECK-IR: {{call.*objc_msgSend}}
// CHECK-IR: {{call.*objc_msgSend}}
// CHECK-IR: {{call.*objc_msgSend}}
// CHECK-IR: {{call.*objc_msgSend}}
// CHECK-IR: ret void
+
+// CHECK: attributes #0 = { nounwind {{.*}} }
+// CHECK: attributes #1 = { nonlazybind }