summaryrefslogtreecommitdiffstats
path: root/Utilities/cmjsoncpp/src
Commit message (Collapse)AuthorAgeFilesLines
* jsoncpp: Drop doxygen comments not recognized by ClangBrad King2017-08-301-1/+1
| | | | | Some Clang versions warn with `-Wdocumentation-unknown-command` about the `\internal` and `\snippet` command tag names.
* 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-308-1694/+2588
| | | | | * 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: Fix compilation as C99 on SolarisJoerg Sonnenberger2015-09-141-1/+3
| | | | | In C99 mode, Solaris variants may already define isfinite, so check for the existence first.
* jsoncpp: Provide 'isfinite' impl on more HP-UX versions (#15576)Michael Scott2015-05-261-1/+6
| | | | | | Some versions of HP-UX do not define 'isfinite' or 'finite' in math.h for Itanium when preprocessing with C++, so we have to add the definition ourselves instead to map to the internal version.
* jsoncpp: Provide 'isfinite' implementation on older AIX and HP-UXÅdne Hovda2015-03-311-0/+14
| | | | | Newer AIX and HP-UX platforms provide 'isfinite' as a <math.h> macro. Older versions do not, so add the definition if it is not provided.
* jsoncpp: Provide 'isfinite' implementation on SolarisBrad King2015-01-151-0/+6
| | | | Solaris provides a 'finite' function in <ieeefp.h>.
* jsoncpp: Provide 'isfinite' implementation on ancient glibcBrad King2015-01-151-0/+7
| | | | | The glibc 2.1 headers provide isfinite only in C99 mode. Add its definition ourselves.
* jsoncpp: Add missing assert before strcmp in json_value.cppBrad King2015-01-151-2/+6
| | | | | | The strcmp function does not allow NULL pointers, so add an assert to tell Clang scan-build that the code does not expect a NULL pointer.
* jsoncpp: Include C headers since we use APIs without std::Brad King2015-01-152-5/+5
|
* Merge branch 'jsoncpp-upstream' into import-jsoncppBrad King2015-01-138-0/+4335
Use a subtree merge to place the upstream content in the Utilities/cmjsoncpp directory.