[PATCH] D111525: [fir] Update clang-tidy for the Optimizer directory
Valentin Clement via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 11 01:32:06 PDT 2021
clementval updated this revision to Diff 378590.
clementval added a comment.
Add flang/inlude/flang/Optmizer/.clang-tidy
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111525/new/
https://reviews.llvm.org/D111525
Files:
flang/include/flang/Optimizer/.clang-tidy
flang/lib/Optimizer/.clang-tidy
Index: flang/lib/Optimizer/.clang-tidy
===================================================================
--- flang/lib/Optimizer/.clang-tidy
+++ flang/lib/Optimizer/.clang-tidy
@@ -1,9 +1,19 @@
Checks: '-readability-braces-around-statements,readability-identifier-naming,llvm-include-order,clang-diagnostic-*'
InheritParentConfig: true
CheckOptions:
+ - key: readability-identifier-naming.ClassCase
+ value: CamelCase
+ - key: readability-identifier-naming.EnumCase
+ value: CamelCase
+ - key: readability-identifier-naming.FunctionCase
+ value: camelBack
- key: readability-identifier-naming.MemberCase
value: camelBack
- key: readability-identifier-naming.ParameterCase
value: camelBack
+ - key: readability-identifier-naming.UnionCase
+ value: CamelCase
- key: readability-identifier-naming.VariableCase
value: camelBack
+ - key: readability-identifier-naming.IgnoreMainLikeFunctions
+ value: 1
Index: flang/include/flang/Optimizer/.clang-tidy
===================================================================
--- flang/include/flang/Optimizer/.clang-tidy
+++ flang/include/flang/Optimizer/.clang-tidy
@@ -1,9 +1,19 @@
Checks: '-readability-braces-around-statements,readability-identifier-naming,llvm-include-order,clang-diagnostic-*'
InheritParentConfig: true
CheckOptions:
+ - key: readability-identifier-naming.ClassCase
+ value: CamelCase
+ - key: readability-identifier-naming.EnumCase
+ value: CamelCase
+ - key: readability-identifier-naming.FunctionCase
+ value: camelBack
- key: readability-identifier-naming.MemberCase
value: camelBack
- key: readability-identifier-naming.ParameterCase
value: camelBack
+ - key: readability-identifier-naming.UnionCase
+ value: CamelCase
- key: readability-identifier-naming.VariableCase
value: camelBack
+ - key: readability-identifier-naming.IgnoreMainLikeFunctions
+ value: 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111525.378590.patch
Type: text/x-patch
Size: 2276 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211011/d031c56e/attachment.bin>
More information about the llvm-commits
mailing list