コミットグラフ

10 コミット

作成者 SHA1 メッセージ 日付
Matthias J. Kannwischer
eb6c2058cc skip new clang-tidy checks
my new clang-tidy version comes with some quite restrictive checks that fail on
current code in PQClean.

I have disabled the following three:
https://releases.llvm.org/11.0.0/tools/clang/tools/extra/docs/clang-tidy/checks/llvmlibc-restrict-system-libc-headers.html
https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines-init-variables.html
https://clang.llvm.org/extra/clang-tidy/checks/bugprone-reserved-identifier.html
2020-11-19 16:09:18 +01:00
Thom Wiggers
a44e35dcaa
Disable buggy clang-tidy valist linters 2020-11-06 09:59:40 +01:00
Thom Wiggers
a655ec8a9d SPHINCS+ optimized implementations (#253)
* Add state destroy to SHA2 API

* Include optimized SPHINCS+ implementations

I've generated new implementations from the sphincsplus repository.

* Don't destroy sha256ctx after finalize

* Attempt to shut up MSVC

* Make sure to drop errors in rmtree
2019-12-12 14:29:29 +01:00
Matthias J. Kannwischer
138e06fec7 ignore new clang warning security.insecureAPI.DeprecatedOrUnsafeBufferHandling
clang9.0.0 (https://releases.llvm.org/9.0.0/tools/clang/docs/ReleaseNotes.html)
adds a new satic analyzer: security.insecureAPI.DeprecatedOrUnsafeBufferHandling
which throws warnings if you use "unsafe" buffer handling functions which
includes memset and memcpy.
We have memset and mempy all over the place, so I think it's best to ignore this warning.
All the occurences that I looked at seemed perfectly "safe" to me.
2019-10-23 08:00:26 +02:00
Thom Wiggers
993803e02d Ignore pointless clang-tidy warning. (#237)
* Ignore pointless clang-tidy warning.

It wants you to write type suffixes for integers using uppercase. Let's
just disable this warning.

https://clang.llvm.org/extra/clang-tidy/checks/readability-uppercase-literal-suffix.html

* Clean up bugprone-narrowing-conversion
2019-09-23 17:16:58 +02:00
Joost Rijneveld
73f40e4147
Allow TODO without username / bug numbers 2019-04-05 17:53:30 +02:00
Douglas Stebila
e153dfdf56 Apply clang-tidy 2019-03-21 23:40:12 -04:00
Thom Wiggers
5fd11050ff
Remove google-readability-todo lint 2019-03-06 17:15:23 +01:00
Thom Wiggers
4d0082fa43
Add travis config
Also fixes some tidy issues

Not sure why my local clang-tidy doesn't complain
2019-01-16 14:54:24 +01:00
Thom Wiggers
b22a21c08a
Add clang-tidy, only require SCHEME where needed 2019-01-16 10:45:27 +01:00