From: Artem Dergachev Date: Fri, 12 Jul 2019 02:16:56 +0000 (+0000) Subject: NFC: Unforget a colon in a few CHECK: directives. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=27cd6f0ade36b2399fb0198ce5a2ecf17e9bde38;p=clang NFC: Unforget a colon in a few CHECK: directives. Differential Revision: https://reviews.llvm.org/D64526 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@365863 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Analysis/cfg-rich-constructors.cpp b/test/Analysis/cfg-rich-constructors.cpp index 0125c9bf52..cb1ed8eb6b 100644 --- a/test/Analysis/cfg-rich-constructors.cpp +++ b/test/Analysis/cfg-rich-constructors.cpp @@ -459,7 +459,7 @@ namespace temporary_object_expr_without_dtors { // 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(); } diff --git a/test/CodeGenCXX/noescape.cpp b/test/CodeGenCXX/noescape.cpp index 40bc839788..dbd97daa5e 100644 --- a/test/CodeGenCXX/noescape.cpp +++ b/test/CodeGenCXX/noescape.cpp @@ -45,7 +45,7 @@ void *operator new(std::size_t, void * __attribute__((noescape)) p) { } // CHECK-LABEL: define i8* @_Z5test1Pv( -// CHECK : %call = call {{.*}} @_ZnwmPv({{.*}}, {{.*}} nocapture {{.*}}) +// CHECK: %call = call {{.*}} @_ZnwmPv({{.*}}, {{.*}} nocapture {{.*}}) void *test1(void *p0) { return ::operator new(16, p0); } diff --git a/test/CodeGenObjC/externally-retained.m b/test/CodeGenObjC/externally-retained.m index 0b4d0d648b..f686968797 100644 --- a/test/CodeGenObjC/externally-retained.m +++ b/test/CodeGenObjC/externally-retained.m @@ -22,7 +22,7 @@ extern "C" void block_param(); void param(ObjTy *p) EXT_RET { // CHECK-LABEL: define void @param // CHECK-NOT: llvm.objc. - // CHECK ret + // CHECK: ret } void local() {