Raffaello Bertini and GitHub
1c2e767347
Fix YAML::Newline in a sequence or map.
...
Inside of a sequence or map, `YAML::Newline` wouldn't reset the collection state, which would cause behavior like this:
```
nodeA:
k: [{i: 0},
{i:1},
]NodeB:
k: [{i: 0},
{i:1},
]
```
2020-07-01 22:31:51 -05:00
Chen and GitHub
3f381f13a0
remove the wrong swap file. ( #907 )
2020-06-29 08:19:35 -05:00
Chen and GitHub
08aa252611
Support kinds of emitter format-setting for YAML::Null. ( #906 )
...
* Support kinds of emitter format-setting for YAML::Null.
* update the code and test cases
* add the comment //fallthrough
2020-06-28 23:31:53 -05:00
Dekken and GitHub
27d8a0e302
Refactor to allow MSVC without #define NOMINMAX ( #905 )
2020-06-27 20:28:24 -05:00
Dekken and GitHub
97d1ae547c
rm unusued typedef ( #901 )
2020-06-21 07:58:16 -05:00
Chen and GitHub
5a9ab177ba
tag_null ( #897 )
2020-06-17 12:49:09 -05:00
Chen and GitHub
72fe73a104
fix issue752: generate right long keys ( #879 )
...
* fix issue752: generate right long keys
* Improve the readability of test cases
* update to raw string literal
2020-06-17 00:57:28 -05:00
Rosen Penev and GitHub
a7a7908dc5
[clang-tidy] use auto ( #888 )
...
Found with modernize-use-auto
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-06-16 10:22:14 -05:00
Rosen Penev and GitHub
0b0bf35c48
[clang-tidy] convert several functions to use references ( #894 )
...
Found with performance-unnecessary-value-param
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-06-15 17:34:27 -05:00
Rosen Penev and GitHub
dbb385bdf5
[clang-tidy] use empty method ( #895 )
...
Found with readability-container-size-empty
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-06-15 17:23:40 -05:00
Rosen Penev and GitHub
b2cd008717
partially fix clang compilation ( #893 )
...
* partially fix clang compilation
Missing header and mistaken algorithm usage.
Also removed it name from range loops. It's not correct.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
* run through clang's -Wrange-loop-analysis
Some range loops should not use references as they need to copy.
Signed-off-by: Rosen Penev <rosenp@gmail.com >
* manual range loop conversions
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-06-15 16:59:27 -05:00
Rosen Penev and GitHub
6387cbc0ca
[clang-tidy] use braced initialization list ( #883 )
...
Found with modernize-return-braced-init-list
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-06-15 15:41:14 -05:00
Rosen Penev and GitHub
1bf9540a7d
[clang-tidy] fix inconsistent declaration ( #884 )
...
Found with readability-inconsistent-declaration-parameter-name
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-06-15 15:39:04 -05:00
Rosen Penev and GitHub
4c90f2962e
[clang-tidy] use bool literals ( #881 )
...
Found with modernize-use-bool-literals
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-06-15 15:30:37 -05:00
Rosen Penev and GitHub
4f6d0733c9
[clang-tidy] use raw strings for easier readability ( #882 )
...
Found with modernize-raw-string-literal
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-06-15 15:29:38 -05:00
Rosen Penev and GitHub
f05947ae59
[clang-tidy] use emplace_back ( #880 )
...
Found with modernize-use-emplace
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-06-15 15:28:19 -05:00
Rosen Penev and GitHub
66171449d4
[clang-tidy] replace typedef with using ( #886 )
...
Found with modernize-use-using
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-06-15 15:27:08 -05:00
Rosen Penev and GitHub
33c9f6e062
[clang-tidy] use override ( #885 )
...
Found with modernize-use-override
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-06-15 15:20:22 -05:00
Rosen Penev and GitHub
7e4f290ef9
[clang-tidy] use = default ( #887 )
...
Found with modernize-use-equals-default
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-06-15 15:19:21 -05:00
Rosen Penev and GitHub
ae811c3d86
[clang-tidy] convert to range loops ( #889 )
...
Found with modernize-loop-convert
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-06-15 15:17:50 -05:00
Rosen Penev and GitHub
41001d1bf9
manual algorithm conversions ( #891 )
...
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-06-15 15:10:09 -05:00
Rosen Penev and GitHub
a808c1f44a
[clang-tidy] do not use return after else ( #892 )
...
Found with readability-else-after-return
Signed-off-by: Rosen Penev <rosenp@gmail.com >
2020-06-15 15:09:29 -05:00
Chen and GitHub
4dbfeb0bbc
Support as<uint8_t>/as<int8_t>.
...
Fix issue 844/848.
2020-06-15 10:31:59 -05:00
Chen and GitHub
33316d531b
Add tests for some interfaces of emitter ( #875 )
2020-05-31 09:16:16 -05:00
Josh Soref and GitHub
6701275f19
Spelling ( #870 )
...
* spelling: differently
* spelling: irrelevant
* spelling: specified
2020-05-25 09:30:55 -05:00