mirror of
https://github.com/mborgerson/xemu.git
synced 2026-02-05 04:55:44 +00:00
.clang-tidy: Add basic .clang-tidy for identifier naming
This commit is contained in:
committed by
mborgerson
parent
2736bab0bd
commit
5a165cb0fc
24
.clang-tidy
Normal file
24
.clang-tidy
Normal file
@ -0,0 +1,24 @@
|
||||
---
|
||||
Checks: '-*,readability-identifier-naming'
|
||||
WarningsAsErrors: true
|
||||
CheckOptions:
|
||||
- key: readability-identifier-naming.VariableCase
|
||||
value: lower_case
|
||||
- key: readability-identifier-naming.MemberCase
|
||||
value: lower_case
|
||||
- key: readability-identifier-naming.ClassMemberPrefix
|
||||
value: m_
|
||||
- key: readability-identifier-naming.GlobalVariablePrefix
|
||||
value: g_
|
||||
- key: readability-identifier-naming.ConstantPrefix
|
||||
value: ''
|
||||
- key: readability-identifier-naming.EnumConstantCase
|
||||
value: UPPER_CASE
|
||||
- key: readability-identifier-naming.FunctionCase
|
||||
value: lower_case
|
||||
- key: readability-identifier-naming.MethodCase
|
||||
value: CamelCase
|
||||
- key: readability-identifier-naming.StructCase
|
||||
value: CamelCase
|
||||
- key: readability-identifier-naming.UnionCase
|
||||
value: CamelCase
|
||||
Reference in New Issue
Block a user