-
Notifications
You must be signed in to change notification settings - Fork 44
/
.clang-tidy
55 lines (54 loc) · 1.7 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# ---------------------------------------------*-yaml-*------------------------------------------- #
# File: .clang-tidy
# Author: Kelly Thompson <[email protected]>
# Date: Friday, Feb 18, 2022, 07:08 am
# Purpose: Configurations settings for clang-tidy
# Note: Copyright (C) 2022 Triad National Security, LLC., All rights reserved.
#
# Recommneded settings are borrowed from
# https://github.com/cpp-best-practices/cpp_starter_project/blob/main/.clang-tidy which recommends
# that we enable this list of checks (but our code isn't ready):
#
# hicpp-*
# readability-*
# cppcoreguidelines-*
# cert-*
# bugprone-*
# concurrency-*
#
# How checks are set:
#
# * line 1: '*' enables all checks
# * next lines: -check-* disables whole groups of checks
# * next lines: -check-full-name disables more specific checks from group previously enabled.
# * next lines: check-full-name enables specific checks for groups that are disabled.
#
# Trying to add hicpp-*
# ------------------------------------------------------------------------------------------------ #
---
Checks: "*,
-abseil-*,
-altera-*,
-android-*,
-bugprone-*,
-cert-*,
-concurrency-*,
-cppcoreguidelines-*,
-fuchsia-*,
-google-*,
-llvm*,
-readability-*,
-zircon-*,
-hicpp-braces-around-statements,
-hicpp-vararg,
-misc-definitions-in-headers,
-misc-non-private-member-variables-in-classes,
-misc-no-recursion,
-modernize-use-trailing-return-type,
-portability-simd-intrinsics,
bugprone-argument-comment,
bugprone-assert-side-effect,
"
WarningsAsErrors: ''
HeaderFilterRegex: '.*[.]hh'
FormatStyle: none