[PATCH] D64526: [NFC] Unforget a colon in a few CHECK: directives.
Artem Dergachev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 10 12:37:37 PDT 2019
NoQ updated this revision to Diff 209046.
NoQ added a reviewer: Anastasia.
NoQ added a comment.
Found one more forgotten colon by grepping for `//CHECK ` instead of `// CHECK `.
Removed the FIXME for @ABataev so that not to cause merge conflicts when he fixes the test.
P.S. I didn't grep for custom FileCheck prefixes. Those may have more bugs.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64526/new/
https://reviews.llvm.org/D64526
Files:
clang/test/Analysis/cfg-rich-constructors.cpp
clang/test/CodeGenCXX/noescape.cpp
clang/test/CodeGenObjC/externally-retained.m
clang/test/CodeGenOpenCLCXX/addrspace-operators.cl
Index: clang/test/CodeGenOpenCLCXX/addrspace-operators.cl
===================================================================
--- clang/test/CodeGenOpenCLCXX/addrspace-operators.cl
+++ clang/test/CodeGenOpenCLCXX/addrspace-operators.cl
@@ -46,7 +46,7 @@
//CHECK: %me = getelementptr inbounds %class.C, %class.C addrspace(4)* %this1, i32 0, i32 0
//CHECK: store i32 [[E]], i32 addrspace(4)* %me
-//CHECK define linkonce_odr void @_ZNU3AS41C8OrAssignE1E(%class.C addrspace(4)* %this, i32 %e)
+//CHECK: define linkonce_odr void @_ZNU3AS41C8OrAssignE1E(%class.C addrspace(4)* %this, i32 %e)
//CHECK: [[E:%[0-9]+]] = load i32, i32* %e.addr
//CHECK: %mi = getelementptr inbounds %class.C, %class.C addrspace(4)* %this1, i32 0, i32 1
//CHECK: [[MI:%[0-9]+]] = load i32, i32 addrspace(4)* %mi
Index: clang/test/CodeGenObjC/externally-retained.m
===================================================================
--- clang/test/CodeGenObjC/externally-retained.m
+++ clang/test/CodeGenObjC/externally-retained.m
@@ -22,7 +22,7 @@
void param(ObjTy *p) EXT_RET {
// CHECK-LABEL: define void @param
// CHECK-NOT: llvm.objc.
- // CHECK ret
+ // CHECK: ret
}
void local() {
Index: clang/test/CodeGenCXX/noescape.cpp
===================================================================
--- clang/test/CodeGenCXX/noescape.cpp
+++ clang/test/CodeGenCXX/noescape.cpp
@@ -45,7 +45,7 @@
}
// CHECK-LABEL: define i8* @_Z5test1Pv(
-// CHECK : %call = call {{.*}} @_ZnwmPv({{.*}}, {{.*}} nocapture {{.*}})
+// CHECK: %call = call {{.*}} @_ZnwmPv({{.*}}, {{.*}} nocapture {{.*}})
void *test1(void *p0) {
return ::operator new(16, p0);
}
Index: clang/test/Analysis/cfg-rich-constructors.cpp
===================================================================
--- clang/test/Analysis/cfg-rich-constructors.cpp
+++ clang/test/Analysis/cfg-rich-constructors.cpp
@@ -459,7 +459,7 @@
// TODO: Should provide construction context for the constructor,
// even if there is no specific trigger statement here.
// CHECK: void simpleTemporary()
-// CHECK 1: C() (CXXConstructExpr, class C)
+// CHECK: 1: C() (CXXConstructExpr, class C)
void simpleTemporary() {
C();
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64526.209046.patch
Type: text/x-patch
Size: 2187 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190710/b91ab8b6/attachment-0001.bin>
More information about the cfe-commits
mailing list