projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4aba7e9
)
Add IgnoreBaseInCopyConstructors to .clang-tidy
author
Kazu Hirata
<kazu@google.com>
Mon, 3 Jan 2022 21:41:32 +0000
(13:41 -0800)
committer
Kazu Hirata
<kazu@google.com>
Mon, 3 Jan 2022 21:41:32 +0000
(13:41 -0800)
gcc issues warnings on copy constructors that do not explicitly
initialize the base class.
.clang-tidy
patch
|
blob
|
history
diff --git
a/.clang-tidy
b/.clang-tidy
index
3f2f2c0
..
1d4438d
100644
(file)
--- a/
.clang-tidy
+++ b/
.clang-tidy
@@
-16,4
+16,5
@@
CheckOptions:
value: CamelCase
- key: readability-identifier-naming.IgnoreMainLikeFunctions
value: 1
-
+ - key: readability-redundant-member-init.IgnoreBaseInCopyConstructors
+ value: 1