1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 17:44:56 +09:00
ladybird/Libraries
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
..
LibAudio Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibC Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
LibCore Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
LibCrypto Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
LibDebug Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
LibDesktop LaunchServer: Discover handlers from *.af files, allow launching based on a known handler 2020-05-18 11:27:27 +02:00
LibELF Kernel: Absorb LibBareMetal back into the kernel 2020-05-16 12:00:04 +02:00
LibGemini Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
LibGfx Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
LibGUI Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
LibHTTP Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
LibIPC Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibJS Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
LibLine Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
LibM LibM: Add M_SQRT2 and M_SQRT1_2 2020-05-24 23:30:12 +02:00
LibMarkdown Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibPCIDB Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibProtocol ProtocolServer: Support request headers 2020-05-21 12:27:42 +02:00
LibPthread Revert "Build: Include headers from LibC, LibM, and LibPthread with -isystem" 2020-05-20 16:24:26 +02:00
LibTextCodec LibTextCodec: Improve Latin-1 decoder so it decodes everything 2020-05-27 19:52:18 +02:00
LibThread Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
LibTLS LibCrypto+LibTLS: Use AK/Random.h 2020-05-27 12:28:17 +02:00
LibUnwind LibUnwind: Create UnwindBase.h to capture the EH ABI in code 2020-05-14 08:50:10 +02:00
LibVT LibVT: Move most of key press handling logic into VT::Terminal 2020-05-27 11:19:38 +02:00
LibWeb Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
LibX86 Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
CMakeLists.txt Revert "LibC: Implement Itanium C++ ABI for static variable guards" 2020-05-20 16:24:26 +02:00