1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-29 01:22:11 +00:00
serenity/Userland/Libraries/LibCpp
Itamar 0c4dc00f01 LibCpp: Import definitions from headers while processing
When the preprocessor encounters an #include statement it now adds
the preprocessor definitions that exist in the included header to its
own set of definitions.

We previously only aggregated the definitions from headers after
processing the source, which was less correct. (For example, there
could be an #ifdef that depends on a definition from another header).
2021-08-07 21:24:11 +02:00
..
Tests LibCpp: Fix positional information of Pointer types 2021-07-04 17:50:33 +02:00
AST.cpp LibCpp: Add support for parsing function types 2021-08-02 01:03:59 +02:00
AST.h LibCpp: Add support for parsing function types 2021-08-02 01:03:59 +02:00
CMakeLists.txt LibCpp: Move Cpp::Token to a separate file 2021-03-13 10:17:02 +01:00
Lexer.cpp LibCpp: Support initializing the lexer with a "start line" 2021-08-07 21:24:11 +02:00
Lexer.h LibCpp: Support initializing the lexer with a "start line" 2021-08-07 21:24:11 +02:00
Parser.cpp LibCpp: Import definitions from headers while processing 2021-08-07 21:24:11 +02:00
Parser.h LibCpp: Import definitions from headers while processing 2021-08-07 21:24:11 +02:00
Preprocessor.cpp LibCpp: Import definitions from headers while processing 2021-08-07 21:24:11 +02:00
Preprocessor.h LibCpp: Import definitions from headers while processing 2021-08-07 21:24:11 +02:00
SyntaxHighlighter.cpp LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
SyntaxHighlighter.h LibWeb+LibSyntax: Implement nested syntax highlighters 2021-06-07 14:45:49 +04:30
Token.cpp LibCpp: Modify Token::to_string() to include more information 2021-05-22 15:52:11 +02:00
Token.h LibCpp: Modify Token::to_string() to include more information 2021-05-22 15:52:11 +02:00