blob: ffc37fe1fea7c08a49668ef7218fda2f034f708c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
Checks: >
-readability-identifier-naming
-bugprone-*
-performance-*
-modernize-*
-clang-analyzer-*
-misc-*
-cppcoreguidelines-*
CheckOptions:
# ---------- CLASS NAMES ----------
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.ClassPrefix
value: C
# ---------- MEMBER VARIABLES ----------
- key: readability-identifier-naming.MemberCase
value: CamelCase
- key: readability-identifier-naming.MemberPrefix
value: m_
# Allows suffixes like m_fFlySpeed, m_bCanFly, etc.
- key: readability-identifier-naming.MemberIgnoredRegex
value: '^m_[fbisacptr]*(.*)$'
# ---------- FUNCTION PARAMETERS ----------
- key: readability-identifier-naming.ParameterCase
value: CamelCase
- key: readability-identifier-naming.ParameterPrefix
value: p
# ---------- ENUMS & STRUCTS must be PascalCase ----------
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.StructCase
value: CamelCase
# ---------- GLOBAL & STATIC CONSTANTS ----------
- key: readability-identifier-naming.GlobalConstantPrefix
value: g_
- key: readability-identifier-naming.GlobalConstantCase
value: UPPER_CASE
WarningsAsErrors: '*'
FormatStyle: none
|