1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 16:18:12 +00:00
serenity/Userland/DevTools/HackStudio
Itamar c3c2fe153b LibCpp: Add "ignore invalid statements" option to Preprocessor
When we run the Preprocessor from the CppComprehensionEngine of
the language server, we don't want the preprocessor to crash if it
encounters an invalid preprocessor statement (for example, an #endif
statement without an accompanying previous #if statement).

To achieve this, this commit adds an "ignore_invalid_statements" flag
to the preprocessor which is set by the CppComprehensionEngine.

Fixes #11064.
2021-12-03 15:38:21 +01:00
..
Debugger LibCore+AK: Move MappedFile from AK to LibCore 2021-11-23 11:33:36 +01:00
Dialogs Userland+LibGUI: Add shorthand versions of the Margins constructor 2021-08-18 10:30:50 +02:00
Git LibGfx: Use ErrorOr<T> for Bitmap::try_load_from_file() 2021-11-08 00:35:27 +01:00
LanguageClients Userland: Mark subclasses of IPC::{Client,Server}Connection final 2021-05-23 09:53:55 +02:00
LanguageServers LibCpp: Add "ignore invalid statements" option to Preprocessor 2021-12-03 15:38:21 +01:00
AutoCompleteResponse.h LibIPC+IPCCompiler+AK: Make IPC value decoders return ErrorOr<void> 2021-11-28 23:14:19 +01:00
ClassViewWidget.cpp HackStudio: Add comment about lexicographical insertion to ClassView 2021-06-04 19:29:22 +02:00
ClassViewWidget.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
CMakeLists.txt HackStudio: Port to LibMain :^) 2021-11-26 11:13:59 -08:00
CodeDocument.cpp HackStudio: Add statusbar with file and selected text information 2021-07-16 12:58:20 +02:00
CodeDocument.h HackStudio: Add statusbar with file and selected text information 2021-07-16 12:58:20 +02:00
Editor.cpp LibGfx: Use ErrorOr<T> for Bitmap::try_load_from_file() 2021-11-08 00:35:27 +01:00
Editor.h Everywhere: Fix more Copyright header inconsistencies 2021-10-04 11:10:09 +01:00
EditorWrapper.cpp HackStudio: Reuse TextDocument::is_modified() 2021-09-10 00:00:53 +02:00
EditorWrapper.h HackStudio: Reuse TextDocument::is_modified() 2021-09-10 00:00:53 +02:00
FindInFilesWidget.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
FindInFilesWidget.h HackStudio: Make FindInFilesWidget reset when opening new project 2021-08-22 10:30:06 +02:00
GMLPreviewWidget.cpp HackStudio: Add GML Preview action tab 2021-07-29 11:33:16 +02:00
GMLPreviewWidget.h HackStudio: Add GML Preview action tab 2021-07-29 11:33:16 +02:00
HackStudio.h HackStudio: Add HackStudio::for_each_open_file 2021-12-03 15:38:21 +01:00
HackStudioWidget.cpp HackStudio: Add HackStudio::for_each_open_file 2021-12-03 15:38:21 +01:00
HackStudioWidget.h HackStudio: Add HackStudio::for_each_open_file 2021-12-03 15:38:21 +01:00
Language.cpp HackStudio: Add syntax-highlighting for CSS files 2021-10-23 19:07:44 +02:00
Language.h HackStudio: Add syntax-highlighting for CSS files 2021-10-23 19:07:44 +02:00
LanguageClient.cpp HackStudio: Decrease the maximal crash frequency of the server to 10 sec 2021-12-03 15:38:21 +01:00
LanguageClient.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Locator.cpp LibGUI+Applications: Rename Model::is_valid to is_within_range 2021-08-06 21:03:53 +02:00
Locator.h HackStudio: Remove unused #include 2021-11-02 17:53:22 +01:00
main.cpp HackStudio: Add HackStudio::for_each_open_file 2021-12-03 15:38:21 +01:00
Project.cpp HackStudio: Add option to inspect Coredump 2021-11-20 21:22:24 +00:00
Project.h HackStudio: Add option to inspect Coredump 2021-11-20 21:22:24 +00:00
ProjectDeclarations.cpp LibGfx: Use ErrorOr<T> for Bitmap::try_load_from_file() 2021-11-08 00:35:27 +01:00
ProjectDeclarations.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProjectFile.cpp HackStudio: Remove unused includes 2021-06-02 23:15:52 +01:00
ProjectFile.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
ProjectTemplate.cpp LibCore: Use ErrorOr<T> for Core::File::copy_file() 2021-11-08 00:35:27 +01:00
ProjectTemplate.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TerminalWrapper.cpp Terminal+LibVT: Use LibConfig instead of Core::ConfigFile 2021-08-26 00:54:27 +02:00
TerminalWrapper.h HackStudio: Clear embedded terminal upon opening a different project 2021-08-22 10:30:06 +02:00
ToDoEntries.cpp HackStudio: Clear ToDo entries upon opening new project 2021-08-22 10:30:06 +02:00
ToDoEntries.h HackStudio: Clear ToDo entries upon opening new project 2021-08-22 10:30:06 +02:00
ToDoEntriesWidget.cpp HackStudio: Clear ToDo entries upon opening new project 2021-08-22 10:30:06 +02:00
ToDoEntriesWidget.h HackStudio: Clear ToDo entries upon opening new project 2021-08-22 10:30:06 +02:00