Andrew Gaul
|
65e4aef2a1
|
Prefer C++-style casts over C-style casts (#2599)
The former are easier to identify. Found via clang-tidy.
Co-authored-by: Takeshi Nakatani <ggtakec@gmail.com>
|
2024-12-01 10:29:08 +09:00 |
|
Andrew Gaul
|
9a155c81a7
|
Enable clang-analyzer (#2588)
Also fix a few smaller issues.
|
2024-11-04 23:58:43 +09:00 |
|
Andrew Gaul
|
cc5271ef2b
|
Enable clang-tidy narrowing conversions (#2564)
|
2024-10-22 19:55:10 +09:00 |
|
Andrew Gaul
|
141d74f187
|
Use auto for iterator variable types (#2554)
This touches a few other long type names. Applied via clang-tidy
-fix.
|
2024-10-18 21:57:52 +09:00 |
|
Andrew Gaul
|
15e2eae69a
|
Address clang-tidy 19 warnings (#2540)
|
2024-10-13 10:09:47 +09:00 |
|
Andrew Gaul
|
a259981f16
|
Enable cppcoreguidelines-pro-type-const-cast (#2537)
This fixes dangerous uses of const_cast.
|
2024-10-06 18:40:48 +09:00 |
|
Andrew Gaul
|
df5364d758
|
Enable readability-implicit-bool-conversion (#2530)
This fixes one real error, one misreported EPERM, and some false
positives. References #2529.
|
2024-09-28 15:28:50 +09:00 |
|
Andrew Gaul
|
a6637b29e6
|
Opt in to all clang-tidy checks by default (#2477)
Opt out of the noisy checks. Disable clang-tidy on Debian bullseye
and buster and Ubuntu 20.04 due to segfaults.
|
2024-07-01 22:29:34 +09:00 |
|
Andrew Gaul
|
1449905fe5
|
Make deleted constructors and operators public (#2479)
Deleting them better conveys the intent.
|
2024-06-24 08:26:24 +09:00 |
|
Andrew Gaul
|
254d717a4a
|
Address clang-tidy 19 warnings (#2474)
|
2024-06-23 12:21:51 +09:00 |
|
Andrew Gaul
|
86e6bdaf4d
|
Apply clang-tidy to headers (#2470)
|
2024-06-23 11:49:59 +09:00 |
|
Andrew Gaul
|
c97f7a2a13
|
Address clang-tidy 18 warnings (#2428)
|
2024-03-07 01:04:22 +09:00 |
|
Andrew Gaul
|
43f81b76af
|
Enable clang-tidy CERT warnings (#2371)
|
2023-11-19 10:00:42 +09:00 |
|
Andrew Gaul
|
68bbfee8ea
|
Address clang-tidy modernize-deprecated-headers (#2370)
|
2023-11-19 10:00:16 +09:00 |
|
Andrew Gaul
|
4845831f93
|
Convert some const to constexpr (#2342)
This guarantees that the function or value will resolve at compile-time.
|
2023-11-14 22:15:17 +09:00 |
|
Andrew Gaul
|
0cd73e406d
|
Address clang-tidy 17 warnings (#2362)
|
2023-11-12 11:48:08 +09:00 |
|
Andrew Gaul
|
c65ce8a42c
|
Add clang-tidy to CI (#2270)
|
2023-08-17 22:42:11 +09:00 |
|
Andrew Gaul
|
6823c5a7ec
|
Enable clang-tidy cppcoreguidelines (#2269)
|
2023-08-15 22:12:33 +09:00 |
|
Andrew Gaul
|
5699875e30
|
Use C++11 emplace where possible (#2240)
This is more concise and sometimes more efficient.
|
2023-07-30 22:51:20 +09:00 |
|
Andrew Gaul
|
a7b38a6940
|
Address stray warnings (#2237)
|
2023-07-29 09:19:18 +09:00 |
|
Andrew Gaul
|
a4a2841c05
|
Use C++11 nullptr instead of 0 or NULL (#2234)
This improves type-safety.
|
2023-07-27 21:56:58 +09:00 |
|
Andrew Gaul
|
59c3b26655
|
Fix clang-tidy 16 nits (#2158)
|
2023-05-14 01:59:26 +09:00 |
|
Andrew Gaul
|
956eb77369
|
Updates for clang-tidy 15 (#2058)
|
2022-11-21 23:29:35 +09:00 |
|
Andrew Gaul
|
3e242d0bad
|
Avoid C-style casts (#2015)
Prefer more precise C++-style casts.
|
2022-07-30 22:35:27 +09:00 |
|
Andrew Gaul
|
53d1b04cc2
|
Add new suppressions for clang-tidy 13 (#1847)
|
2022-01-09 21:42:36 +09:00 |
|
Andrew Gaul
|
cb9148f6cd
|
Update for clang-tidy 12 (#1644)
|
2021-05-03 09:43:18 +09:00 |
|
Andrew Gaul
|
543231c9f2
|
Address warnings from clang-tidy 11 (#1470)
|
2020-11-09 21:15:20 +09:00 |
|
Andrew Gaul
|
e0712f444d
|
Update source for clang-tidy 9.0.0
|
2020-01-13 20:56:45 +09:00 |
|
Andrew Gaul
|
efff9c01a6
|
Avoid misplaced const via removing unneeded typedef
Found via clang-tidy.
|
2019-07-12 03:41:19 -07:00 |
|
Andrew Gaul
|
bbfa91141a
|
Configure clang-tidy target
Also fix nits.
|
2019-07-03 14:04:11 -07:00 |
|
Andrew Gaul
|
e87e40b3b4
|
Address miscellaneous clang-tidy warnings
Also add configuration with suppressions.
|
2019-02-04 22:58:40 -08:00 |
|