Reviewed By: jvillard Differential Revision: D7859552 fbshipit-source-id: d7cc63bmaster
parent
c104ea11dc
commit
fcb83a949f
@ -1 +1 @@
|
||||
Subproject commit 079dc15e1f37204632c61a4c09d3f82f78d0b1b7
|
||||
Subproject commit ad20e6754fe46be0e2793a8c986dc4c7fc66c047
|
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright (c) 2018 - present Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
struct A {
|
||||
A(int) {}
|
||||
void foo(){};
|
||||
};
|
||||
|
||||
struct B : A {
|
||||
using A::A;
|
||||
};
|
||||
|
||||
int main() { B b(5); }
|
@ -0,0 +1,39 @@
|
||||
/* @generated */
|
||||
digraph cfg {
|
||||
"main.fad58de7366495db4650cfefac2fcd61_1" [label="1: Start main\nFormals: \nLocals: b:B \n DECLARE_LOCALS(&return,&b); [line 18, column 1]\n " color=yellow style=filled]
|
||||
|
||||
|
||||
"main.fad58de7366495db4650cfefac2fcd61_1" -> "main.fad58de7366495db4650cfefac2fcd61_3" ;
|
||||
"main.fad58de7366495db4650cfefac2fcd61_2" [label="2: Exit main \n " color=yellow style=filled]
|
||||
|
||||
|
||||
"main.fad58de7366495db4650cfefac2fcd61_3" [label="3: DeclStmt \n n$0=_fun_B_A(&b:B*,5:int) [line 18, column 16]\n " shape="box"]
|
||||
|
||||
|
||||
"main.fad58de7366495db4650cfefac2fcd61_3" -> "main.fad58de7366495db4650cfefac2fcd61_2" ;
|
||||
"A#A#{14779048587651412014}.4ba2c6594c8960564bedc7b6cbdf6ae0_1" [label="1: Start A_A\nFormals: this:A* __param_0:int\nLocals: \n DECLARE_LOCALS(&return); [line 10, column 3]\n " color=yellow style=filled]
|
||||
|
||||
|
||||
"A#A#{14779048587651412014}.4ba2c6594c8960564bedc7b6cbdf6ae0_1" -> "A#A#{14779048587651412014}.4ba2c6594c8960564bedc7b6cbdf6ae0_2" ;
|
||||
"A#A#{14779048587651412014}.4ba2c6594c8960564bedc7b6cbdf6ae0_2" [label="2: Exit A_A \n " color=yellow style=filled]
|
||||
|
||||
|
||||
"A#B#{18258347749069050656}.8db05fedcc195ce779d29dca399277d8_1" [label="1: Start B_A\nFormals: this:B* __param_0:int\nLocals: \n DECLARE_LOCALS(&return); [line 15, column 12]\n " color=yellow style=filled]
|
||||
|
||||
|
||||
"A#B#{18258347749069050656}.8db05fedcc195ce779d29dca399277d8_1" -> "A#B#{18258347749069050656}.8db05fedcc195ce779d29dca399277d8_3" ;
|
||||
"A#B#{18258347749069050656}.8db05fedcc195ce779d29dca399277d8_2" [label="2: Exit B_A \n " color=yellow style=filled]
|
||||
|
||||
|
||||
"A#B#{18258347749069050656}.8db05fedcc195ce779d29dca399277d8_3" [label="3: Constructor Init \n n$0=*&this:B* [line 15, column 12]\n n$2=*&__param_0:int [line 15, column 12]\n n$1=_fun_A_A(n$0:B*,n$2:int) [line 15, column 12]\n " shape="box"]
|
||||
|
||||
|
||||
"A#B#{18258347749069050656}.8db05fedcc195ce779d29dca399277d8_3" -> "A#B#{18258347749069050656}.8db05fedcc195ce779d29dca399277d8_2" ;
|
||||
"foo#A#(11285596688767843576).de1b7dc3a8a24aa7cc49648c6a039113_1" [label="1: Start A_foo\nFormals: this:A*\nLocals: \n DECLARE_LOCALS(&return); [line 11, column 3]\n " color=yellow style=filled]
|
||||
|
||||
|
||||
"foo#A#(11285596688767843576).de1b7dc3a8a24aa7cc49648c6a039113_1" -> "foo#A#(11285596688767843576).de1b7dc3a8a24aa7cc49648c6a039113_2" ;
|
||||
"foo#A#(11285596688767843576).de1b7dc3a8a24aa7cc49648c6a039113_2" [label="2: Exit A_foo \n " color=yellow style=filled]
|
||||
|
||||
|
||||
}
|
Loading…
Reference in new issue