summaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy24
1 files changed, 7 insertions, 17 deletions
diff --git a/.clang-tidy b/.clang-tidy
index cbea2d8..1a15411 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -3,24 +3,14 @@
Checks: >
*,
- -*-magic-numbers,
- -*-narrowing-conversions,
- -*-uppercase-literal-suffix,
-altera-*,
- -bugprone-easily-swappable-parameters,
- -bugprone-macro-parentheses,
- -bugprone-suspicious-string-compare,
- -cert-err33-c,
- -cert-err34-c,
- -clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling,
- -clang-analyzer-unix.Malloc,
- -hicpp-signed-bitwise,
- -llvm-header-guard,
+ -clang-diagnostic-unused-macros,
-llvmlibc-*,
- -misc-no-recursion,
- -performance-no-int-to-ptr,
- -readability-function-cognitive-complexity,
- -readability-identifier-length,
+CheckOptions:
+ - key: hicpp-uppercase-literal-suffix.NewSuffixes
+ value: 'L;U;UL;ULL'
+ - key: readability-uppercase-literal-suffix.NewSuffixes
+ value: 'L;U;UL;ULL'
WarningsAsErrors: '*'
-HeaderFilterRegex: '.*'
+HeaderFilterRegex: '.*/sratom/[^/]+.h'
FormatStyle: file