blob: e7896360bf6ebe171350fbc7af7084aa9e62a953 [file] [log] [blame]
Anthony Barbier6ff3b192017-09-04 18:44:23 +01001---
Michalis Spyroubcfd09a2019-05-01 13:03:59 +01002Checks: 'clang-diagnostic-*,clang-analyzer-*,*,-abseil-*,-fuchsia-*,-bugprone-*,-hicpp-*,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-pro-bounds-array-to-pointer-decay,-cppcoreguidelines-pro-bounds-constant-array-index,-cert-err58-cpp,-cppcoreguidelines-pro-type-reinterpret-cast,-google-runtime-references,-google-build-using-namespace,-readability-redundant-member-init,-readability-redundant-declaration,-readability-else-after-return,-performance-type-promotion-in-math-fn,-cert-err60-cpp,-cppcoreguidelines-narrowing-conversions,-readability-magic-numbers,-cppcoreguidelines-avoid-magic-numbers,-readability-named-parameter,-readability-implicit-bool-conversion,-readability-uppercase-literal-suffix,-clang-analyzer-optin.cplusplus.VirtualCall,-cppcoreguidelines-macro-usage'
Anthony Barbier6ff3b192017-09-04 18:44:23 +01003WarningsAsErrors: ''
4HeaderFilterRegex: ''
5AnalyzeTemporaryDtors: false
Michalis Spyroucd783472019-04-26 11:47:03 +01006CheckOptions:
7 - key: cert-dcl16-c.IgnoreMacros
8 value: '1'
9 - key: cert-dcl16-c.NewSuffixes
10 value: 'L;LL;LU;LLU'
Anthony Barbier6ff3b192017-09-04 18:44:23 +010011 - key: cert-dcl59-cpp.HeaderFileExtensions
Michalis Spyroucd783472019-04-26 11:47:03 +010012 value: ',h,hh,hpp,hxx'
Anthony Barbier6ff3b192017-09-04 18:44:23 +010013 - key: cert-err09-cpp.CheckThrowTemporaries
14 value: '1'
15 - key: cert-err61-cpp.CheckThrowTemporaries
16 value: '1'
Michalis Spyroucd783472019-04-26 11:47:03 +010017 - key: cert-msc32-c.DisallowedSeedTypes
18 value: 'time_t,std::time_t'
19 - key: cert-msc51-cpp.DisallowedSeedTypes
20 value: 'time_t,std::time_t'
Anthony Barbier6ff3b192017-09-04 18:44:23 +010021 - key: cert-oop11-cpp.IncludeStyle
22 value: llvm
Michalis Spyroucd783472019-04-26 11:47:03 +010023 - key: cppcoreguidelines-macro-usage.AllowedRegexp
24 value: '^DEBUG_*'
25 - key: cppcoreguidelines-macro-usage.CheckCapsOnly
Anthony Barbier6ff3b192017-09-04 18:44:23 +010026 value: '0'
Michalis Spyroucd783472019-04-26 11:47:03 +010027 - key: cppcoreguidelines-macro-usage.IgnoreCommandLineMacros
28 value: '1'
29 - key: cppcoreguidelines-no-malloc.Allocations
30 value: '::malloc;::calloc'
31 - key: cppcoreguidelines-no-malloc.Deallocations
32 value: '::free'
33 - key: cppcoreguidelines-no-malloc.Reallocations
34 value: '::realloc'
35 - key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
36 value: '1'
37 - key: cppcoreguidelines-owning-memory.LegacyResourceConsumers
38 value: '::free;::realloc;::freopen;::fclose'
39 - key: cppcoreguidelines-owning-memory.LegacyResourceProducers
40 value: '::malloc;::aligned_alloc;::realloc;::calloc;::fopen;::freopen;::tmpfile'
Anthony Barbier6ff3b192017-09-04 18:44:23 +010041 - key: cppcoreguidelines-pro-type-member-init.IgnoreArrays
42 value: '0'
Michalis Spyroucd783472019-04-26 11:47:03 +010043 - key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions
44 value: '0'
45 - key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
46 value: '0'
Anthony Barbier6ff3b192017-09-04 18:44:23 +010047 - key: google-build-namespaces.HeaderFileExtensions
Michalis Spyroucd783472019-04-26 11:47:03 +010048 value: ',h,hh,hpp,hxx'
Anthony Barbier6ff3b192017-09-04 18:44:23 +010049 - key: google-global-names-in-headers.HeaderFileExtensions
Michalis Spyroucd783472019-04-26 11:47:03 +010050 value: ',h,hh,hpp,hxx'
Anthony Barbier6ff3b192017-09-04 18:44:23 +010051 - key: google-readability-braces-around-statements.ShortStatementLines
52 value: '1'
53 - key: google-readability-function-size.BranchThreshold
54 value: '4294967295'
55 - key: google-readability-function-size.LineThreshold
56 value: '4294967295'
Michalis Spyroucd783472019-04-26 11:47:03 +010057 - key: google-readability-function-size.NestingThreshold
58 value: '4294967295'
59 - key: google-readability-function-size.ParameterThreshold
60 value: '4294967295'
Anthony Barbier6ff3b192017-09-04 18:44:23 +010061 - key: google-readability-function-size.StatementThreshold
62 value: '800'
Michalis Spyroucd783472019-04-26 11:47:03 +010063 - key: google-readability-function-size.VariableThreshold
64 value: '4294967295'
Anthony Barbier6ff3b192017-09-04 18:44:23 +010065 - key: google-readability-namespace-comments.ShortNamespaceLines
66 value: '10'
67 - key: google-readability-namespace-comments.SpacesBeforeComments
68 value: '2'
69 - key: google-runtime-int.SignedTypePrefix
70 value: int
71 - key: google-runtime-int.TypeSuffix
72 value: ''
73 - key: google-runtime-int.UnsignedTypePrefix
74 value: uint
Anthony Barbier6ff3b192017-09-04 18:44:23 +010075 - key: llvm-namespace-comment.ShortNamespaceLines
76 value: '1'
77 - key: llvm-namespace-comment.SpacesBeforeComments
78 value: '1'
Anthony Barbier6ff3b192017-09-04 18:44:23 +010079 - key: misc-definitions-in-headers.HeaderFileExtensions
80 value: ',h,hh,hpp,hxx'
81 - key: misc-definitions-in-headers.UseHeaderFileExtension
82 value: '1'
Anthony Barbier6ff3b192017-09-04 18:44:23 +010083 - key: misc-throw-by-value-catch-by-reference.CheckThrowTemporaries
84 value: '1'
Michalis Spyroucd783472019-04-26 11:47:03 +010085 - key: misc-unused-parameters.StrictMode
86 value: '0'
Anthony Barbier6ff3b192017-09-04 18:44:23 +010087 - key: modernize-loop-convert.MaxCopySize
88 value: '16'
89 - key: modernize-loop-convert.MinConfidence
90 value: reasonable
91 - key: modernize-loop-convert.NamingStyle
92 value: CamelCase
Michalis Spyroucd783472019-04-26 11:47:03 +010093 - key: modernize-make-shared.IgnoreMacros
94 value: '1'
95 - key: modernize-make-shared.IncludeStyle
96 value: '0'
97 - key: modernize-make-shared.MakeSmartPtrFunction
98 value: 'std::make_shared'
99 - key: modernize-make-shared.MakeSmartPtrFunctionHeader
100 value: memory
101 - key: modernize-make-unique.IgnoreMacros
102 value: '1'
103 - key: modernize-make-unique.IncludeStyle
104 value: '0'
105 - key: modernize-make-unique.MakeSmartPtrFunction
106 value: 'std::make_unique'
107 - key: modernize-make-unique.MakeSmartPtrFunctionHeader
108 value: memory
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100109 - key: modernize-pass-by-value.IncludeStyle
110 value: llvm
111 - key: modernize-pass-by-value.ValuesOnly
112 value: '0'
Michalis Spyroucd783472019-04-26 11:47:03 +0100113 - key: modernize-raw-string-literal.ReplaceShorterLiterals
114 value: '0'
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100115 - key: modernize-replace-auto-ptr.IncludeStyle
116 value: llvm
Michalis Spyroucd783472019-04-26 11:47:03 +0100117 - key: modernize-replace-random-shuffle.IncludeStyle
118 value: llvm
119 - key: modernize-use-auto.MinTypeNameLength
120 value: '5'
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100121 - key: modernize-use-auto.RemoveStars
122 value: '0'
Michalis Spyroucd783472019-04-26 11:47:03 +0100123 - key: modernize-use-default-member-init.IgnoreMacros
124 value: '1'
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100125 - key: modernize-use-default-member-init.UseAssignment
126 value: '0'
127 - key: modernize-use-emplace.ContainersWithPushBack
128 value: '::std::vector;::std::list;::std::deque'
129 - key: modernize-use-emplace.SmartPointers
130 value: '::std::shared_ptr;::std::unique_ptr;::std::auto_ptr;::std::weak_ptr'
Michalis Spyroucd783472019-04-26 11:47:03 +0100131 - key: modernize-use-emplace.TupleMakeFunctions
132 value: '::std::make_pair;::std::make_tuple'
133 - key: modernize-use-emplace.TupleTypes
134 value: '::std::pair;::std::tuple'
135 - key: modernize-use-equals-default.IgnoreMacros
136 value: '1'
137 - key: modernize-use-equals-delete.IgnoreMacros
138 value: '1'
139 - key: modernize-use-nodiscard.ReplacementString
140 value: '[[nodiscard]]'
141 - key: modernize-use-noexcept.ReplacementString
142 value: ''
143 - key: modernize-use-noexcept.UseNoexceptFalse
144 value: '1'
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100145 - key: modernize-use-nullptr.NullMacros
146 value: 'NULL'
147 - key: modernize-use-transparent-functors.SafeMode
148 value: '0'
Michalis Spyroucd783472019-04-26 11:47:03 +0100149 - key: modernize-use-using.IgnoreMacros
150 value: '1'
151 - key: objc-forbidden-subclassing.ForbiddenSuperClassNames
152 value: 'ABNewPersonViewController;ABPeoplePickerNavigationController;ABPersonViewController;ABUnknownPersonViewController;NSHashTable;NSMapTable;NSPointerArray;NSPointerFunctions;NSTimer;UIActionSheet;UIAlertView;UIImagePickerController;UITextInputMode;UIWebView'
153 - key: objc-property-declaration.Acronyms
154 value: ''
155 - key: objc-property-declaration.IncludeDefaultAcronyms
156 value: '1'
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100157 - key: performance-faster-string-find.StringLikeClasses
158 value: 'std::basic_string'
Michalis Spyroucd783472019-04-26 11:47:03 +0100159 - key: performance-for-range-copy.AllowedTypes
160 value: ''
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100161 - key: performance-for-range-copy.WarnOnAllAutoCopies
162 value: '0'
163 - key: performance-inefficient-string-concatenation.StrictMode
164 value: '0'
Michalis Spyroucd783472019-04-26 11:47:03 +0100165 - key: performance-inefficient-vector-operation.VectorLikeClasses
166 value: '::std::vector'
167 - key: performance-move-const-arg.CheckTriviallyCopyableMove
168 value: '1'
169 - key: performance-move-constructor-init.IncludeStyle
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100170 value: llvm
Michalis Spyroucd783472019-04-26 11:47:03 +0100171 - key: performance-unnecessary-copy-initialization.AllowedTypes
172 value: ''
173 - key: performance-unnecessary-value-param.AllowedTypes
174 value: ''
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100175 - key: performance-unnecessary-value-param.IncludeStyle
176 value: llvm
Michalis Spyroucd783472019-04-26 11:47:03 +0100177 - key: portability-simd-intrinsics.Std
178 value: ''
179 - key: portability-simd-intrinsics.Suggest
180 value: '0'
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100181 - key: readability-braces-around-statements.ShortStatementLines
182 value: '0'
183 - key: readability-function-size.BranchThreshold
184 value: '4294967295'
185 - key: readability-function-size.LineThreshold
186 value: '4294967295'
Michalis Spyroucd783472019-04-26 11:47:03 +0100187 - key: readability-function-size.NestingThreshold
188 value: '4294967295'
189 - key: readability-function-size.ParameterThreshold
190 value: '4294967295'
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100191 - key: readability-function-size.StatementThreshold
192 value: '800'
Michalis Spyroucd783472019-04-26 11:47:03 +0100193 - key: readability-function-size.VariableThreshold
194 value: '4294967295'
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100195 - key: readability-identifier-naming.IgnoreFailedSplit
196 value: '0'
Michalis Spyroucd783472019-04-26 11:47:03 +0100197 - key: readability-inconsistent-declaration-parameter-name.IgnoreMacros
198 value: '1'
199 - key: readability-inconsistent-declaration-parameter-name.Strict
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100200 value: '0'
Michalis Spyroucd783472019-04-26 11:47:03 +0100201 - key: readability-redundant-smartptr-get.IgnoreMacros
202 value: '1'
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100203 - key: readability-simplify-boolean-expr.ChainedConditionalAssignment
204 value: '0'
205 - key: readability-simplify-boolean-expr.ChainedConditionalReturn
206 value: '0'
Michalis Spyroucd783472019-04-26 11:47:03 +0100207 - key: readability-simplify-subscript-expr.Types
208 value: '::std::basic_string;::std::basic_string_view;::std::vector;::std::array'
209 - key: readability-static-accessed-through-instance.NameSpecifierNestingThreshold
210 value: '3'
211 - key: zircon-temporary-objects.Names
212 value: ''
Anthony Barbier6ff3b192017-09-04 18:44:23 +0100213...
214