Created
May 11, 2020 18:06
-
-
Save FederAndInk/d4d4c90b8a9c3849ee92b9ac02cb037e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% ./build/libtooling_test test.cpp -- -std=c++17 | |
Presumed: 2:8 | |
Expansion: 2:8 | |
Spelling: 2:8 | |
Roles: Def | |
Kind: CXXRecord | |
name: S | |
2|struct S | |
^ | |
Presumed: 4:3 | |
Expansion: 4:3 | |
Spelling: 4:3 | |
Roles: Def,RelChild | |
Kind: CXXConstructor | |
name: S | |
4| S(int i) {} | |
^ | |
Presumed: 4:9 | |
Expansion: 4:9 | |
Spelling: 4:9 | |
Roles: Def,RelChild | |
Kind: ParmVar | |
name: i | |
4| S(int i) {} | |
^ | |
Presumed: 4:3 | |
Expansion: 4:3 | |
Spelling: 4:3 | |
Roles: Ref,RelCont,NameReference | |
Kind: CXXRecord | |
name: S | |
4| S(int i) {} | |
^ | |
Presumed: 7:8 | |
Expansion: 7:8 | |
Spelling: 7:8 | |
Roles: Def | |
Kind: CXXRecord | |
name: SD | |
7|struct SD : S | |
^ | |
Presumed: 7:13 | |
Expansion: 7:13 | |
Spelling: 7:13 | |
Roles: Ref,RelBase,RelCont | |
Kind: CXXRecord | |
name: S | |
7|struct SD : S | |
^ | |
Presumed: 9:12 | |
Expansion: 9:12 | |
Spelling: 9:12 | |
Roles: Decl,RelChild | |
Kind: Using | |
name: SD | |
9| using S::S; | |
^ | |
Presumed: 9:9 | |
Expansion: 9:9 | |
Spelling: 9:9 | |
Roles: Ref,RelCont | |
Kind: CXXRecord | |
name: S | |
9| using S::S; | |
^ | |
Presumed: 9:12 | |
Expansion: 9:12 | |
Spelling: 9:12 | |
Roles: Ref,RelCont | |
Kind: CXXConstructor | |
name: S | |
9| using S::S; | |
^ | |
Presumed: 12:5 | |
Expansion: 12:5 | |
Spelling: 12:5 | |
Roles: Def | |
Kind: Function | |
name: main | |
12|int main(int argc, char* argv[]) | |
^ | |
Presumed: 12:14 | |
Expansion: 12:14 | |
Spelling: 12:14 | |
Roles: Def,RelChild | |
Kind: ParmVar | |
name: argc | |
12|int main(int argc, char* argv[]) | |
^ | |
Presumed: 12:26 | |
Expansion: 12:26 | |
Spelling: 12:26 | |
Roles: Def,RelChild | |
Kind: ParmVar | |
name: argv | |
12|int main(int argc, char* argv[]) | |
^ | |
Presumed: 14:5 | |
Expansion: 14:5 | |
Spelling: 14:5 | |
Roles: Def,RelCont | |
Kind: Var | |
name: s | |
14| S s{1}; | |
^ | |
Presumed: 14:3 | |
Expansion: 14:3 | |
Spelling: 14:3 | |
Roles: Ref,RelCont | |
Kind: CXXRecord | |
name: S | |
14| S s{1}; | |
^ | |
#1 SEE: here a normal ctor ref + call to S::S | |
Presumed: 14:5 | |
Expansion: 14:5 | |
Spelling: 14:5 | |
Roles: Ref,Call,RelCall,RelCont | |
Kind: CXXConstructor | |
expr: CXXConstructExpr | |
name: S | |
14| S s{1}; | |
^ | |
Presumed: 14:3 | |
Expansion: 14:3 | |
Spelling: 14:3 | |
Roles: Ref,RelCont | |
Kind: CXXRecord | |
name: S | |
14| S s{1}; | |
^ | |
#2 SEE: here another a normal ctor ref + call to S::S for the same call as before (#1) | |
Presumed: 14:5 | |
Expansion: 14:5 | |
Spelling: 14:5 | |
Roles: Ref,Call,RelCall,RelCont | |
Kind: CXXConstructor | |
expr: CXXConstructExpr | |
name: S | |
14| S s{1}; | |
^ | |
Presumed: 16:6 | |
Expansion: 16:6 | |
Spelling: 16:6 | |
Roles: Def,RelCont | |
Kind: Var | |
name: sd | |
16| SD sd{1}; | |
^ | |
Presumed: 16:3 | |
Expansion: 16:3 | |
Spelling: 16:3 | |
Roles: Ref,RelCont | |
Kind: CXXRecord | |
name: SD | |
16| SD sd{1}; | |
^ | |
Presumed: 16:3 | |
Expansion: 16:3 | |
Spelling: 16:3 | |
Roles: Ref,RelCont | |
Kind: CXXRecord | |
name: SD | |
16| SD sd{1}; | |
^ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment