Skip to content

Commit 90877ee

Browse files
committed
Initial code
1 parent 61c9caf commit 90877ee

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+740107
-0
lines changed

.clang-format

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
BasedOnStyle: llvm
2+
ColumnLimit: 100
3+
UseTab: Never
4+
TabWidth: 2
5+
PointerAlignment: Left
6+
ReferenceAlignment: Left
7+
DerivePointerAlignment: false
8+
SpaceBeforeParens: Never
9+
Standard: c++17

.clang-tidy

+302
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,302 @@
1+
---
2+
Checks: 'clang-diagnostic-*,clang-analyzer-*,clang-analyzer-*,bugprone-*,cppcoreguidelines-*,darwin-*,hicpp-*,llvm-*,performance-*,portability-*,readability-*,misc-*,-cppcoreguidelines-pro-type-reinterpret-cast,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-owning-memory,-llvm-header-guard,-misc-no-recursion,-llvm-namespace-comment,-readability-convert-member-functions-to-static,-cppcoreguidelines-avoid-magic-numbers'
3+
WarningsAsErrors: 'clang-diagnostic-*,clang-analyzer-*,clang-analyzer-*,bugprone-*,cppcoreguidelines-*,darwin-*,hicpp-*,llvm-*,performance-*,portability-*,readability-*,misc-*,-cppcoreguidelines-pro-type-reinterpret-cast,-cppcoreguidelines-pro-bounds-pointer-arithmetic,-cppcoreguidelines-owning-memory,-llvm-header-guard,-misc-no-recursion,-llvm-namespace-comment'
4+
HeaderFilterRegex: './Source/.*'
5+
AnalyzeTemporaryDtors: false
6+
FormatStyle: file
7+
User: hlgr
8+
CheckOptions:
9+
- key: bugprone-argument-comment.CommentBoolLiterals
10+
value: '0'
11+
- key: bugprone-argument-comment.CommentCharacterLiterals
12+
value: '0'
13+
- key: bugprone-argument-comment.CommentFloatLiterals
14+
value: '0'
15+
- key: bugprone-argument-comment.CommentIntegerLiterals
16+
value: '0'
17+
- key: bugprone-argument-comment.CommentNullPtrs
18+
value: '0'
19+
- key: bugprone-argument-comment.CommentStringLiterals
20+
value: '0'
21+
- key: bugprone-argument-comment.CommentUserDefinedLiterals
22+
value: '0'
23+
- key: bugprone-argument-comment.IgnoreSingleArgument
24+
value: '0'
25+
- key: bugprone-argument-comment.StrictMode
26+
value: '0'
27+
- key: bugprone-assert-side-effect.AssertMacros
28+
value: assert
29+
- key: bugprone-assert-side-effect.CheckFunctionCalls
30+
value: '0'
31+
- key: bugprone-dangling-handle.HandleClasses
32+
value: 'std::basic_string_view;std::experimental::basic_string_view'
33+
- key: bugprone-dynamic-static-initializers.HeaderFileExtensions
34+
value: ',h,hh,hpp,hxx'
35+
- key: bugprone-exception-escape.FunctionsThatShouldNotThrow
36+
value: ''
37+
- key: bugprone-exception-escape.IgnoredExceptions
38+
value: ''
39+
- key: bugprone-misplaced-widening-cast.CheckImplicitCasts
40+
value: '0'
41+
- key: bugprone-not-null-terminated-result.WantToUseSafeFunctions
42+
value: '1'
43+
- key: bugprone-signed-char-misuse.CharTypdefsToIgnore
44+
value: ''
45+
- key: bugprone-sizeof-expression.WarnOnSizeOfCompareToConstant
46+
value: '1'
47+
- key: bugprone-sizeof-expression.WarnOnSizeOfConstant
48+
value: '1'
49+
- key: bugprone-sizeof-expression.WarnOnSizeOfIntegerExpression
50+
value: '0'
51+
- key: bugprone-sizeof-expression.WarnOnSizeOfThis
52+
value: '1'
53+
- key: bugprone-string-constructor.LargeLengthThreshold
54+
value: '8388608'
55+
- key: bugprone-string-constructor.WarnOnLargeLength
56+
value: '1'
57+
- key: bugprone-suspicious-enum-usage.StrictMode
58+
value: '0'
59+
- key: bugprone-suspicious-missing-comma.MaxConcatenatedTokens
60+
value: '5'
61+
- key: bugprone-suspicious-missing-comma.RatioThreshold
62+
value: '0.200000'
63+
- key: bugprone-suspicious-missing-comma.SizeThreshold
64+
value: '5'
65+
- key: bugprone-suspicious-string-compare.StringCompareLikeFunctions
66+
value: ''
67+
- key: bugprone-suspicious-string-compare.WarnOnImplicitComparison
68+
value: '1'
69+
- key: bugprone-suspicious-string-compare.WarnOnLogicalNotComparison
70+
value: '0'
71+
- key: bugprone-too-small-loop-variable.MagnitudeBitsUpperLimit
72+
value: '16'
73+
- key: bugprone-unhandled-self-assignment.WarnOnlyIfThisHasSuspiciousField
74+
value: '1'
75+
- key: bugprone-unused-return-value.CheckedFunctions
76+
value: '::std::async;::std::launder;::std::remove;::std::remove_if;::std::unique;::std::unique_ptr::release;::std::basic_string::empty;::std::vector::empty'
77+
- key: cert-dcl16-c.NewSuffixes
78+
value: 'L;LL;LU;LLU'
79+
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
80+
value: '0'
81+
- key: cppcoreguidelines-avoid-magic-numbers.IgnoredFloatingPointValues
82+
value: '1.0;100.0;'
83+
- key: cppcoreguidelines-avoid-magic-numbers.IgnoredIntegerValues
84+
value: '1;2;3;4;'
85+
- key: cppcoreguidelines-explicit-virtual-functions.AllowOverrideAndFinal
86+
value: '0'
87+
- key: cppcoreguidelines-explicit-virtual-functions.FinalSpelling
88+
value: final
89+
- key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
90+
value: '1'
91+
- key: cppcoreguidelines-explicit-virtual-functions.OverrideSpelling
92+
value: override
93+
- key: cppcoreguidelines-macro-usage.AllowedRegexp
94+
value: '^DEBUG_*'
95+
- key: cppcoreguidelines-macro-usage.CheckCapsOnly
96+
value: '0'
97+
- key: cppcoreguidelines-macro-usage.IgnoreCommandLineMacros
98+
value: '1'
99+
- key: cppcoreguidelines-no-malloc.Allocations
100+
value: '::malloc;::calloc'
101+
- key: cppcoreguidelines-no-malloc.Deallocations
102+
value: '::free'
103+
- key: cppcoreguidelines-no-malloc.Reallocations
104+
value: '::realloc'
105+
- key: misc-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
106+
value: '1'
107+
- key: cppcoreguidelines-owning-memory.LegacyResourceConsumers
108+
value: '::free;::realloc;::freopen;::fclose'
109+
- key: cppcoreguidelines-owning-memory.LegacyResourceProducers
110+
value: '::malloc;::aligned_alloc;::realloc;::calloc;::fopen;::freopen;::tmpfile'
111+
- key: cppcoreguidelines-pro-bounds-constant-array-index.GslHeader
112+
value: ''
113+
- key: cppcoreguidelines-pro-type-member-init.IgnoreArrays
114+
value: '0'
115+
- key: cppcoreguidelines-pro-type-member-init.UseAssignment
116+
value: '0'
117+
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions
118+
value: '0'
119+
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
120+
value: '0'
121+
- key: google-readability-braces-around-statements.ShortStatementLines
122+
value: '1'
123+
- key: google-readability-function-size.StatementThreshold
124+
value: '800'
125+
- key: google-readability-namespace-comments.ShortNamespaceLines
126+
value: '10'
127+
- key: google-readability-namespace-comments.SpacesBeforeComments
128+
value: '2'
129+
- key: hicpp-braces-around-statements.ShortStatementLines
130+
value: '0'
131+
- key: hicpp-function-size.BranchThreshold
132+
value: '4294967295'
133+
- key: hicpp-function-size.LineThreshold
134+
value: '4294967295'
135+
- key: hicpp-function-size.NestingThreshold
136+
value: '4294967295'
137+
- key: hicpp-function-size.ParameterThreshold
138+
value: '4294967295'
139+
- key: hicpp-function-size.StatementThreshold
140+
value: '800'
141+
- key: hicpp-function-size.VariableThreshold
142+
value: '4294967295'
143+
- key: hicpp-member-init.IgnoreArrays
144+
value: '0'
145+
- key: hicpp-member-init.UseAssignment
146+
value: '0'
147+
- key: hicpp-move-const-arg.CheckTriviallyCopyableMove
148+
value: '1'
149+
- key: hicpp-multiway-paths-covered.WarnOnMissingElse
150+
value: '0'
151+
- key: hicpp-named-parameter.IgnoreFailedSplit
152+
value: '0'
153+
- key: hicpp-no-malloc.Allocations
154+
value: '::malloc;::calloc'
155+
- key: hicpp-no-malloc.Deallocations
156+
value: '::free'
157+
- key: hicpp-no-malloc.Reallocations
158+
value: '::realloc'
159+
- key: hicpp-signed-bitwise.IgnorePositiveIntegerLiterals
160+
value: '0'
161+
- key: hicpp-special-member-functions.AllowMissingMoveFunctions
162+
value: '0'
163+
- key: hicpp-special-member-functions.AllowSoleDefaultDtor
164+
value: '0'
165+
- key: hicpp-uppercase-literal-suffix.IgnoreMacros
166+
value: '1'
167+
- key: hicpp-uppercase-literal-suffix.NewSuffixes
168+
value: ''
169+
- key: hicpp-use-auto.MinTypeNameLength
170+
value: '5'
171+
- key: hicpp-use-auto.RemoveStars
172+
value: '0'
173+
- key: hicpp-use-emplace.ContainersWithPushBack
174+
value: '::std::vector;::std::list;::std::deque'
175+
- key: hicpp-use-emplace.SmartPointers
176+
value: '::std::shared_ptr;::std::unique_ptr;::std::auto_ptr;::std::weak_ptr'
177+
- key: hicpp-use-emplace.TupleMakeFunctions
178+
value: '::std::make_pair;::std::make_tuple'
179+
- key: hicpp-use-emplace.TupleTypes
180+
value: '::std::pair;::std::tuple'
181+
- key: hicpp-use-equals-default.IgnoreMacros
182+
value: '1'
183+
- key: hicpp-use-equals-delete.IgnoreMacros
184+
value: '1'
185+
- key: hicpp-use-noexcept.ReplacementString
186+
value: ''
187+
- key: hicpp-use-noexcept.UseNoexceptFalse
188+
value: '1'
189+
- key: hicpp-use-nullptr.NullMacros
190+
value: ''
191+
- key: hicpp-use-override.AllowOverrideAndFinal
192+
value: '0'
193+
- key: hicpp-use-override.FinalSpelling
194+
value: final
195+
- key: hicpp-use-override.IgnoreDestructors
196+
value: '0'
197+
- key: hicpp-use-override.OverrideSpelling
198+
value: override
199+
- key: llvm-namespace-comment.ShortNamespaceLines
200+
value: '1'
201+
- key: llvm-namespace-comment.SpacesBeforeComments
202+
value: '1'
203+
- key: misc-definitions-in-headers.HeaderFileExtensions
204+
value: ',h,hh,hpp,hxx'
205+
- key: misc-definitions-in-headers.UseHeaderFileExtension
206+
value: '1'
207+
- key: misc-throw-by-value-catch-by-reference.CheckThrowTemporaries
208+
value: '1'
209+
- key: misc-unused-parameters.StrictMode
210+
value: '0'
211+
- key: modernize-loop-convert.MaxCopySize
212+
value: '16'
213+
- key: modernize-loop-convert.MinConfidence
214+
value: reasonable
215+
- key: modernize-loop-convert.NamingStyle
216+
value: CamelCase
217+
- key: modernize-pass-by-value.IncludeStyle
218+
value: llvm
219+
- key: modernize-replace-auto-ptr.IncludeStyle
220+
value: llvm
221+
- key: modernize-use-nullptr.NullMacros
222+
value: 'NULL'
223+
- key: performance-faster-string-find.StringLikeClasses
224+
value: 'std::basic_string'
225+
- key: performance-for-range-copy.AllowedTypes
226+
value: ''
227+
- key: performance-for-range-copy.WarnOnAllAutoCopies
228+
value: '0'
229+
- key: performance-inefficient-string-concatenation.StrictMode
230+
value: '0'
231+
- key: performance-inefficient-vector-operation.EnableProto
232+
value: '0'
233+
- key: performance-inefficient-vector-operation.VectorLikeClasses
234+
value: '::std::vector'
235+
- key: performance-move-const-arg.CheckTriviallyCopyableMove
236+
value: '1'
237+
- key: performance-move-constructor-init.IncludeStyle
238+
value: llvm
239+
- key: performance-no-automatic-move.AllowedTypes
240+
value: ''
241+
- key: performance-type-promotion-in-math-fn.IncludeStyle
242+
value: llvm
243+
- key: performance-unnecessary-copy-initialization.AllowedTypes
244+
value: ''
245+
- key: performance-unnecessary-value-param.AllowedTypes
246+
value: ''
247+
- key: performance-unnecessary-value-param.IncludeStyle
248+
value: llvm
249+
- key: portability-simd-intrinsics.Std
250+
value: ''
251+
- key: portability-simd-intrinsics.Suggest
252+
value: '0'
253+
- key: readability-braces-around-statements.ShortStatementLines
254+
value: '0'
255+
- key: readability-else-after-return.WarnOnUnfixable
256+
value: '1'
257+
- key: readability-function-size.BranchThreshold
258+
value: '4294967295'
259+
- key: readability-function-size.LineThreshold
260+
value: '4294967295'
261+
- key: readability-function-size.NestingThreshold
262+
value: '4294967295'
263+
- key: readability-function-size.ParameterThreshold
264+
value: '4294967295'
265+
- key: readability-function-size.StatementThreshold
266+
value: '800'
267+
- key: readability-function-size.VariableThreshold
268+
value: '4294967295'
269+
- key: readability-identifier-naming.IgnoreFailedSplit
270+
value: '0'
271+
- key: readability-implicit-bool-conversion.AllowIntegerConditions
272+
value: '0'
273+
- key: readability-implicit-bool-conversion.AllowPointerConditions
274+
value: '0'
275+
- key: readability-inconsistent-declaration-parameter-name.IgnoreMacros
276+
value: '1'
277+
- key: readability-inconsistent-declaration-parameter-name.Strict
278+
value: '0'
279+
- key: readability-magic-numbers.IgnoredFloatingPointValues
280+
value: '1.0;100.0;'
281+
- key: readability-magic-numbers.IgnoredIntegerValues
282+
value: '1;2;3;4;'
283+
- key: readability-redundant-member-init.IgnoreBaseInCopyConstructors
284+
value: '0'
285+
- key: readability-redundant-smartptr-get.IgnoreMacros
286+
value: '1'
287+
- key: readability-redundant-string-init.StringNames
288+
value: '::std::basic_string'
289+
- key: readability-simplify-boolean-expr.ChainedConditionalAssignment
290+
value: '0'
291+
- key: readability-simplify-boolean-expr.ChainedConditionalReturn
292+
value: '0'
293+
- key: readability-simplify-subscript-expr.Types
294+
value: '::std::basic_string;::std::basic_string_view;::std::vector;::std::array'
295+
- key: readability-static-accessed-through-instance.NameSpecifierNestingThreshold
296+
value: '3'
297+
- key: readability-uppercase-literal-suffix.IgnoreMacros
298+
value: '1'
299+
- key: readability-uppercase-literal-suffix.NewSuffixes
300+
value: ''
301+
...
302+

.gitignore

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.dir-locals.el
2+
.vscode
3+
.vs
4+
dbgen/
5+
data/tpch_*MB/
6+
build/
7+
Debug/
8+
Release/
9+
MinSizeRel/
10+
RelWithDebInfo/
11+
bin/
12+
include/
13+
lib/

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "CMake/Mathematica"]
2+
path = CMake/Mathematica
3+
url = https://github.com/sakra/FindMathematica.git

0 commit comments

Comments
 (0)