Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 1 | --- |
Michalis Spyrou | bcfd09a | 2019-05-01 13:03:59 +0100 | [diff] [blame] | 2 | Checks: '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 Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 3 | WarningsAsErrors: '' |
| 4 | HeaderFilterRegex: '' |
| 5 | AnalyzeTemporaryDtors: false |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 6 | CheckOptions: |
| 7 | - key: cert-dcl16-c.IgnoreMacros |
| 8 | value: '1' |
| 9 | - key: cert-dcl16-c.NewSuffixes |
| 10 | value: 'L;LL;LU;LLU' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 11 | - key: cert-dcl59-cpp.HeaderFileExtensions |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 12 | value: ',h,hh,hpp,hxx' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 13 | - key: cert-err09-cpp.CheckThrowTemporaries |
| 14 | value: '1' |
| 15 | - key: cert-err61-cpp.CheckThrowTemporaries |
| 16 | value: '1' |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 17 | - 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 Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 21 | - key: cert-oop11-cpp.IncludeStyle |
| 22 | value: llvm |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 23 | - key: cppcoreguidelines-macro-usage.AllowedRegexp |
| 24 | value: '^DEBUG_*' |
| 25 | - key: cppcoreguidelines-macro-usage.CheckCapsOnly |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 26 | value: '0' |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 27 | - 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 Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 41 | - key: cppcoreguidelines-pro-type-member-init.IgnoreArrays |
| 42 | value: '0' |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 43 | - key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions |
| 44 | value: '0' |
| 45 | - key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor |
| 46 | value: '0' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 47 | - key: google-build-namespaces.HeaderFileExtensions |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 48 | value: ',h,hh,hpp,hxx' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 49 | - key: google-global-names-in-headers.HeaderFileExtensions |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 50 | value: ',h,hh,hpp,hxx' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 51 | - 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 Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 57 | - key: google-readability-function-size.NestingThreshold |
| 58 | value: '4294967295' |
| 59 | - key: google-readability-function-size.ParameterThreshold |
| 60 | value: '4294967295' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 61 | - key: google-readability-function-size.StatementThreshold |
| 62 | value: '800' |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 63 | - key: google-readability-function-size.VariableThreshold |
| 64 | value: '4294967295' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 65 | - 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 Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 75 | - key: llvm-namespace-comment.ShortNamespaceLines |
| 76 | value: '1' |
| 77 | - key: llvm-namespace-comment.SpacesBeforeComments |
| 78 | value: '1' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 79 | - key: misc-definitions-in-headers.HeaderFileExtensions |
| 80 | value: ',h,hh,hpp,hxx' |
| 81 | - key: misc-definitions-in-headers.UseHeaderFileExtension |
| 82 | value: '1' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 83 | - key: misc-throw-by-value-catch-by-reference.CheckThrowTemporaries |
| 84 | value: '1' |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 85 | - key: misc-unused-parameters.StrictMode |
| 86 | value: '0' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 87 | - 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 Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 93 | - 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 Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 109 | - key: modernize-pass-by-value.IncludeStyle |
| 110 | value: llvm |
| 111 | - key: modernize-pass-by-value.ValuesOnly |
| 112 | value: '0' |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 113 | - key: modernize-raw-string-literal.ReplaceShorterLiterals |
| 114 | value: '0' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 115 | - key: modernize-replace-auto-ptr.IncludeStyle |
| 116 | value: llvm |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 117 | - key: modernize-replace-random-shuffle.IncludeStyle |
| 118 | value: llvm |
| 119 | - key: modernize-use-auto.MinTypeNameLength |
| 120 | value: '5' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 121 | - key: modernize-use-auto.RemoveStars |
| 122 | value: '0' |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 123 | - key: modernize-use-default-member-init.IgnoreMacros |
| 124 | value: '1' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 125 | - 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 Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 131 | - 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 Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 145 | - key: modernize-use-nullptr.NullMacros |
| 146 | value: 'NULL' |
| 147 | - key: modernize-use-transparent-functors.SafeMode |
| 148 | value: '0' |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 149 | - 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 Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 157 | - key: performance-faster-string-find.StringLikeClasses |
| 158 | value: 'std::basic_string' |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 159 | - key: performance-for-range-copy.AllowedTypes |
| 160 | value: '' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 161 | - key: performance-for-range-copy.WarnOnAllAutoCopies |
| 162 | value: '0' |
| 163 | - key: performance-inefficient-string-concatenation.StrictMode |
| 164 | value: '0' |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 165 | - 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 Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 170 | value: llvm |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 171 | - key: performance-unnecessary-copy-initialization.AllowedTypes |
| 172 | value: '' |
| 173 | - key: performance-unnecessary-value-param.AllowedTypes |
| 174 | value: '' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 175 | - key: performance-unnecessary-value-param.IncludeStyle |
| 176 | value: llvm |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 177 | - key: portability-simd-intrinsics.Std |
| 178 | value: '' |
| 179 | - key: portability-simd-intrinsics.Suggest |
| 180 | value: '0' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 181 | - 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 Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 187 | - key: readability-function-size.NestingThreshold |
| 188 | value: '4294967295' |
| 189 | - key: readability-function-size.ParameterThreshold |
| 190 | value: '4294967295' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 191 | - key: readability-function-size.StatementThreshold |
| 192 | value: '800' |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 193 | - key: readability-function-size.VariableThreshold |
| 194 | value: '4294967295' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 195 | - key: readability-identifier-naming.IgnoreFailedSplit |
| 196 | value: '0' |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 197 | - key: readability-inconsistent-declaration-parameter-name.IgnoreMacros |
| 198 | value: '1' |
| 199 | - key: readability-inconsistent-declaration-parameter-name.Strict |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 200 | value: '0' |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 201 | - key: readability-redundant-smartptr-get.IgnoreMacros |
| 202 | value: '1' |
Anthony Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 203 | - key: readability-simplify-boolean-expr.ChainedConditionalAssignment |
| 204 | value: '0' |
| 205 | - key: readability-simplify-boolean-expr.ChainedConditionalReturn |
| 206 | value: '0' |
Michalis Spyrou | cd78347 | 2019-04-26 11:47:03 +0100 | [diff] [blame] | 207 | - 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 Barbier | 6ff3b19 | 2017-09-04 18:44:23 +0100 | [diff] [blame] | 213 | ... |
| 214 | |