From 29bb7641ad829f7699d8c9ddd540565ee8af4736 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Fri, 14 Sep 2018 20:50:39 +0000 Subject: [PATCH] Relax assumption about default method calling convention in new test llvm-svn: 342281 --- clang/test/CodeGenCXX/debug-info-lambda.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/CodeGenCXX/debug-info-lambda.cpp b/clang/test/CodeGenCXX/debug-info-lambda.cpp index f866507..a10765d 100644 --- a/clang/test/CodeGenCXX/debug-info-lambda.cpp +++ b/clang/test/CodeGenCXX/debug-info-lambda.cpp @@ -6,7 +6,7 @@ void lambda_in_func(int &ref) { // CHECK: [[ref_slot:%.*]] = getelementptr inbounds %class.anon, %class.anon* {{.*}}, i32 0, i32 0, !dbg [[lambda_decl_loc:![0-9]+]] // CHECK-NEXT: %1 = load i32*, i32** %ref.addr, align {{.*}}, !dbg [[capture_init_loc:![0-9]+]] // CHECK-NEXT: store i32* %1, i32** %0, align {{.*}}, !dbg [[lambda_decl_loc]] - // CHECK-NEXT: call void {{.*}}, !dbg [[lambda_call_loc:![0-9]+]] + // CHECK-NEXT: call {{.*}}void {{.*}}, !dbg [[lambda_call_loc:![0-9]+]] auto helper = [ // CHECK: [[lambda_decl_loc]] = !DILocation(line: [[@LINE]], column: 17 &]() { // CHECK: [[capture_init_loc]] = !DILocation(line: [[@LINE]], column: 18 -- 2.7.4