Skip to content

Commit 074caa6

Browse files
committed
Merge branch 'release/0.1.8'
2 parents 04d4c8f + 867f5ab commit 074caa6

Some content is hidden

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

43 files changed

+636
-377
lines changed

.clang-tidy

Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
---
2+
Checks: "clang-diagnostic-*,clang-analyzer-*,-*,cert*,clang*,cppcoreguidelines*,misc-assert*,misc-b*,misc-dangling*,misc-f*,misc-i*,misc-move-const*,misc-n*,misc-r*,misc-s*,misc-t*,misc-u*,misc-v*,modernize*,performance*"
3+
WarningsAsErrors: ""
4+
HeaderFilterRegex: ".*"
5+
AnalyzeTemporaryDtors: false
6+
FormatStyle: none
7+
User: adam
8+
CheckOptions:
9+
- key: cert-dcl59-cpp.HeaderFileExtensions
10+
value: h,hh,hpp,hxx
11+
- key: cert-err09-cpp.CheckThrowTemporaries
12+
value: "1"
13+
- key: cert-err61-cpp.CheckThrowTemporaries
14+
value: "1"
15+
- key: cert-oop11-cpp.IncludeStyle
16+
value: llvm
17+
- key: cppcoreguidelines-no-malloc.Allocations
18+
value: "::malloc;::calloc"
19+
- key: cppcoreguidelines-no-malloc.Deallocations
20+
value: "::free"
21+
- key: cppcoreguidelines-no-malloc.Reallocations
22+
value: "::realloc"
23+
- key: cppcoreguidelines-pro-bounds-constant-array-index.GslHeader
24+
value: ""
25+
- key: cppcoreguidelines-pro-bounds-constant-array-index.IncludeStyle
26+
value: "0"
27+
- key: cppcoreguidelines-pro-type-member-init.IgnoreArrays
28+
value: "0"
29+
- key: cppcoreguidelines-special-member-functions.AllowMissingMoveFunctions
30+
value: "0"
31+
- key: cppcoreguidelines-special-member-functions.AllowSoleDefaultDtor
32+
value: "0"
33+
- key: google-readability-braces-around-statements.ShortStatementLines
34+
value: "1"
35+
- key: google-readability-function-size.StatementThreshold
36+
value: "800"
37+
- key: google-readability-namespace-comments.ShortNamespaceLines
38+
value: "10"
39+
- key: google-readability-namespace-comments.SpacesBeforeComments
40+
value: "2"
41+
- key: misc-assert-side-effect.AssertMacros
42+
value: assert
43+
- key: misc-assert-side-effect.CheckFunctionCalls
44+
value: "0"
45+
- key: misc-dangling-handle.HandleClasses
46+
value: "std::basic_string_view;std::experimental::basic_string_view"
47+
- key: misc-move-constructor-init.IncludeStyle
48+
value: llvm
49+
- key: misc-sizeof-expression.WarnOnSizeOfCompareToConstant
50+
value: "1"
51+
- key: misc-sizeof-expression.WarnOnSizeOfConstant
52+
value: "1"
53+
- key: misc-sizeof-expression.WarnOnSizeOfThis
54+
value: "1"
55+
- key: misc-string-constructor.LargeLengthThreshold
56+
value: "8388608"
57+
- key: misc-string-constructor.WarnOnLargeLength
58+
value: "1"
59+
- key: misc-suspicious-enum-usage.StrictMode
60+
value: "0"
61+
- key: misc-suspicious-missing-comma.MaxConcatenatedTokens
62+
value: "5"
63+
- key: misc-suspicious-missing-comma.RatioThreshold
64+
value: "0.200000"
65+
- key: misc-suspicious-missing-comma.SizeThreshold
66+
value: "5"
67+
- key: misc-suspicious-string-compare.StringCompareLikeFunctions
68+
value: ""
69+
- key: misc-suspicious-string-compare.WarnOnImplicitComparison
70+
value: "1"
71+
- key: misc-suspicious-string-compare.WarnOnLogicalNotComparison
72+
value: "0"
73+
- key: misc-throw-by-value-catch-by-reference.CheckThrowTemporaries
74+
value: "1"
75+
- key: modernize-loop-convert.MaxCopySize
76+
value: "16"
77+
- key: modernize-loop-convert.MinConfidence
78+
value: reasonable
79+
- key: modernize-loop-convert.NamingStyle
80+
value: CamelCase
81+
- key: modernize-pass-by-value.IncludeStyle
82+
value: llvm
83+
- key: modernize-pass-by-value.ValuesOnly
84+
value: "0"
85+
- key: modernize-raw-string-literal.ReplaceShorterLiterals
86+
value: "0"
87+
- key: modernize-replace-auto-ptr.IncludeStyle
88+
value: llvm
89+
- key: modernize-replace-random-shuffle.IncludeStyle
90+
value: llvm
91+
- key: modernize-use-auto.RemoveStars
92+
value: "0"
93+
- key: modernize-use-default-member-init.UseAssignment
94+
value: "0"
95+
- key: modernize-use-emplace.ContainersWithPushBack
96+
value: "::std::vector;::std::list;::std::deque"
97+
- key: modernize-use-emplace.SmartPointers
98+
value: "::std::shared_ptr;::std::unique_ptr;::std::auto_ptr;::std::weak_ptr"
99+
- key: modernize-use-nullptr.NullMacros
100+
value: "NULL"
101+
- key: modernize-use-transparent-functors.SafeMode
102+
value: "0"
103+
- key: modernize-use-using.IgnoreMacros
104+
value: "1"
105+
- key: performance-faster-string-find.StringLikeClasses
106+
value: "std::basic_string"
107+
- key: performance-for-range-copy.WarnOnAllAutoCopies
108+
value: "0"
109+
- key: performance-inefficient-string-concatenation.StrictMode
110+
value: "0"
111+
- key: performance-inefficient-vector-operation.VectorLikeClasses
112+
value: "::std::vector"
113+
- key: performance-type-promotion-in-math-fn.IncludeStyle
114+
value: llvm
115+
- key: performance-unnecessary-value-param.IncludeStyle
116+
value: llvm
117+
...

.codecov.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,7 @@ comment:
3131
layout: "reach, diff, flags, files, footer"
3232
behavior: default
3333
require_changes: no
34+
35+
ignore:
36+
- "src/date/**/*"
37+
- "src/docopt/**/*"

.github/CONTRIBUTING.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ Consult existing code for examples.
2525
For the longest time, however, no one but me actually read them.
2626
When I contribute to other projects, I definitely try to have useful, clear commit messages and you should, too.*
2727
8. Run `clang-format` using the project's [.clang-format].
28-
9. Open a pull request against the develop branch of the main repository (which is the default).
28+
9. Run `clang-tidy` using the project's [.clang-tidy].
29+
10. Open a pull request against the develop branch of the main repository (which is the default).
2930
[Travis-CI] will test it against combinations of Linux (Ubuntu 14.04), MacOS, clang, and gcc, so ensure that your code compiles on both platforms with both compilers.
30-
10. All pull requests must pass [Travis-CI] and [AppVeyor] to be accepted.
31-
In particular, look at results from git whitespace checks (`git diff --check HEAD^`), [ClangFormat], [ClangTidy], [Valgrind], [Coverity], and [Codecov] .
32-
11. I will get to your change as soon as I can.
31+
11. All pull requests must pass [Travis-CI] and [AppVeyor] to be accepted.
32+
In particular, look at results from git whitespace checks (`git diff --check HEAD^`), [ClangFormat], [ClangTidy], [Valgrind], [Codecov], and [SonarCloud] .
33+
12. I will get to your change as soon as I can.
3334
Feel free to ping me on [Gitter] with any questions.
3435
You will receive proper credit for your contributions both in the code and any resulting scientific papers using the output of `git log --format='%aN | sort -u`.
3536

@@ -62,4 +63,4 @@ Most editors/IDEs have plugins for `clang-format` and `clang-tidy`.
6263
[Codecov]: https://codecov.io/support
6364
[Gitter]: https://gitter.im/acgetchell/CDT-plusplus
6465
[ClangTidy]: http://clang.llvm.org/extra/clang-tidy/index.html
65-
[Coverity]: https://scan.coverity.com/projects/acgetchell-cdt-plusplus
66+
[SonarCloud]: https://sonarcloud.io/dashboard?id=CDT-plusplus%3Adevelop

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ slurm-*.out
4646

4747
# Instrumentation
4848
*.trace
49+
build-wrapper-macosx-x86
50+
*.scannerwork
51+
bw-output/*
4952

5053
# Cruft
5154
*.old.*

0 commit comments

Comments
 (0)