1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:28:11 +00:00
serenity/Libraries/LibLine
Emanuele Torre 937d0be762 Meta: Add a script check the presence of "#pragma once" in header files
.. and make travis run it.

I renamed check-license-headers.sh to check-style.sh and expanded it so
that it now also checks for the presence of "#pragma once" in .h files.

It also checks the presence of a (single) blank line above and below the
"#pragma once" line.

I also added "#pragma once" to all the files that need it: even the ones
we are not check.
I also added/removed blank lines in order to make the script not fail.

I also ran clang-format on the files I modified.
2020-05-29 07:59:45 +02:00
..
CMakeLists.txt LibLine: Refactor suggestion handling and display logic out 2020-05-23 01:31:41 +02:00
Editor.cpp LibLine: Send over some properties when being inspected 2020-05-27 11:13:02 +02:00
Editor.h LibLine: Send over some properties when being inspected 2020-05-27 11:13:02 +02:00
Span.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
Style.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
SuggestionDisplay.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
SuggestionManager.cpp LibLine: Make the comments follow the project style 2020-05-23 01:31:41 +02:00
SuggestionManager.h Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
VT.h LibLine: Refactor suggestion handling and display logic out 2020-05-23 01:31:41 +02:00
XtermSuggestionDisplay.cpp LibLine: Make the comments follow the project style 2020-05-23 01:31:41 +02:00