diff options
author | Stephen Lin <stephenwlin@gmail.com> | 2013-08-15 06:47:53 +0000 |
---|---|---|
committer | Stephen Lin <stephenwlin@gmail.com> | 2013-08-15 06:47:53 +0000 |
commit | 93ab6bf534fb6c26563c00f28a8fc5581bb71dfd (patch) | |
tree | 938e985e9673d1b0d289e8ed751943edc097da1d /test/CodeGenObjCXX/arc-move.mm | |
parent | 233fbe1f56183878167a56be53425a6dd25ba334 (diff) | |
download | clang-93ab6bf534fb6c26563c00f28a8fc5581bb71dfd.tar.gz |
CHECK-LABEL-ify some code gen tests to improve diagnostic experience when tests fail.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenObjCXX/arc-move.mm')
-rw-r--r-- | test/CodeGenObjCXX/arc-move.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGenObjCXX/arc-move.mm b/test/CodeGenObjCXX/arc-move.mm index cf3051dd1f..0a8286ded4 100644 --- a/test/CodeGenObjCXX/arc-move.mm +++ b/test/CodeGenObjCXX/arc-move.mm @@ -31,7 +31,7 @@ typename remove_reference<T>::type&& move(T &&x) { return static_cast<typename remove_reference<T>::type&&>(x); } -// CHECK: define void @_Z12library_moveRU8__strongP11objc_objectS2_ +// CHECK-LABEL: define void @_Z12library_moveRU8__strongP11objc_objectS2_ void library_move(__strong id &x, __strong id &y) { // CHECK: call i8** @_Z4moveIRU8__strongP11objc_objectEON16remove_referenceIT_E4typeEOS5_ // CHECK: load i8** @@ -44,7 +44,7 @@ void library_move(__strong id &x, __strong id &y) { x = move(y); } -// CHECK: define void @_Z12library_moveRU8__strongP11objc_object +// CHECK-LABEL: define void @_Z12library_moveRU8__strongP11objc_object void library_move(__strong id &y) { // CHECK: [[Y:%[a-zA-Z0-9]+]] = call i8** @_Z4moveIRU8__strongP11objc_objectEON16remove_referenceIT_E4typeEOS5_ // Load the object @@ -62,7 +62,7 @@ void library_move(__strong id &y) { // CHECK-NEXT: ret void } -// CHECK: define void @_Z10const_moveRKU8__strongP11objc_object( +// CHECK-LABEL: define void @_Z10const_moveRKU8__strongP11objc_object( void const_move(const __strong id &x) { // CHECK: [[Y:%.*]] = alloca i8*, // CHECK: [[X:%.*]] = call i8** @_Z4moveIRKU8__strongP11objc_objectEON16remove_referenceIT_E4typeEOS5_( |