diff options
author | Emanuele Torre <torreemanuele6@gmail.com> | 2020-05-28 20:40:53 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-29 07:59:45 +0200 |
commit | 937d0be76219cb2d382f360c32bc970c859da065 (patch) | |
tree | bd1b71bb8da7a5dd2f4d65afa171ba267232fea0 /Libraries/LibCrypto | |
parent | 8e151ff33e3459f3d7f71feb429122424228fb31 (diff) | |
download | serenity-937d0be76219cb2d382f360c32bc970c859da065.zip |
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.
Diffstat (limited to 'Libraries/LibCrypto')
-rw-r--r-- | Libraries/LibCrypto/BigInt/UnsignedBigInteger.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibCrypto/BigInt/UnsignedBigInteger.h b/Libraries/LibCrypto/BigInt/UnsignedBigInteger.h index d28a938bb4..d19707fbc7 100644 --- a/Libraries/LibCrypto/BigInt/UnsignedBigInteger.h +++ b/Libraries/LibCrypto/BigInt/UnsignedBigInteger.h @@ -25,6 +25,7 @@ */ #pragma once + #include <AK/ByteBuffer.h> #include <AK/LogStream.h> #include <AK/String.h> @@ -45,7 +46,7 @@ public: { } - UnsignedBigInteger() {} + UnsignedBigInteger() { } static UnsignedBigInteger create_invalid(); |