-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' of https://github.com/nlohmann/json into featu…
…re/optional
- Loading branch information
Showing
1,494 changed files
with
95,225 additions
and
73,248 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
arm_container: | ||
image: gcc:latest | ||
|
||
check_task: | ||
check_script: | ||
- wget https://github.com/Kitware/CMake/releases/download/v3.20.2/cmake-3.20.2.tar.gz | ||
- tar xfz cmake-3.20.2.tar.gz | ||
- cd cmake-3.20.2 | ||
- ./configure | ||
- make cmake ctest -j4 | ||
- cd .. | ||
- mkdir build | ||
- cd build | ||
- ../cmake-3.20.2/bin/cmake .. -DJSON_FastTests=ON | ||
- make -j4 | ||
- cd tests | ||
- ../../cmake-3.20.2/bin/ctest -j4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,59 @@ | ||
Checks: '*, | ||
-altera-id-dependent-backward-branch, | ||
-altera-struct-pack-align, | ||
-altera-unroll-loops, | ||
-android-cloexec-fopen, | ||
-bugprone-easily-swappable-parameters, | ||
-cert-err58-cpp, | ||
-concurrency-mt-unsafe, | ||
-cppcoreguidelines-avoid-const-or-ref-data-members, | ||
-cppcoreguidelines-avoid-do-while, | ||
-cppcoreguidelines-avoid-goto, | ||
-cppcoreguidelines-avoid-magic-numbers, | ||
-cppcoreguidelines-avoid-non-const-global-variables, | ||
-cppcoreguidelines-macro-usage, | ||
-cppcoreguidelines-pro-bounds-array-to-pointer-decay, | ||
-cppcoreguidelines-pro-bounds-constant-array-index, | ||
-cppcoreguidelines-pro-bounds-pointer-arithmetic, | ||
-cppcoreguidelines-pro-type-reinterpret-cast, | ||
-cppcoreguidelines-pro-type-union-access, | ||
-cppcoreguidelines-virtual-class-destructor, | ||
-fuchsia-default-arguments-calls, | ||
-fuchsia-default-arguments-declarations, | ||
-fuchsia-overloaded-operator, | ||
-google-explicit-constructor, | ||
-google-readability-function-size, | ||
-google-runtime-int, | ||
-google-runtime-references, | ||
-hicpp-avoid-goto, | ||
-hicpp-explicit-conversions, | ||
-hicpp-function-size, | ||
-hicpp-no-array-decay, | ||
-hicpp-no-assembler, | ||
-hicpp-signed-bitwise, | ||
-hicpp-uppercase-literal-suffix, | ||
-llvm-header-guard, | ||
-llvm-include-order, | ||
-llvmlibc-*, | ||
-misc-confusable-identifiers, | ||
-misc-no-recursion, | ||
-misc-non-private-member-variables-in-classes, | ||
-modernize-concat-nested-namespaces, | ||
-modernize-use-nodiscard, | ||
-modernize-use-trailing-return-type, | ||
-readability-function-cognitive-complexity, | ||
-readability-function-size, | ||
-readability-identifier-length, | ||
-readability-magic-numbers, | ||
-readability-redundant-access-specifiers, | ||
-readability-simplify-boolean-expr, | ||
-readability-uppercase-literal-suffix' | ||
|
||
CheckOptions: | ||
- key: hicpp-special-member-functions.AllowSoleDefaultDtor | ||
value: 1 | ||
|
||
WarningsAsErrors: '*' | ||
|
||
#HeaderFilterRegex: '.*nlohmann.*' | ||
HeaderFilterRegex: '.*hpp$' |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
name: Bug Report | ||
description: Create a bug report | ||
labels: | ||
- 'kind: bug' | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: > | ||
Thanks for taking the time to fill out this bug report! | ||
Make sure you give it a short and specific **title** so that the report | ||
is searchable and uniquely identifiable. | ||
Note that this form is for bug reports only. Please | ||
[open a discussion](https://github.com/nlohmann/json/discussions/new) | ||
for questions, feature requests, or support requests | ||
- type: textarea | ||
id: summary | ||
attributes: | ||
label: Description | ||
description: > | ||
Please provide an abstract description of the issue to the developers, | ||
and why you consider it to be a bug. Please include any specific links | ||
to the documentation, JSON specification, or code. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reproduce | ||
attributes: | ||
label: Reproduction steps | ||
description: > | ||
How do you trigger the bug? Please walk us through step by step. Be as | ||
specific as possible. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: results | ||
attributes: | ||
label: Expected vs. actual results | ||
description: > | ||
Please describe what you expected to happen after the steps above and | ||
what actually happened. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: code | ||
attributes: | ||
label: Minimal code example | ||
description: > | ||
If possible, provide a small and self-contained example that triggers | ||
the bug. Please understand that we cannot analyze and debug large code | ||
bases. Please do not paste screenshots here. | ||
render: Shell | ||
- type: textarea | ||
id: output | ||
attributes: | ||
label: Error messages | ||
description: > | ||
Please provide any kind of error output (compilation errors, exception | ||
messages, stack traces, etc.) which can help to diagnose the error. | ||
render: Shell | ||
- type: input | ||
id: compiler | ||
attributes: | ||
label: Compiler and operating system | ||
description: > | ||
On which operating systems and compilers have you observed the issue? | ||
Include as many relevant details about the environment you experienced | ||
the bug in. Make sure you use a | ||
[supported compiler](https://github.com/nlohmann/json#supported-compilers). | ||
validations: | ||
required: true | ||
- type: input | ||
id: version | ||
attributes: | ||
label: Library version | ||
description: > | ||
Which version of the library did you use? If it is a released version, | ||
please enter the version number (e.g., 3.11.2). Otherwise, please enter | ||
the commit hash. If you got the library from another source as the | ||
GitHub repository (e.g., via a package manager), please also state | ||
this. | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
id: validation | ||
attributes: | ||
label: Validation | ||
description: > | ||
Please check these additional steps: | ||
options: | ||
- label: The bug also occurs if the latest version from the [`develop`](https://github.com/nlohmann/json/tree/develop) branch is used. | ||
- label: I can successfully [compile and run the unit tests](https://github.com/nlohmann/json#execute-unit-tests). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.