clang-format
seems to make a big mess out of blocks like this:
desc.add_options()("help", "output usage")
("inputDirectory", po::value<boost::filesystem::path>()->required(), "The input path")
("outputDirectory", po::value<boost::filesystem::path>()->required(), "The output path");
I know about // clang-format off
to explicitly not format a block, but is there a set of configuration rules to make it do something reasonable with this?
Some stupid checker may also report that "You shouldn't put
(
before whitespaces". So you may define temporary local variable to storeoptions_description_easy_init
.And then use
clang-format
to reformat the code.