mirror of https://github.com/microsoft/clang.git
Relax assumption about default method calling convention in new test
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@342281 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2530891b27
commit
4abb9733da
|
@ -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: [[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: %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: 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
|
auto helper = [ // CHECK: [[lambda_decl_loc]] = !DILocation(line: [[@LINE]], column: 17
|
||||||
&]() { // CHECK: [[capture_init_loc]] = !DILocation(line: [[@LINE]], column: 18
|
&]() { // CHECK: [[capture_init_loc]] = !DILocation(line: [[@LINE]], column: 18
|
||||||
|
|
Loading…
Reference in New Issue