[PATCH] D108265: .clang-tidy: Push variable related readability-identifier-naming options down to projects
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 22 13:28:22 PST 2022
MaskRay updated this revision to Diff 484955.
MaskRay edited the summary of this revision.
MaskRay added a comment.
Herald added a reviewer: bollu.
Herald added subscribers: yota9, ayermolo, StephenFan.
Herald added a reviewer: rafauler.
Herald added a reviewer: Amir.
Herald added a reviewer: maksfb.
Herald added a reviewer: njames93.
Herald added a project: All.
rebase
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108265/new/
https://reviews.llvm.org/D108265
Files:
.clang-tidy
bolt/.clang-tidy
clang-tools-extra/.clang-tidy
llvm/.clang-tidy
polly/.clang-tidy
Index: polly/.clang-tidy
===================================================================
--- /dev/null
+++ polly/.clang-tidy
@@ -0,0 +1,9 @@
+Checks: 'readability-identifier-naming'
+InheritParentConfig: true
+CheckOptions:
+ - key: readability-identifier-naming.ParameterCase
+ value: CamelCase
+ - key: readability-identifier-naming.UnionCase
+ value: CamelCase
+ - key: readability-identifier-naming.VariableCase
+ value: CamelCase
Index: llvm/.clang-tidy
===================================================================
--- llvm/.clang-tidy
+++ llvm/.clang-tidy
@@ -1 +1,9 @@
+Checks: 'readability-identifier-naming'
InheritParentConfig: true
+CheckOptions:
+ - key: readability-identifier-naming.ParameterCase
+ value: CamelCase
+ - key: readability-identifier-naming.UnionCase
+ value: CamelCase
+ - key: readability-identifier-naming.VariableCase
+ value: CamelCase
Index: clang-tools-extra/.clang-tidy
===================================================================
--- /dev/null
+++ clang-tools-extra/.clang-tidy
@@ -0,0 +1,9 @@
+Checks: 'readability-identifier-naming'
+InheritParentConfig: true
+CheckOptions:
+ - key: readability-identifier-naming.ParameterCase
+ value: CamelCase
+ - key: readability-identifier-naming.UnionCase
+ value: CamelCase
+ - key: readability-identifier-naming.VariableCase
+ value: CamelCase
Index: bolt/.clang-tidy
===================================================================
--- /dev/null
+++ bolt/.clang-tidy
@@ -0,0 +1,9 @@
+Checks: 'readability-identifier-naming'
+InheritParentConfig: true
+CheckOptions:
+ - key: readability-identifier-naming.ParameterCase
+ value: CamelCase
+ - key: readability-identifier-naming.UnionCase
+ value: CamelCase
+ - key: readability-identifier-naming.VariableCase
+ value: CamelCase
Index: .clang-tidy
===================================================================
--- .clang-tidy
+++ .clang-tidy
@@ -10,14 +10,8 @@
# throughout the code base.
- key: readability-identifier-naming.FunctionIgnoredRegexp
value: "LLVMFuzzerTestOneInput"
- - key: readability-identifier-naming.MemberCase
- value: CamelCase
- - key: readability-identifier-naming.ParameterCase
- value: CamelCase
- key: readability-identifier-naming.UnionCase
value: CamelCase
- - key: readability-identifier-naming.VariableCase
- value: CamelCase
- key: readability-identifier-naming.IgnoreMainLikeFunctions
value: 1
- key: readability-redundant-member-init.IgnoreBaseInCopyConstructors
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108265.484955.patch
Type: text/x-patch
Size: 2952 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221222/0bb179eb/attachment.bin>
More information about the llvm-commits
mailing list