mirror of
https://github.com/xemu-project/xemu.git
synced 2026-07-11 01:24:41 +02:00
.clang-tidy: Add basic .clang-tidy for identifier naming
This commit is contained in:
committed by
mborgerson
parent
2736bab0bd
commit
5a165cb0fc
+24
@@ -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