aboutsummaryrefslogtreecommitdiffstats
path: root/.clang-tidy
diff options
context:
space:
mode:
authorIvan Komissarov <abbapoh@gmail.com>2020-04-04 14:43:49 +0200
committerIvan Komissarov <ABBAPOH@gmail.com>2020-04-27 10:07:51 +0000
commitfbbddb1b67ab30b1c73a9ff1ae41ee5e344c0197 (patch)
tree78f1b6a5c82d2893f737f82699f27a7d1374e017 /.clang-tidy
parent37c992559fc79fd73828b653f80d0f2c3234568f (diff)
clang-tidy: Fix 'cppcoreguidelines-pro-type-member-init' warnings
Also, fix undefined behavior when setting and reading different field of a union (Lexer, Token) - according to the C++ Standard, it is not allowed to use a union to zero members of a struct. Treat these warnings as errors now. Change-Id: I0f6d071217ef55e2c75c51138fcff47048eca62f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy2
1 files changed, 1 insertions, 1 deletions
diff --git a/.clang-tidy b/.clang-tidy
index e5280b42c..081f0e9ad 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -57,7 +57,7 @@ Checks: >
WarningsAsErrors: >
bugprone-*,
- cppcoreguidelines-pro-type-cstyle-cast,
+ cppcoreguidelines-*,
google-*,
misc-unused-*,
modernize-*,