[clang] f56659d - Don't use a variable that isn't defined
Akira Hatanaka via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 9 16:08:13 PDT 2020
Author: Akira Hatanaka
Date: 2020-06-09T16:07:29-07:00
New Revision: f56659d2bae67b26c016aed6503585d93fbafd23
URL: https://github.com/llvm/llvm-project/commit/f56659d2bae67b26c016aed6503585d93fbafd23
DIFF: https://github.com/llvm/llvm-project/commit/f56659d2bae67b26c016aed6503585d93fbafd23.diff
LOG: Don't use a variable that isn't defined
The line defining CAPTURE was removed in r302270.
Added:
Modified:
clang/test/CodeGenObjC/arc-foreach.m
Removed:
################################################################################
diff --git a/clang/test/CodeGenObjC/arc-foreach.m b/clang/test/CodeGenObjC/arc-foreach.m
index 575bb0b711e0..ae8ebbc5bead 100644
--- a/clang/test/CodeGenObjC/arc-foreach.m
+++ b/clang/test/CodeGenObjC/arc-foreach.m
@@ -73,7 +73,7 @@ void test0(NSArray *array) {
// CHECK-LP64-NEXT: [[BLOCK1:%.*]] = bitcast [[BLOCK_T]]* [[BLOCK]]
// CHECK-LP64-NEXT: call void @use_block(void ()* [[BLOCK1]])
// CHECK-LP64-NEXT: call void @llvm.objc.storeStrong(i8** [[D0]], i8* null)
-// CHECK-LP64-NOT: call void (...) @llvm.objc.clang.arc.use(i8* [[CAPTURE]])
+// CHECK-LP64-NOT: call void (...) @llvm.objc.clang.arc.use(
// CHECK-LP64-OPT: [[D0:%.*]] = getelementptr inbounds [[BLOCK_T]], [[BLOCK_T]]* [[BLOCK]], i64 0, i32 5
// CHECK-LP64-OPT: [[CAPTURE:%.*]] = load i8*, i8** [[D0]]
More information about the cfe-commits
mailing list