mirror of
https://github.com/RGBCube/serenity
synced 2025-05-21 04:45:07 +00:00
![]() This patch prevents CppComprehensionEngine from endlessly looping when there's a circular #include in the code. We now keep track of the set of currently processed files, and will not re-process a file if it already exists in this set. When we're done with processing a file it is removed from this set. The pragma once directive is not yet implemented, but regardless a mechanism that prevents #include loops even in the absence of pragma once is desired. |
||
---|---|---|
.. | ||
Tests | ||
ClientConnection.h | ||
CMakeLists.txt | ||
CppComprehensionEngine.cpp | ||
CppComprehensionEngine.h | ||
main.cpp | ||
Tests.cpp | ||
Tests.h |