forked from modelon-community/sundials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
51 lines (51 loc) · 2.39 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
# ------------------------------------------------------------------------------
# SUNDIALS Copyright Start
# Copyright (c) 2002-2022, Lawrence Livermore National Security
# and Southern Methodist University.
# All rights reserved.
#
# See the top-level LICENSE and NOTICE files for details.
#
# SPDX-License-Identifier: BSD-3-Clause
# SUNDIALS Copyright End
# ------------------------------------------------------------------------------
# clang-tidy configuration file
# This should be applied to all new code. See the developer documentation.
# ------------------------------------------------------------------------------
---
Checks: '-*,clang-diagnostic-*,clang-analyzer-*,cppcoreguidelines-*,-cppcoreguidelines-explicit-virtual-functions,-cppcoreguidelines-pro-bounds-pointer-arithmetic,google-*,-google-explicit-constructor,modernize-*,-modernize-use-trailing-return-type,mpi-*'
WarningsAsErrors: ''
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
FormatStyle: none
CheckOptions:
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
value: 'true'
- key: llvm-else-after-return.WarnOnConditionVariables
value: 'false'
- key: llvm-qualified-auto.AddConstToQualified
value: 'false'
- key: llvm-else-after-return.WarnOnUnfixable
value: 'false'
- key: modernize-loop-convert.MinConfidence
value: reasonable
- key: modernize-use-override.IgnoreDestructors
value: 'true'
- key: modernize-replace-auto-ptr.IncludeStyle
value: llvm
- key: google-readability-namespace-comments.ShortNamespaceLines
value: '10'
- key: google-readability-braces-around-statements.ShortStatementLines
value: '1'
- key: google-readability-namespace-comments.SpacesBeforeComments
value: '2'
- key: google-readability-function-size.StatementThreshold
value: '800'
- key: modernize-loop-convert.MaxCopySize
value: '16'
- key: modernize-pass-by-value.IncludeStyle
value: llvm
- key: modernize-use-nullptr.NullMacros
value: 'NULL'
- key: modernize-loop-convert.NamingStyle
value: CamelCase