mirror of
https://github.com/RGBCube/serenity
synced 2025-10-26 23:32: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. |
||
|---|---|---|
| .. | ||
| Cpp | ||
| Shell | ||
| ClientConnection.cpp | ||
| ClientConnection.h | ||
| CMakeLists.txt | ||
| CodeComprehensionEngine.cpp | ||
| CodeComprehensionEngine.h | ||
| FileDB.cpp | ||
| FileDB.h | ||
| LanguageClient.ipc | ||
| LanguageServer.ipc | ||