jsoncpp/include/json
Hans Johnson e3e05c7085 STYLE: Pefer = default to explicitly trivial implementations
This check replaces default bodies of special member functions with
= default;. The explicitly defaulted function declarations enable more
opportunities in optimization, because the compiler might treat
explicitly defaulted functions as trivial.

Additionally, the C++11 use of = default more clearly expreses the
intent for the special member functions.

SRCDIR=/Users/johnsonhj/src/jsoncpp/ #My local SRC
BLDDIR=/Users/johnsonhj/src/jsoncpp/cmake-build-debug/ #My local BLD

cd /Users/johnsonhj/src/jsoncpp/cmake-build-debug/
run-clang-tidy.py -extra-arg=-D__clang__ -checks=-*,modernize-use-equals-default  -header-filter=.* -fix
2019-01-15 18:30:49 -06:00
..
allocator.h Apply the formatting specified in .clang-format file. 2018-05-20 18:38:42 -04:00
assertions.h COMP: Prefer the C++ headers over the C99 headers 2018-12-30 15:29:22 -06:00
autolink.h Restore BL's authorship attribution, and add "The Jsoncpp Authors" where it was missing. 2017-07-21 03:44:36 -07:00
config.h ENH: Remove conditionals for unsupported VS compilers 2019-01-14 16:27:52 -06:00
features.h STYLE: Use default member initialization 2019-01-15 18:30:49 -06:00
forwards.h Restore BL's authorship attribution, and add "The Jsoncpp Authors" where it was missing. 2017-07-21 03:44:36 -07:00
json.h Apply the formatting specified in .clang-format file. 2018-05-20 18:38:42 -04:00
reader.h STYLE: Pefer = default to explicitly trivial implementations 2019-01-15 18:30:49 -06:00
value.h STYLE: Use default member initialization 2019-01-15 18:30:49 -06:00
version.h Apply the formatting specified in .clang-format file. 2018-05-20 18:38:42 -04:00
writer.h STYLE: Pefer = default to explicitly trivial implementations 2019-01-15 18:30:49 -06:00