2 Checks: 'clang-diagnostic-*,clang-analyzer-*,bugprone-*,concurrency-*,-modernize-use-trailing-return-type,-readability-magic-numbers,-cppcoreguidelines-avoid-magic-numbers'
5 AnalyzeTemporaryDtors: false
9 - key: bugprone-string-constructor.LargeLengthThreshold
11 - key: modernize-replace-auto-ptr.IncludeStyle
13 - key: bugprone-reserved-identifier.Invert
15 - key: bugprone-implicit-widening-of-multiplication-result.UseCXXStaticCastsInCppSources
17 - key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
19 - key: bugprone-exception-escape.FunctionsThatShouldNotThrow
21 - key: cert-dcl16-c.NewSuffixes
23 - key: bugprone-narrowing-conversions.WarnOnFloatingPointNarrowingConversion
25 - key: modernize-loop-convert.MaxCopySize
27 - key: bugprone-narrowing-conversions.PedanticMode
29 - key: bugprone-unused-return-value.CheckedFunctions
30 value: '::std::async;::std::launder;::std::remove;::std::remove_if;::std::unique;::std::unique_ptr::release;::std::basic_string::empty;::std::vector::empty;::std::back_inserter;::std::distance;::std::find;::std::find_if;::std::inserter;::std::lower_bound;::std::make_pair;::std::map::count;::std::map::find;::std::map::lower_bound;::std::multimap::equal_range;::std::multimap::upper_bound;::std::set::count;::std::set::find;::std::setfill;::std::setprecision;::std::setw;::std::upper_bound;::std::vector::at;::bsearch;::ferror;::feof;::isalnum;::isalpha;::isblank;::iscntrl;::isdigit;::isgraph;::islower;::isprint;::ispunct;::isspace;::isupper;::iswalnum;::iswprint;::iswspace;::isxdigit;::memchr;::memcmp;::strcmp;::strcoll;::strncmp;::strpbrk;::strrchr;::strspn;::strstr;::wcscmp;::access;::bind;::connect;::difftime;::dlsym;::fnmatch;::getaddrinfo;::getopt;::htonl;::htons;::iconv_open;::inet_addr;::isascii;::isatty;::mmap;::newlocale;::openat;::pathconf;::pthread_equal;::pthread_getspecific;::pthread_mutex_trylock;::readdir;::readlink;::recvmsg;::regexec;::scandir;::semget;::setjmp;::shm_open;::shmget;::sigismember;::strcasecmp;::strsignal;::ttyname'
31 - key: bugprone-signed-char-misuse.CharTypdefsToIgnore
33 - key: bugprone-argument-comment.CommentStringLiterals
35 - key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
37 - key: bugprone-easily-swappable-parameters.MinimumLength
39 - key: bugprone-sizeof-expression.WarnOnSizeOfConstant
41 - key: bugprone-argument-comment.CommentBoolLiterals
43 - key: bugprone-argument-comment.CommentUserDefinedLiterals
45 - key: cert-str34-c.DiagnoseSignedUnsignedCharComparisons
47 - key: bugprone-narrowing-conversions.WarnWithinTemplateInstantiation
49 - key: concurrency-mt-unsafe.FunctionSet
51 - key: bugprone-suspicious-string-compare.WarnOnLogicalNotComparison
53 - key: google-readability-braces-around-statements.ShortStatementLines
55 - key: bugprone-reserved-identifier.AllowedIdentifiers
57 - key: bugprone-easily-swappable-parameters.IgnoredParameterTypeSuffixes
58 value: 'bool;Bool;_Bool;it;It;iterator;Iterator;inputit;InputIt;forwardit;FowardIt;bidirit;BidirIt;constiterator;const_iterator;Const_Iterator;Constiterator;ConstIterator;RandomIt;randomit;random_iterator;ReverseIt;reverse_iterator;reverse_const_iterator;ConstReverseIterator;Const_Reverse_Iterator;const_reverse_iterator;Constreverseiterator;constreverseiterator'
59 - key: bugprone-easily-swappable-parameters.QualifiersMix
61 - key: bugprone-signal-handler.AsyncSafeFunctionSet
63 - key: bugprone-easily-swappable-parameters.ModelImplicitConversions
65 - key: bugprone-suspicious-string-compare.WarnOnImplicitComparison
67 - key: bugprone-argument-comment.CommentNullPtrs
69 - key: bugprone-easily-swappable-parameters.SuppressParametersUsedTogether
71 - key: bugprone-argument-comment.StrictMode
73 - key: bugprone-misplaced-widening-cast.CheckImplicitCasts
75 - key: bugprone-suspicious-missing-comma.RatioThreshold
77 - key: modernize-loop-convert.MinConfidence
79 - key: bugprone-easily-swappable-parameters.NamePrefixSuffixSilenceDissimilarityTreshold
81 - key: bugprone-unhandled-self-assignment.WarnOnlyIfThisHasSuspiciousField
83 - key: google-readability-namespace-comments.ShortNamespaceLines
85 - key: google-readability-namespace-comments.SpacesBeforeComments
87 - key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
89 - key: bugprone-argument-comment.IgnoreSingleArgument
91 - key: bugprone-suspicious-string-compare.StringCompareLikeFunctions
93 - key: bugprone-narrowing-conversions.WarnOnEquivalentBitWidth
95 - key: bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression
97 - key: bugprone-assert-side-effect.CheckFunctionCalls
99 - key: bugprone-easily-swappable-parameters.IgnoredParameterNames
100 value: '"";iterator;Iterator;begin;Begin;end;End;first;First;last;Last;lhs;LHS;rhs;RHS'
101 - key: bugprone-narrowing-conversions.IgnoreConversionFromTypes
103 - key: bugprone-string-constructor.StringNames
104 value: '::std::basic_string;::std::basic_string_view'
105 - key: bugprone-assert-side-effect.AssertMacros
106 value: assert,NSAssert,NSCAssert
107 - key: bugprone-exception-escape.IgnoredExceptions
109 - key: bugprone-signed-char-misuse.DiagnoseSignedUnsignedCharComparisons
111 - key: llvm-qualified-auto.AddConstToQualified
113 - key: bugprone-narrowing-conversions.WarnOnIntegerNarrowingConversion
115 - key: modernize-loop-convert.NamingStyle
117 - key: bugprone-suspicious-include.ImplementationFileExtensions
118 value: 'c;cc;cpp;cxx'
119 - key: bugprone-suspicious-missing-comma.SizeThreshold
121 - key: bugprone-suspicious-include.HeaderFileExtensions
122 value: ';h;hh;hpp;hxx'
123 - key: google-readability-function-size.StatementThreshold
125 - key: llvm-else-after-return.WarnOnConditionVariables
127 - key: bugprone-argument-comment.CommentCharacterLiterals
129 - key: bugprone-argument-comment.CommentIntegerLiterals
131 - key: bugprone-sizeof-expression.WarnOnSizeOfCompareToConstant
133 - key: modernize-pass-by-value.IncludeStyle
135 - key: bugprone-reserved-identifier.AggressiveDependentMemberLookup
137 - key: bugprone-sizeof-expression.WarnOnSizeOfThis
139 - key: bugprone-string-constructor.WarnOnLargeLength
141 - key: bugprone-too-small-loop-variable.MagnitudeBitsUpperLimit
143 - key: bugprone-argument-comment.CommentFloatLiterals
145 - key: modernize-use-nullptr.NullMacros
147 - key: bugprone-dangling-handle.HandleClasses
148 value: 'std::basic_string_view;std::experimental::basic_string_view'
149 - key: bugprone-dynamic-static-initializers.HeaderFileExtensions
150 value: ';h;hh;hpp;hxx'
151 - key: bugprone-suspicious-enum-usage.StrictMode
153 - key: bugprone-implicit-widening-of-multiplication-result.IncludeStyle
155 - key: bugprone-suspicious-missing-comma.MaxConcatenatedTokens
157 - key: bugprone-implicit-widening-of-multiplication-result.UseCXXHeadersInCppSources
159 - key: llvm-else-after-return.WarnOnUnfixable
161 - key: bugprone-not-null-terminated-result.WantToUseSafeFunctions