]>
Commit | Line | Data |
---|---|---|
c3dc3e4d | 1 | --- |
94c7466d | 2 | Checks: 'clang-diagnostic-*,clang-analyzer-*,bugprone-*,concurrency-*,-modernize-use-trailing-return-type,-readability-magic-numbers,-cppcoreguidelines-avoid-magic-numbers' |
c3dc3e4d FM |
3 | WarningsAsErrors: '' |
4 | HeaderFilterRegex: '' | |
5 | AnalyzeTemporaryDtors: false | |
6 | FormatStyle: none | |
7 | User: fred | |
8 | CheckOptions: | |
9 | - key: bugprone-string-constructor.LargeLengthThreshold | |
10 | value: '8388608' | |
11 | - key: modernize-replace-auto-ptr.IncludeStyle | |
12 | value: llvm | |
13 | - key: bugprone-reserved-identifier.Invert | |
14 | value: 'false' | |
15 | - key: bugprone-implicit-widening-of-multiplication-result.UseCXXStaticCastsInCppSources | |
16 | value: 'true' | |
17 | - key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField | |
18 | value: 'false' | |
19 | - key: bugprone-exception-escape.FunctionsThatShouldNotThrow | |
20 | value: '' | |
21 | - key: cert-dcl16-c.NewSuffixes | |
22 | value: 'L;LL;LU;LLU' | |
23 | - key: bugprone-narrowing-conversions.WarnOnFloatingPointNarrowingConversion | |
24 | value: 'true' | |
25 | - key: modernize-loop-convert.MaxCopySize | |
26 | value: '16' | |
27 | - key: bugprone-narrowing-conversions.PedanticMode | |
28 | value: 'false' | |
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 | |
32 | value: '' | |
33 | - key: bugprone-argument-comment.CommentStringLiterals | |
34 | value: '0' | |
35 | - key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors | |
36 | value: 'true' | |
37 | - key: bugprone-easily-swappable-parameters.MinimumLength | |
38 | value: '2' | |
39 | - key: bugprone-sizeof-expression.WarnOnSizeOfConstant | |
40 | value: 'true' | |
41 | - key: bugprone-argument-comment.CommentBoolLiterals | |
42 | value: '0' | |
43 | - key: bugprone-argument-comment.CommentUserDefinedLiterals | |
44 | value: '0' | |
45 | - key: cert-str34-c.DiagnoseSignedUnsignedCharComparisons | |
46 | value: 'false' | |
47 | - key: bugprone-narrowing-conversions.WarnWithinTemplateInstantiation | |
48 | value: 'false' | |
49 | - key: concurrency-mt-unsafe.FunctionSet | |
50 | value: any | |
51 | - key: bugprone-suspicious-string-compare.WarnOnLogicalNotComparison | |
52 | value: 'false' | |
53 | - key: google-readability-braces-around-statements.ShortStatementLines | |
54 | value: '1' | |
55 | - key: bugprone-reserved-identifier.AllowedIdentifiers | |
56 | value: '' | |
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 | |
60 | value: 'false' | |
61 | - key: bugprone-signal-handler.AsyncSafeFunctionSet | |
62 | value: POSIX | |
63 | - key: bugprone-easily-swappable-parameters.ModelImplicitConversions | |
64 | value: 'true' | |
65 | - key: bugprone-suspicious-string-compare.WarnOnImplicitComparison | |
66 | value: 'true' | |
67 | - key: bugprone-argument-comment.CommentNullPtrs | |
68 | value: '0' | |
69 | - key: bugprone-easily-swappable-parameters.SuppressParametersUsedTogether | |
70 | value: 'true' | |
71 | - key: bugprone-argument-comment.StrictMode | |
72 | value: '0' | |
73 | - key: bugprone-misplaced-widening-cast.CheckImplicitCasts | |
74 | value: 'false' | |
75 | - key: bugprone-suspicious-missing-comma.RatioThreshold | |
76 | value: '0.200000' | |
77 | - key: modernize-loop-convert.MinConfidence | |
78 | value: reasonable | |
79 | - key: bugprone-easily-swappable-parameters.NamePrefixSuffixSilenceDissimilarityTreshold | |
80 | value: '1' | |
81 | - key: bugprone-unhandled-self-assignment.WarnOnlyIfThisHasSuspiciousField | |
82 | value: 'true' | |
83 | - key: google-readability-namespace-comments.ShortNamespaceLines | |
84 | value: '10' | |
85 | - key: google-readability-namespace-comments.SpacesBeforeComments | |
86 | value: '2' | |
87 | - key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic | |
88 | value: 'true' | |
89 | - key: bugprone-argument-comment.IgnoreSingleArgument | |
90 | value: '0' | |
91 | - key: bugprone-suspicious-string-compare.StringCompareLikeFunctions | |
92 | value: '' | |
93 | - key: bugprone-narrowing-conversions.WarnOnEquivalentBitWidth | |
94 | value: 'true' | |
95 | - key: bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression | |
96 | value: 'false' | |
97 | - key: bugprone-assert-side-effect.CheckFunctionCalls | |
98 | value: 'false' | |
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 | |
102 | value: '' | |
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 | |
108 | value: '' | |
109 | - key: bugprone-signed-char-misuse.DiagnoseSignedUnsignedCharComparisons | |
110 | value: 'true' | |
111 | - key: llvm-qualified-auto.AddConstToQualified | |
112 | value: 'false' | |
113 | - key: bugprone-narrowing-conversions.WarnOnIntegerNarrowingConversion | |
114 | value: 'true' | |
115 | - key: modernize-loop-convert.NamingStyle | |
116 | value: CamelCase | |
117 | - key: bugprone-suspicious-include.ImplementationFileExtensions | |
118 | value: 'c;cc;cpp;cxx' | |
119 | - key: bugprone-suspicious-missing-comma.SizeThreshold | |
120 | value: '5' | |
121 | - key: bugprone-suspicious-include.HeaderFileExtensions | |
122 | value: ';h;hh;hpp;hxx' | |
123 | - key: google-readability-function-size.StatementThreshold | |
124 | value: '800' | |
125 | - key: llvm-else-after-return.WarnOnConditionVariables | |
126 | value: 'false' | |
127 | - key: bugprone-argument-comment.CommentCharacterLiterals | |
128 | value: '0' | |
129 | - key: bugprone-argument-comment.CommentIntegerLiterals | |
130 | value: '0' | |
131 | - key: bugprone-sizeof-expression.WarnOnSizeOfCompareToConstant | |
132 | value: 'true' | |
133 | - key: modernize-pass-by-value.IncludeStyle | |
134 | value: llvm | |
135 | - key: bugprone-reserved-identifier.AggressiveDependentMemberLookup | |
136 | value: 'false' | |
137 | - key: bugprone-sizeof-expression.WarnOnSizeOfThis | |
138 | value: 'true' | |
139 | - key: bugprone-string-constructor.WarnOnLargeLength | |
140 | value: 'true' | |
141 | - key: bugprone-too-small-loop-variable.MagnitudeBitsUpperLimit | |
142 | value: '16' | |
143 | - key: bugprone-argument-comment.CommentFloatLiterals | |
144 | value: '0' | |
145 | - key: modernize-use-nullptr.NullMacros | |
146 | value: 'NULL' | |
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 | |
152 | value: 'false' | |
153 | - key: bugprone-implicit-widening-of-multiplication-result.IncludeStyle | |
154 | value: llvm | |
155 | - key: bugprone-suspicious-missing-comma.MaxConcatenatedTokens | |
156 | value: '5' | |
157 | - key: bugprone-implicit-widening-of-multiplication-result.UseCXXHeadersInCppSources | |
158 | value: 'true' | |
159 | - key: llvm-else-after-return.WarnOnUnfixable | |
160 | value: 'false' | |
161 | - key: bugprone-not-null-terminated-result.WantToUseSafeFunctions | |
162 | value: 'true' | |
163 | ... |