forked from pixop/video-compare
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.clang-tidy
164 lines (164 loc) · 13.7 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
---
Checks: 'clang-diagnostic-*,clang-analyzer-*,bugprone-*,readability-*,google-*'
WarningsAsErrors: ''
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
FormatStyle: none
User: jon
CheckOptions:
readability-suspicious-call-argument.PrefixSimilarAbove: '30'
modernize-replace-auto-ptr.IncludeStyle: llvm
readability-static-accessed-through-instance.NameSpecifierNestingThreshold: '3'
readability-function-size.VariableThreshold: '4294967295'
bugprone-narrowing-conversions.PedanticMode: 'false'
bugprone-unused-return-value.CheckedFunctions: '::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'
cert-dcl16-c.NewSuffixes: 'L;LL;LU;LLU'
bugprone-reserved-identifier.Invert: 'false'
readability-identifier-naming.GetConfigPerFile: 'true'
bugprone-narrowing-conversions.WarnOnFloatingPointNarrowingConversion: 'true'
readability-inconsistent-declaration-parameter-name.Strict: 'false'
readability-simplify-boolean-expr.SimplifyDeMorgan: 'true'
readability-suspicious-call-argument.DiceDissimilarBelow: '60'
readability-function-size.NestingThreshold: '4294967295'
bugprone-assert-side-effect.IgnoredFunctions: __builtin_expect
readability-function-size.ParameterThreshold: '4294967295'
readability-suspicious-call-argument.Equality: 'true'
readability-function-cognitive-complexity.IgnoreMacros: 'false'
cert-str34-c.DiagnoseSignedUnsignedCharComparisons: 'false'
bugprone-narrowing-conversions.WarnWithinTemplateInstantiation: 'false'
cert-err33-c.CheckedFunctions: '::aligned_alloc;::asctime_s;::at_quick_exit;::atexit;::bsearch;::bsearch_s;::btowc;::c16rtomb;::c32rtomb;::calloc;::clock;::cnd_broadcast;::cnd_init;::cnd_signal;::cnd_timedwait;::cnd_wait;::ctime_s;::fclose;::fflush;::fgetc;::fgetpos;::fgets;::fgetwc;::fopen;::fopen_s;::fprintf;::fprintf_s;::fputc;::fputs;::fputwc;::fputws;::fread;::freopen;::freopen_s;::fscanf;::fscanf_s;::fseek;::fsetpos;::ftell;::fwprintf;::fwprintf_s;::fwrite;::fwscanf;::fwscanf_s;::getc;::getchar;::getenv;::getenv_s;::gets_s;::getwc;::getwchar;::gmtime;::gmtime_s;::localtime;::localtime_s;::malloc;::mbrtoc16;::mbrtoc32;::mbsrtowcs;::mbsrtowcs_s;::mbstowcs;::mbstowcs_s;::memchr;::mktime;::mtx_init;::mtx_lock;::mtx_timedlock;::mtx_trylock;::mtx_unlock;::printf_s;::putc;::putwc;::raise;::realloc;::remove;::rename;::scanf;::scanf_s;::setlocale;::setvbuf;::signal;::snprintf;::snprintf_s;::sprintf;::sprintf_s;::sscanf;::sscanf_s;::strchr;::strerror_s;::strftime;::strpbrk;::strrchr;::strstr;::strtod;::strtof;::strtoimax;::strtok;::strtok_s;::strtol;::strtold;::strtoll;::strtoul;::strtoull;::strtoumax;::strxfrm;::swprintf;::swprintf_s;::swscanf;::swscanf_s;::thrd_create;::thrd_detach;::thrd_join;::thrd_sleep;::time;::timespec_get;::tmpfile;::tmpfile_s;::tmpnam;::tmpnam_s;::tss_create;::tss_get;::tss_set;::ungetc;::ungetwc;::vfprintf;::vfprintf_s;::vfscanf;::vfscanf_s;::vfwprintf;::vfwprintf_s;::vfwscanf;::vfwscanf_s;::vprintf_s;::vscanf;::vscanf_s;::vsnprintf;::vsnprintf_s;::vsprintf;::vsprintf_s;::vsscanf;::vsscanf_s;::vswprintf;::vswprintf_s;::vswscanf;::vswscanf_s;::vwprintf_s;::vwscanf;::vwscanf_s;::wcrtomb;::wcschr;::wcsftime;::wcspbrk;::wcsrchr;::wcsrtombs;::wcsrtombs_s;::wcsstr;::wcstod;::wcstof;::wcstoimax;::wcstok;::wcstok_s;::wcstol;::wcstold;::wcstoll;::wcstombs;::wcstombs_s;::wcstoul;::wcstoull;::wcstoumax;::wcsxfrm;::wctob;::wctrans;::wctype;::wmemchr;::wprintf_s;::wscanf;::wscanf_s;'
bugprone-suspicious-string-compare.WarnOnLogicalNotComparison: 'false'
readability-redundant-smartptr-get.IgnoreMacros: 'true'
readability-identifier-naming.AggressiveDependentMemberLookup: 'false'
bugprone-easily-swappable-parameters.QualifiersMix: 'false'
bugprone-suspicious-string-compare.WarnOnImplicitComparison: 'true'
readability-identifier-length.MinimumParameterNameLength: '3'
bugprone-argument-comment.CommentNullPtrs: '0'
bugprone-narrowing-conversions.WarnOnIntegerToFloatingPointNarrowingConversion: 'true'
bugprone-easily-swappable-parameters.SuppressParametersUsedTogether: 'true'
bugprone-argument-comment.StrictMode: '0'
bugprone-easily-swappable-parameters.NamePrefixSuffixSilenceDissimilarityTreshold: '1'
bugprone-unhandled-self-assignment.WarnOnlyIfThisHasSuspiciousField: 'true'
google-readability-namespace-comments.ShortNamespaceLines: '10'
readability-suspicious-call-argument.JaroWinklerDissimilarBelow: '75'
bugprone-suspicious-string-compare.StringCompareLikeFunctions: ''
readability-suspicious-call-argument.Suffix: 'true'
readability-suspicious-call-argument.SuffixSimilarAbove: '30'
bugprone-easily-swappable-parameters.IgnoredParameterNames: '"";iterator;Iterator;begin;Begin;end;End;first;First;last;Last;lhs;LHS;rhs;RHS'
readability-function-cognitive-complexity.DescribeBasicIncrements: 'true'
readability-suspicious-call-argument.MinimumIdentifierNameLength: '3'
bugprone-narrowing-conversions.WarnOnIntegerNarrowingConversion: 'true'
modernize-loop-convert.NamingStyle: CamelCase
bugprone-suspicious-include.ImplementationFileExtensions: 'c;cc;cpp;cxx'
bugprone-suspicious-missing-comma.SizeThreshold: '5'
bugprone-suspicious-include.HeaderFileExtensions: ';h;hh;hpp;hxx'
readability-inconsistent-declaration-parameter-name.IgnoreMacros: 'true'
readability-suspicious-call-argument.SubstringDissimilarBelow: '40'
bugprone-argument-comment.CommentIntegerLiterals: '0'
bugprone-stringview-nullptr.IncludeStyle: llvm
bugprone-argument-comment.CommentCharacterLiterals: '0'
readability-identifier-naming.IgnoreFailedSplit: 'false'
modernize-pass-by-value.IncludeStyle: llvm
readability-qualified-auto.AddConstToQualified: 'true'
bugprone-sizeof-expression.WarnOnSizeOfThis: 'true'
bugprone-string-constructor.WarnOnLargeLength: 'true'
bugprone-too-small-loop-variable.MagnitudeBitsUpperLimit: '16'
readability-simplify-boolean-expr.ChainedConditionalReturn: 'false'
bugprone-argument-comment.CommentFloatLiterals: '0'
readability-else-after-return.WarnOnConditionVariables: 'true'
readability-uppercase-literal-suffix.IgnoreMacros: 'true'
modernize-use-nullptr.NullMacros: 'NULL'
readability-suspicious-call-argument.SuffixDissimilarBelow: '25'
bugprone-dynamic-static-initializers.HeaderFileExtensions: ';h;hh;hpp;hxx'
bugprone-suspicious-enum-usage.StrictMode: 'false'
readability-suspicious-call-argument.LevenshteinSimilarAbove: '66'
bugprone-suspicious-missing-comma.MaxConcatenatedTokens: '5'
readability-suspicious-call-argument.Levenshtein: 'true'
bugprone-implicit-widening-of-multiplication-result.UseCXXHeadersInCppSources: 'true'
readability-suspicious-call-argument.JaroWinkler: 'true'
bugprone-not-null-terminated-result.WantToUseSafeFunctions: 'true'
bugprone-string-constructor.LargeLengthThreshold: '8388608'
readability-suspicious-call-argument.Prefix: 'true'
readability-simplify-boolean-expr.ChainedConditionalAssignment: 'false'
bugprone-implicit-widening-of-multiplication-result.UseCXXStaticCastsInCppSources: 'true'
cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField: 'false'
bugprone-exception-escape.FunctionsThatShouldNotThrow: ''
bugprone-argument-comment.CommentStringLiterals: '0'
readability-function-size.LineThreshold: '4294967295'
modernize-loop-convert.MaxCopySize: '16'
readability-suspicious-call-argument.PrefixDissimilarBelow: '25'
bugprone-easily-swappable-parameters.MinimumLength: '2'
bugprone-signed-char-misuse.CharTypdefsToIgnore: ''
bugprone-sizeof-expression.WarnOnSizeOfConstant: 'true'
readability-redundant-string-init.StringNames: '::std::basic_string_view;::std::basic_string'
readability-magic-numbers.IgnoreBitFieldsWidths: 'true'
bugprone-argument-comment.CommentBoolLiterals: '0'
readability-braces-around-statements.ShortStatementLines: '0'
bugprone-argument-comment.CommentUserDefinedLiterals: '0'
readability-suspicious-call-argument.LevenshteinDissimilarBelow: '50'
readability-magic-numbers.IgnoredFloatingPointValues: '1.0;100.0;'
readability-redundant-declaration.IgnoreMacros: 'true'
readability-implicit-bool-conversion.AllowPointerConditions: 'false'
readability-identifier-length.IgnoredExceptionVariableNames: '^[e]$'
bugprone-easily-swappable-parameters.IgnoredParameterTypeSuffixes: 'bool;Bool;_Bool;it;It;iterator;Iterator;inputit;InputIt;forwardit;ForwardIt;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'
google-readability-braces-around-statements.ShortStatementLines: '1'
bugprone-reserved-identifier.AllowedIdentifiers: ''
readability-else-after-return.WarnOnUnfixable: 'true'
readability-suspicious-call-argument.SubstringSimilarAbove: '50'
bugprone-signal-handler.AsyncSafeFunctionSet: POSIX
readability-suspicious-call-argument.Substring: 'true'
bugprone-easily-swappable-parameters.ModelImplicitConversions: 'true'
readability-identifier-length.IgnoredVariableNames: ''
readability-magic-numbers.IgnoreAllFloatingPointValues: 'false'
readability-identifier-length.MinimumVariableNameLength: '3'
readability-suspicious-call-argument.Abbreviations: 'arr=array;cnt=count;idx=index;src=source;stmt=statement;cpy=copy;dest=destination;dist=distancedst=distance;ptr=pointer;wdth=width;str=string;ln=line;srv=server;attr=attribute;ref=reference;buf=buffer;col=column;nr=number;vec=vector;len=length;elem=element;val=value;i=index;var=variable;hght=height;cl=client;num=number;pos=position;lst=list;addr=address'
bugprone-misplaced-widening-cast.CheckImplicitCasts: 'false'
readability-uppercase-literal-suffix.NewSuffixes: ''
modernize-loop-convert.MinConfidence: reasonable
readability-uniqueptr-delete-release.PreferResetCall: 'false'
bugprone-suspicious-missing-comma.RatioThreshold: '0.200000'
readability-identifier-length.MinimumExceptionNameLength: '2'
google-readability-namespace-comments.SpacesBeforeComments: '2'
readability-function-cognitive-complexity.Threshold: '25'
cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic: 'true'
bugprone-argument-comment.IgnoreSingleArgument: '0'
readability-simplify-boolean-expr.SimplifyDeMorganRelaxed: 'false'
bugprone-narrowing-conversions.WarnOnEquivalentBitWidth: 'true'
bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression: 'false'
bugprone-assert-side-effect.CheckFunctionCalls: 'false'
readability-function-size.BranchThreshold: '4294967295'
bugprone-narrowing-conversions.IgnoreConversionFromTypes: ''
bugprone-string-constructor.StringNames: '::std::basic_string;::std::basic_string_view'
bugprone-assert-side-effect.AssertMacros: assert,NSAssert,NSCAssert
bugprone-exception-escape.IgnoredExceptions: ''
readability-function-size.StatementThreshold: '800'
readability-identifier-naming.IgnoreMainLikeFunctions: 'false'
llvm-qualified-auto.AddConstToQualified: 'false'
bugprone-signed-char-misuse.DiagnoseSignedUnsignedCharComparisons: 'true'
readability-implicit-bool-conversion.AllowIntegerConditions: 'false'
readability-identifier-length.IgnoredParameterNames: '^[n]$'
google-readability-function-size.StatementThreshold: '800'
llvm-else-after-return.WarnOnConditionVariables: 'false'
bugprone-sizeof-expression.WarnOnSizeOfCompareToConstant: 'true'
bugprone-reserved-identifier.AggressiveDependentMemberLookup: 'false'
readability-suspicious-call-argument.DiceSimilarAbove: '70'
readability-suspicious-call-argument.Dice: 'true'
readability-suspicious-call-argument.Abbreviation: 'true'
readability-identifier-length.IgnoredLoopCounterNames: '^[ijk_]$'
readability-identifier-length.MinimumLoopCounterNameLength: '2'
bugprone-dangling-handle.HandleClasses: 'std::basic_string_view;std::experimental::basic_string_view'
readability-magic-numbers.IgnoredIntegerValues: '1;2;3;4;'
readability-magic-numbers.IgnorePowersOf2IntegerValues: 'false'
bugprone-implicit-widening-of-multiplication-result.IncludeStyle: llvm
readability-redundant-member-init.IgnoreBaseInCopyConstructors: 'false'
readability-suspicious-call-argument.JaroWinklerSimilarAbove: '85'
llvm-else-after-return.WarnOnUnfixable: 'false'
readability-simplify-subscript-expr.Types: '::std::basic_string;::std::basic_string_view;::std::vector;::std::array'
readability-identifier-naming.FunctionCase: 'lower_case'
readability-identifier-naming.VariableCase: 'lower_case'
readability-identifier-naming.ClassMemberCase: 'lower_case'
readability-identifier-naming.ClassMemberSuffix: '_'
readability-identifier-naming.PrivateMemberSuffix: '_'
readability-identifier-naming.ProtectedMemberSuffix: '_'
readability-identifier-naming.GlobalConstantCase: 'UPPER_CASE'
...