forked from pisan343/ass1-turtleprogram-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
26 lines (22 loc) · 1.59 KB
/
.clang-tidy
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
# Configuration options for clang-tidy
# CSS Linux machines, Sep 2019: LLVM version 3.8.1
#
# usage: clang-tidy *.cpp -- -std=c++14
#
#
---
# See https://clang.llvm.org/extra/clang-tidy/#using-clang-tidy for all possible checks
Checks: '*,-fuchsia-*,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-google-build-using-namespace,-google-readability-braces-around-statements,-readability-braces-around-statements,-readability-braces-around-statements,-hicpp-no-array-decay,-modernize-use-trailing-return-type,-hicpp-braces-around-statements,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-llvm-header-guard,-google-global-names-in-headers,-cppcoreguidelines-special-member-functions,-hicpp-special-member-functions,-cppcoreguidelines-owning-memory'
HeaderFilterRegex: '.*'
# Based on LLVM style in https://llvm.org/docs/CodingStandards.html#the-low-level-issues
CheckOptions:
- { key: readability-identifier-naming.ClassCase, value: CamelCase }
- { key: readability-identifier-naming.StructCase, value: CamelCase }
- { key: readability-identifier-naming.EnumCase, value: CamelCase }
- { key: readability-identifier-naming.VariableCase, value: CamelCase }
- { key: readability-identifier-naming.GlobalConstantCase, value: UPPER_CASE }
- { key: readability-identifier-naming.FunctionCase, value: camelBack }
- { key: readability-identifier-naming.PublicMethodCase, value: camelBack }
- { key: readability-identifier-naming.PrivateMethodCase, value: camelBack }
- { key: readability-identifier-naming.PublicMemberCase, value: CamelCase }
...