summaryrefslogtreecommitdiffstats
path: root/Utilities/cmjsoncpp/src/lib_json/json_reader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'upstream-jsoncpp' into update-jsoncppBrad King2021-09-091-510/+439
| | | | | * upstream-jsoncpp: jsoncpp 2020-09-25 (9059f5ca)
* clang-analyzer: rename from scan-build in commentsBrad King2021-06-031-1/+1
|
* jsoncpp: Revert "Code style: add missed explicit 'this->'"Kitware Robot2021-06-031-1067/+960
| | | | | Revert the part of commit 209daa20b2 (Code style: add missed explicit 'this->', 2021-01-05, v3.20.0-rc1~213^2) that updated third-party code.
* Code style: add missed explicit 'this->'Oleksandr Koval2021-01-051-960/+1067
| | | | | CMake uses explicit 'this->' style. Using custom clang-tidy check we can detect and fix places where 'this->' was missed.
* jsoncpp: fix signed overflow when parsing negative valueBrad King2018-12-111-1/+1
| | | | | | | | | | Clang's ubsan (-fsanitize=undefined) reports: runtime error: negation of -9223372036854775808 cannot be represented in type 'Json::Value::LargestInt' (aka 'long'); cast to an unsigned type to negate this value to itself Follow its advice and update the code to remove the explicit negation.
* jsoncpp: Add initialization to pacify scanbuildBrad King2017-08-301-0/+1
| | | | | | | The scanbuild analysis cannot see that decodeUnicodeEscapeSequence either initializes the `unicode` argument or returns `false` such that the code following it runs only if `unicode` is initialized. Add an explicit initialization to pacify it.
* Merge branch 'upstream-jsoncpp' into update-jsoncppBrad King2017-08-301-127/+1306
| | | | | * upstream-jsoncpp: jsoncpp 2017-08-27 (4cfae897)
* jsoncpp: Add missing cast to convert from char to UIntMarc Chevrier2015-09-251-1/+1
| | | | | | When parsing digits we know our `c - '0'` expression results in a non-negative value due to preceding conditions. Simply cast the result to UInt. This fixes compilation on SolarisStudio 12.4.
* jsoncpp: Include C headers since we use APIs without std::Brad King2015-01-151-3/+3
|
* Merge branch 'jsoncpp-upstream' into import-jsoncppBrad King2015-01-131-0/+885
Use a subtree merge to place the upstream content in the Utilities/cmjsoncpp directory.