-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clang-tidy
More file actions
39 lines (35 loc) · 1.01 KB
/
.clang-tidy
File metadata and controls
39 lines (35 loc) · 1.01 KB
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
# NekoCode用 Clang-Tidy設定
---
Checks: >
-*,
bugprone-*,
-bugprone-easily-swappable-parameters,
modernize-*,
-modernize-use-trailing-return-type,
performance-*,
readability-*,
-readability-magic-numbers,
misc-unused-*,
misc-definitions-in-headers,
cppcoreguidelines-*,
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-pro-bounds-pointer-arithmetic
WarningsAsErrors: ''
# ヘッダーフィルター(解析対象)
HeaderFilterRegex: '.*\.(h|hpp)$'
# 自動修正時のフォーマット
FormatStyle: 'file'
# チェック固有の設定
CheckOptions:
- key: modernize-use-nullptr.NullMacros
value: 'NULL'
- key: performance-move-const-arg.CheckTriviallyCopyableMove
value: '1'
- key: readability-identifier-naming.ClassCase
value: 'CamelCase'
- key: readability-identifier-naming.FunctionCase
value: 'camelCase'
- key: readability-identifier-naming.VariableCase
value: 'lower_case'
- key: readability-identifier-naming.MemberCase
value: 'lower_case_'