simdjson/tests
Paul Dreik 75545ff70d
ref qualify parser methods to avoid use of dangling objects (#703)
To avoid using data belonging to a temporary, the parse functions are ref qualified to get a compile error if used on an rvalue. See https://github.com/simdjson/simdjson/issues/696

Compilation tests are also added, to make sure bad usage fails to compile.

Reviewed by jkeiser.
2020-04-15 09:57:52 +02:00
..
compilation_failure_tests ref qualify parser methods to avoid use of dangling objects (#703) 2020-04-15 09:57:52 +02:00
CMakeLists.txt ref qualify parser methods to avoid use of dangling objects (#703) 2020-04-15 09:57:52 +02:00
allparserscheckfile.cpp Move document/element/etc. under dom 2020-03-28 13:42:21 -07:00
basictests.cpp Merge pull request #715 from simdjson/jkeiser/thorough-type-tests 2020-04-14 16:08:36 -07:00
errortests.cpp Add more tests to cmake 2020-04-08 14:52:56 -07:00
extracting_values_example.cpp Trying to correct the documentation so that it actually describes how the code behaves. (Attempt two) (#712) 2020-04-14 22:31:21 -04:00
integer_tests.cpp Replace as_X and is_X with get<T> and is<T> 2020-03-28 15:29:53 -07:00
issue150.sh Add quicktests, slowtests to cmake 2020-04-09 14:21:45 -07:00
jsoncheck.cpp Move document/element/etc. under dom 2020-03-28 13:42:21 -07:00
numberparsingcheck.cpp Move document/element/etc. under dom 2020-03-28 13:42:21 -07:00
parse_many_test.cpp Move document/element/etc. under dom 2020-03-28 13:42:21 -07:00
pointercheck.cpp Remove array indexer, make object indexer key lookup 2020-03-28 15:56:43 -07:00
readme_examples.cpp Compile under C++ 11 2020-04-08 14:00:13 -07:00
readme_examples_noexceptions.cpp Compile under C++ 11 2020-04-08 14:00:13 -07:00
singleheadertest.cpp Add more tests to cmake 2020-04-08 14:52:56 -07:00
staticchecks.cpp Support C++ 14 2020-04-08 14:00:13 -07:00
stringparsingcheck.cpp Move document/element/etc. under dom 2020-03-28 13:42:21 -07:00
testjson2json.sh Add quicktests, slowtests to cmake 2020-04-09 14:21:45 -07:00