Displaying 1 result from an estimated 1 matches for "endsourcefile".
2012 Jul 19
0
[LLVMdev] Help me do Hacking Clang source code
Hi list,
I am now started to read Clang source code.
And I found any conversion from input file(.c, .i, .s) to the output
file(.i, .s, .o) is done the process below.
- FrontAction::BeginSourceFile()
- FrontAction::Execute
- FrontAction::EndSourceFile()
And I drew some activity diagram below.
http://www.opencpp.kr/behavior_of_clang.html
>From the diagram I can guess that these are main actors in the movie, Clang.
- Diagnostic client
- Action
- Preprocessor
- Consumer of AST and AST
- File and Source Manager
Because Clang is well-structur...