DEBUG: Executing shell function do_compile
NOTE: cmake --build TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/build --target all --
[1/88] Building CXX object examples/CMakeFiles/groups.dir/groups.cpp.o
FAILED: examples/CMakeFiles/groups.dir/groups.cpp.o
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/cmake -E __run_co_compile --tidy=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/clang-tidy --source=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/groups.cpp -- TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ -ITOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -std=c++11 -MD -MT examples/CMakeFiles/groups.dir/groups.cpp.o -MF examples/CMakeFiles/groups.dir/groups.cpp.o.d -o examples/CMakeFiles/groups.dir/groups.cpp.o -c TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/groups.cpp
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/groups.cpp:4:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int main(int argc, char **argv) {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:46:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string simple(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:47:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string help(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:283:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *callback(std::function<void()> app_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:290:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *preparse_callback(std::function<void(size_t)> pp_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:296:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *name(std::string app_name = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:303:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:309:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *required(bool require = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:315:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:321:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled_by_default(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:328:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *enabled_by_default(bool enable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:334:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *immediate_callback(bool immediate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:340:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *validate_positionals(bool validate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:347:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_config_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:354:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *prefix_command(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:360:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_case(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:372:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_windows_style_options(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:378:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *positionals_at_end(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:384:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_underscore(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:396:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter(std::shared_ptr<FormatterBase> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:402:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter_fn(std::function<std::string(const App *, std::string, AppFormatMode)> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:408:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *config_formatter(std::shared_ptr<Config> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:414:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool parsed() const { return parsed_ > 0; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:417:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *option_defaults() { return &option_defaults_; }
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:437:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:473:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:490:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:494:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
auto fun = [func](CLI::results_t res) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:509:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:517:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name, T &option_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:523:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:557:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:581:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_flag(std::string flag_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:598:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_all_flag(std::string help_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:616:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *_add_flag_internal(std::string flag_name, CLI::callback_t fun, std::string flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:642:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name) { return _add_flag_internal(flag_name, CLI::callback_t(), std::string{}); }
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:650:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name, T &flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:658:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:680:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:698:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:713:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_callback(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:733:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_function(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:757:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:769:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:781:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:794:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:807:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:820:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:832:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:846:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:859:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:872:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:884:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:898:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:911:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:925:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:937:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:952:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:965:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_complex(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:996:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_config(std::string option_name = "",
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1017:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_option(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1040:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
T *add_option_group(std::string group_name, std::string group_description = "") {
~~~^
auto -> T *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1054:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(std::string subcommand_name = "", std::string subcommand_description = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1060:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(CLI::App_p subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1074:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_subcommand(App *subcom) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1090:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(App *subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1100:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(std::string subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1107:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(int index = 0) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1117:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(App *subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1127:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(std::string subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1135:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(int index = 0) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1145:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_option_group(std::string group_name) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1157:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return parsed_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1161:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count_all() const {
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1176:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *group(std::string group_name) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1182:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1191:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1204:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1211:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1220:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1233:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1241:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *fallthrough(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1372:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int exit(const Error &e, std::ostream &out = std::cout, std::ostream &err = std::cerr) const {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1401:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count(std::string option_name) const { return get_option(option_name)->count(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2695:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2711:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(App *subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2763:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string simple(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2782:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string help(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Config.hpp:18:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
ConfigINI::to_config(const App *app, bool default_also, bool write_description, std::string prefix) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:20:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ini_join(std::vector<std::string> args) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:53:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string fullname() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:67:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_config(const App *, bool, bool, std::string) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:73:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_flag(const ConfigItem &item) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:96:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string to_config(const App *, bool default_also, bool write_description, std::string prefix) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:68:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_exit_code() const { return actual_exit_code; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:70:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_name() const { return error_name; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:89:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction PositionalFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:92:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction Set0Opt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:95:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction SetFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:98:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction ChangeNotVector(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:101:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction AfterMultiOpt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:105:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MissingOption(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:108:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MultiOptionPolicy(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:117:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString OneCharName(std::string name) { return BadNameString("Invalid one char name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:118:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString BadLongName(std::string name) { return BadNameString("Bad long name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:119:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString DashesOnly(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:122:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString MultiPositionalNames(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:132:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Requires(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Excludes(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:152:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Success() : Success("Successfully completed, should be caught and quit", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:158:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForHelp() : CallForHelp("This should be caught in your main function, see examples", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:164:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForAllHelp()
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:178:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static FileError Missing(std::string name) { return FileError(name + " was not readable (missing?)"); }
~~~~~~~~~ ^
auto -> FileError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:189:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TooManyInputsFlag(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:192:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TrueFalse(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:208:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Subcommand(size_t min_subcom) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:215:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Option(size_t min_option, size_t max_option, size_t used, const std::string &option_list) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:249:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch AtLeast(std::string name, int num) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:252:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:255:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch FlagOverride(std::string name) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:288:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError Extras(std::string item) { return ConfigError("INI was not able to parse " + item); }
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:289:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError NotConfigurable(std::string item) {
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:14:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Formatter::make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:25:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_positionals(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:35:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_groups(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:59:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_description(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:85:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_usage(const App *app, std::string name) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:127:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_footer(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_help(const App *app, std::string name, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:159:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommands(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:199:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommand(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:205:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_expanded(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:222:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_name(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:229:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_opts(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:259:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_desc(const Option *opt) const { return opt->get_description(); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:261:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_usage(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:57:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_help(const App *, std::string, AppFormatMode) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:74:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_label(std::string key) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:82:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t get_column_width() const { return column_width_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:102:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *app, std::string name, AppFormatMode mode) const override {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:120:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:123:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_positionals(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:126:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_groups(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:129:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommands(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:132:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommand(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:135:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_expanded(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:138:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_footer(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:141:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_description(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:144:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_usage(const App *app, std::string name) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:147:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *, std::string, AppFormatMode) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:154:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:162:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_name(const Option *, bool) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:165:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_opts(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:168:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_desc(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:171:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_usage(const Option *opt) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:83:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *group(std::string name) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:89:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *required(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:95:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *mandatory(bool value = true) { return required(value); }
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:97:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *always_capture_default(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:105:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_group() const { return group_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:108:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_required() const { return required_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:111:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_case() const { return ignore_case_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:114:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_underscore() const { return ignore_underscore_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:117:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_configurable() const { return configurable_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:120:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_disable_flag_override() const { return disable_flag_override_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:123:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
char get_delimiter() const { return delimiter_; }
~~~~ ^
auto -> char
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:126:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_always_capture_default() const { return always_capture_default_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:129:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
MultiOptionPolicy get_multi_option_policy() const { return multi_option_policy_; }
~~~~~~~~~~~~~~~~~ ^
auto -> MultiOptionPolicy
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:134:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_last() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:141:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_first() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:148:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *join() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:155:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *configurable(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:161:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *delimiter(char value = '\0') {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:176:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:182:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_case(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:188:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_underscore(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:194:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *disable_flag_override(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:200:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *delimiter(char value = '\0') {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:307:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return results_.size(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:310:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t empty() const { return results_.empty(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:323:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *expected(int value) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:350:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:359:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(std::function<std::string(const std::string &)> validator,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:368:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:376:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(std::function<std::string(std::string)> func,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:392:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *each(std::function<void(std::string)> func) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:402:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator *get_validator(const std::string &validator_name = "") {
~~~~~~~~~~~^
auto -> Validator *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:414:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *needs(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:422:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *needs(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:430:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *needs(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:436:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_needs(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:448:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *excludes(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:461:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *excludes(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:469:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *excludes(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:475:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_excludes(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:487:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *envname(std::string name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:496:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_case(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:511:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_underscore(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:522:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:531:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *disable_flag_override(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:540:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_type_size() const { return type_size_; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:543:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_envname() const { return envname_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Optional.hpp:6:10: error: 'istream' file not found [clang-diagnostic-error]
#include <istream>
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:17:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_short(const std::string ¤t, std::string &name, std::string &rest) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:27:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_long(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:43:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_windows_style(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:59:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_names(std::string current) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:23:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::ostream &operator<<(std::ostream &in, const T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:30:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::istream &operator>>(std::istream &in, T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:45:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split(const std::string &s, char delim) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:61:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> inline std::string as_string(const T &v) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:73:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string join(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:89:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string join(const T &v, Callable func, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:102:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string rjoin(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:115:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:122:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:129:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:136:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:144:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str) { return ltrim(rtrim(str)); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:147:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str, const std::string filter) { return ltrim(rtrim(str, filter), filter); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:150:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:156:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:161:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ostream &format_help(std::ostream &out, std::string name, std::string description, size_t wid) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:179:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_first_char(T c) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:184:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_later_char(T c) { return valid_first_char(c) || c == '.' || c == '-'; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:187:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool valid_name_string(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:197:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool isalpha(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:202:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string to_lower(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:210:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string remove_underscore(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:216:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string find_and_replace(std::string str, std::string from, std::string to) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:229:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool has_default_flag_values(const std::string &flags) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:247:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ptrdiff_t find_member(std::string name,
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:278:49: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Callable> inline std::string find_and_modify(std::string str, std::string trigger, Callable modify) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:288:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_up(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:337:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string fix_newlines(std::string leader, std::string input) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:353:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline size_t escape_detect(std::string &str, size_t offset) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:366:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &add_quotes_if_needed(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Timer.hpp:47:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::string Simple(std::string title, std::string time) { return title + ": " + time; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Timer.hpp:50:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::string Big(std::string title, std::string time) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Timer.hpp:61:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string time_it(std::function<void()> f, double target_time = 1) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Timer.hpp:79:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_time_str() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Timer.hpp:88:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_time_str(double time) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Timer.hpp:107:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string to_string() const { return time_print_(title_, make_time_str()); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Timer.hpp:110:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Timer &operator/(size_t val) {
~~~~~~~^
auto -> Timer &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Timer.hpp:124:5: warning: use '= default' to define a trivial destructor [modernize-use-equals-default]
~AutoTimer() { std::cout << to_string() << std::endl; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Timer.hpp:130:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ostream &operator<<(std::ostream &in, const CLI::Timer &timer) { return in << timer.to_string(); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:60:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &operation(std::function<std::string(std::string &)> op) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:66:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:81:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(const std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:87:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &description(std::string validator_desc) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:92:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_description() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:99:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &name(std::string validator_name) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:104:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_name() const { return name_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:106:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &active(bool active_val = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:112:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &non_modifying(bool no_modify = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:118:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_active() const { return active_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:121:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_modifying() const { return !non_modifying_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:125:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator&(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:149:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator|(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:171:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator!() const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:221:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingFileValidator() : Validator("FILE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:239:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingDirectoryValidator() : Validator("DIR") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:257:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingPathValidator() : Validator("PATH(existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:272:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
NonexistentPathValidator() : Validator("PATH(non-existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:287:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
IPV4Validator() : Validator("IPV4") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:312:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
PositiveNumber() : Validator("POSITIVE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:329:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Number() : Validator("NUMBER") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:432:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::remove_reference<T>::type &smart_deref(T &value) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:436:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_set(const T &set) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:448:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_map(const T &map, bool key_only = false) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:514:87: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> typename std::enable_if<std::is_integral<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:529:71: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::enable_if<std::is_floating_point<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:743:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_case(std::string item) { return detail::to_lower(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:746:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_underscore(std::string item) { return detail::remove_underscore(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:749:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_space(std::string item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:872:51: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Number> static std::string generate_description(const std::string &name, Options opts) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:916:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> init_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:935:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> get_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:951:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::pair<std::string, std::string> split_program_name(std::string commandline) {
^
532 warnings and 1 error generated.
Error while processing TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/groups.cpp.
Suppressed 256 warnings (254 in non-user code, 2 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).
[2/88] Building CXX object examples/CMakeFiles/subcommands.dir/subcommands.cpp.o
FAILED: examples/CMakeFiles/subcommands.dir/subcommands.cpp.o
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/cmake -E __run_co_compile --tidy=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/clang-tidy --source=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/subcommands.cpp -- TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ -ITOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -std=c++11 -MD -MT examples/CMakeFiles/subcommands.dir/subcommands.cpp.o -MF examples/CMakeFiles/subcommands.dir/subcommands.cpp.o.d -o examples/CMakeFiles/subcommands.dir/subcommands.cpp.o -c TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/subcommands.cpp
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/subcommands.cpp:3:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int main(int argc, char **argv) {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:46:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string simple(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:47:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string help(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:283:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *callback(std::function<void()> app_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:290:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *preparse_callback(std::function<void(size_t)> pp_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:296:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *name(std::string app_name = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:303:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:309:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *required(bool require = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:315:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:321:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled_by_default(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:328:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *enabled_by_default(bool enable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:334:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *immediate_callback(bool immediate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:340:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *validate_positionals(bool validate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:347:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_config_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:354:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *prefix_command(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:360:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_case(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:372:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_windows_style_options(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:378:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *positionals_at_end(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:384:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_underscore(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:396:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter(std::shared_ptr<FormatterBase> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:402:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter_fn(std::function<std::string(const App *, std::string, AppFormatMode)> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:408:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *config_formatter(std::shared_ptr<Config> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:414:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool parsed() const { return parsed_ > 0; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:417:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *option_defaults() { return &option_defaults_; }
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:437:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:473:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:490:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:494:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
auto fun = [func](CLI::results_t res) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:509:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:517:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name, T &option_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:523:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:557:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:581:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_flag(std::string flag_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:598:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_all_flag(std::string help_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:616:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *_add_flag_internal(std::string flag_name, CLI::callback_t fun, std::string flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:642:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name) { return _add_flag_internal(flag_name, CLI::callback_t(), std::string{}); }
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:650:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name, T &flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:658:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:680:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:698:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:713:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_callback(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:733:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_function(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:757:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:769:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:781:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:794:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:807:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:820:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:832:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:846:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:859:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:872:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:884:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:898:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:911:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:925:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:937:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:952:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:965:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_complex(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:996:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_config(std::string option_name = "",
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1017:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_option(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1040:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
T *add_option_group(std::string group_name, std::string group_description = "") {
~~~^
auto -> T *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1054:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(std::string subcommand_name = "", std::string subcommand_description = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1060:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(CLI::App_p subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1074:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_subcommand(App *subcom) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1090:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(App *subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1100:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(std::string subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1107:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(int index = 0) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1117:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(App *subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1127:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(std::string subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1135:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(int index = 0) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1145:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_option_group(std::string group_name) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1157:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return parsed_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1161:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count_all() const {
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1176:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *group(std::string group_name) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1182:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1191:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1204:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1211:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1220:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1233:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1241:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *fallthrough(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1372:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int exit(const Error &e, std::ostream &out = std::cout, std::ostream &err = std::cerr) const {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1401:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count(std::string option_name) const { return get_option(option_name)->count(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2695:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2711:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(App *subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2763:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string simple(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2782:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string help(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Config.hpp:18:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
ConfigINI::to_config(const App *app, bool default_also, bool write_description, std::string prefix) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:20:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ini_join(std::vector<std::string> args) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:53:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string fullname() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:67:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_config(const App *, bool, bool, std::string) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:73:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_flag(const ConfigItem &item) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:96:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string to_config(const App *, bool default_also, bool write_description, std::string prefix) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:68:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_exit_code() const { return actual_exit_code; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:70:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_name() const { return error_name; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:89:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction PositionalFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:92:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction Set0Opt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:95:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction SetFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:98:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction ChangeNotVector(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:101:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction AfterMultiOpt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:105:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MissingOption(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:108:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MultiOptionPolicy(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:117:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString OneCharName(std::string name) { return BadNameString("Invalid one char name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:118:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString BadLongName(std::string name) { return BadNameString("Bad long name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:119:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString DashesOnly(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:122:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString MultiPositionalNames(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:132:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Requires(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Excludes(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:152:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Success() : Success("Successfully completed, should be caught and quit", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:158:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForHelp() : CallForHelp("This should be caught in your main function, see examples", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:164:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForAllHelp()
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:178:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static FileError Missing(std::string name) { return FileError(name + " was not readable (missing?)"); }
~~~~~~~~~ ^
auto -> FileError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:189:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TooManyInputsFlag(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:192:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TrueFalse(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:208:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Subcommand(size_t min_subcom) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:215:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Option(size_t min_option, size_t max_option, size_t used, const std::string &option_list) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:249:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch AtLeast(std::string name, int num) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:252:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:255:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch FlagOverride(std::string name) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:288:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError Extras(std::string item) { return ConfigError("INI was not able to parse " + item); }
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:289:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError NotConfigurable(std::string item) {
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:14:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Formatter::make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:25:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_positionals(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:35:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_groups(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:59:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_description(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:85:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_usage(const App *app, std::string name) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:127:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_footer(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_help(const App *app, std::string name, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:159:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommands(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:199:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommand(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:205:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_expanded(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:222:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_name(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:229:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_opts(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:259:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_desc(const Option *opt) const { return opt->get_description(); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:261:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_usage(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:57:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_help(const App *, std::string, AppFormatMode) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:74:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_label(std::string key) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:82:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t get_column_width() const { return column_width_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:102:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *app, std::string name, AppFormatMode mode) const override {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:120:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:123:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_positionals(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:126:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_groups(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:129:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommands(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:132:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommand(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:135:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_expanded(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:138:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_footer(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:141:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_description(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:144:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_usage(const App *app, std::string name) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:147:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *, std::string, AppFormatMode) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:154:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:162:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_name(const Option *, bool) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:165:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_opts(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:168:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_desc(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:171:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_usage(const Option *opt) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:83:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *group(std::string name) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:89:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *required(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:95:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *mandatory(bool value = true) { return required(value); }
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:97:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *always_capture_default(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:105:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_group() const { return group_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:108:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_required() const { return required_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:111:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_case() const { return ignore_case_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:114:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_underscore() const { return ignore_underscore_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:117:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_configurable() const { return configurable_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:120:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_disable_flag_override() const { return disable_flag_override_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:123:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
char get_delimiter() const { return delimiter_; }
~~~~ ^
auto -> char
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:126:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_always_capture_default() const { return always_capture_default_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:129:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
MultiOptionPolicy get_multi_option_policy() const { return multi_option_policy_; }
~~~~~~~~~~~~~~~~~ ^
auto -> MultiOptionPolicy
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:134:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_last() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:141:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_first() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:148:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *join() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:155:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *configurable(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:161:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *delimiter(char value = '\0') {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:176:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:182:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_case(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:188:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_underscore(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:194:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *disable_flag_override(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:200:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *delimiter(char value = '\0') {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:307:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return results_.size(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:310:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t empty() const { return results_.empty(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:323:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *expected(int value) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:350:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:359:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(std::function<std::string(const std::string &)> validator,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:368:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:376:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(std::function<std::string(std::string)> func,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:392:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *each(std::function<void(std::string)> func) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:402:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator *get_validator(const std::string &validator_name = "") {
~~~~~~~~~~~^
auto -> Validator *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:414:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *needs(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:422:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *needs(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:430:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *needs(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:436:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_needs(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:448:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *excludes(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:461:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *excludes(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:469:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *excludes(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:475:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_excludes(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:487:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *envname(std::string name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:496:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_case(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:511:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_underscore(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:522:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:531:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *disable_flag_override(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:540:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_type_size() const { return type_size_; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:543:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_envname() const { return envname_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Optional.hpp:6:10: error: 'istream' file not found [clang-diagnostic-error]
#include <istream>
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:17:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_short(const std::string ¤t, std::string &name, std::string &rest) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:27:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_long(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:43:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_windows_style(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:59:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_names(std::string current) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:23:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::ostream &operator<<(std::ostream &in, const T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:30:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::istream &operator>>(std::istream &in, T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:45:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split(const std::string &s, char delim) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:61:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> inline std::string as_string(const T &v) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:73:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string join(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:89:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string join(const T &v, Callable func, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:102:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string rjoin(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:115:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:122:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:129:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:136:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:144:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str) { return ltrim(rtrim(str)); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:147:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str, const std::string filter) { return ltrim(rtrim(str, filter), filter); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:150:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:156:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:161:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ostream &format_help(std::ostream &out, std::string name, std::string description, size_t wid) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:179:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_first_char(T c) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:184:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_later_char(T c) { return valid_first_char(c) || c == '.' || c == '-'; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:187:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool valid_name_string(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:197:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool isalpha(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:202:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string to_lower(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:210:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string remove_underscore(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:216:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string find_and_replace(std::string str, std::string from, std::string to) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:229:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool has_default_flag_values(const std::string &flags) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:247:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ptrdiff_t find_member(std::string name,
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:278:49: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Callable> inline std::string find_and_modify(std::string str, std::string trigger, Callable modify) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:288:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_up(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:337:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string fix_newlines(std::string leader, std::string input) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:353:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline size_t escape_detect(std::string &str, size_t offset) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:366:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &add_quotes_if_needed(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:60:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &operation(std::function<std::string(std::string &)> op) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:66:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:81:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(const std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:87:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &description(std::string validator_desc) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:92:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_description() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:99:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &name(std::string validator_name) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:104:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_name() const { return name_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:106:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &active(bool active_val = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:112:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &non_modifying(bool no_modify = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:118:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_active() const { return active_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:121:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_modifying() const { return !non_modifying_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:125:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator&(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:149:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator|(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:171:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator!() const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:221:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingFileValidator() : Validator("FILE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:239:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingDirectoryValidator() : Validator("DIR") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:257:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingPathValidator() : Validator("PATH(existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:272:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
NonexistentPathValidator() : Validator("PATH(non-existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:287:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
IPV4Validator() : Validator("IPV4") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:312:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
PositiveNumber() : Validator("POSITIVE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:329:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Number() : Validator("NUMBER") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:432:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::remove_reference<T>::type &smart_deref(T &value) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:436:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_set(const T &set) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:448:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_map(const T &map, bool key_only = false) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:514:87: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> typename std::enable_if<std::is_integral<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:529:71: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::enable_if<std::is_floating_point<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:743:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_case(std::string item) { return detail::to_lower(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:746:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_underscore(std::string item) { return detail::remove_underscore(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:749:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_space(std::string item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:872:51: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Number> static std::string generate_description(const std::string &name, Options opts) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:916:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> init_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:935:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> get_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:951:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::pair<std::string, std::string> split_program_name(std::string commandline) {
^
523 warnings and 1 error generated.
Error while processing TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/subcommands.cpp.
Suppressed 256 warnings (254 in non-user code, 2 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).
[3/88] Building CXX object examples/CMakeFiles/positional_validation.dir/positional_validation.cpp.o
FAILED: examples/CMakeFiles/positional_validation.dir/positional_validation.cpp.o
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/cmake -E __run_co_compile --tidy=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/clang-tidy --source=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/positional_validation.cpp -- TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ -ITOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -std=c++11 -MD -MT examples/CMakeFiles/positional_validation.dir/positional_validation.cpp.o -MF examples/CMakeFiles/positional_validation.dir/positional_validation.cpp.o.d -o examples/CMakeFiles/positional_validation.dir/positional_validation.cpp.o -c TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/positional_validation.cpp
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/positional_validation.cpp:3:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int main(int argc, char **argv) {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:46:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string simple(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:47:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string help(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:283:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *callback(std::function<void()> app_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:290:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *preparse_callback(std::function<void(size_t)> pp_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:296:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *name(std::string app_name = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:303:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:309:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *required(bool require = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:315:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:321:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled_by_default(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:328:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *enabled_by_default(bool enable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:334:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *immediate_callback(bool immediate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:340:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *validate_positionals(bool validate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:347:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_config_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:354:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *prefix_command(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:360:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_case(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:372:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_windows_style_options(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:378:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *positionals_at_end(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:384:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_underscore(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:396:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter(std::shared_ptr<FormatterBase> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:402:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter_fn(std::function<std::string(const App *, std::string, AppFormatMode)> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:408:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *config_formatter(std::shared_ptr<Config> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:414:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool parsed() const { return parsed_ > 0; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:417:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *option_defaults() { return &option_defaults_; }
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:437:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:473:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:490:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:494:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
auto fun = [func](CLI::results_t res) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:509:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:517:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name, T &option_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:523:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:557:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:581:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_flag(std::string flag_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:598:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_all_flag(std::string help_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:616:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *_add_flag_internal(std::string flag_name, CLI::callback_t fun, std::string flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:642:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name) { return _add_flag_internal(flag_name, CLI::callback_t(), std::string{}); }
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:650:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name, T &flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:658:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:680:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:698:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:713:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_callback(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:733:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_function(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:757:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:769:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:781:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:794:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:807:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:820:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:832:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:846:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:859:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:872:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:884:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:898:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:911:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:925:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:937:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:952:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:965:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_complex(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:996:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_config(std::string option_name = "",
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1017:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_option(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1040:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
T *add_option_group(std::string group_name, std::string group_description = "") {
~~~^
auto -> T *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1054:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(std::string subcommand_name = "", std::string subcommand_description = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1060:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(CLI::App_p subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1074:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_subcommand(App *subcom) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1090:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(App *subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1100:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(std::string subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1107:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(int index = 0) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1117:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(App *subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1127:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(std::string subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1135:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(int index = 0) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1145:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_option_group(std::string group_name) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1157:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return parsed_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1161:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count_all() const {
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1176:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *group(std::string group_name) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1182:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1191:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1204:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1211:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1220:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1233:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1241:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *fallthrough(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1372:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int exit(const Error &e, std::ostream &out = std::cout, std::ostream &err = std::cerr) const {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1401:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count(std::string option_name) const { return get_option(option_name)->count(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2695:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2711:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(App *subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2763:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string simple(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2782:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string help(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Config.hpp:18:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
ConfigINI::to_config(const App *app, bool default_also, bool write_description, std::string prefix) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:20:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ini_join(std::vector<std::string> args) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:53:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string fullname() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:67:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_config(const App *, bool, bool, std::string) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:73:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_flag(const ConfigItem &item) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:96:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string to_config(const App *, bool default_also, bool write_description, std::string prefix) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:68:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_exit_code() const { return actual_exit_code; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:70:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_name() const { return error_name; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:89:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction PositionalFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:92:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction Set0Opt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:95:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction SetFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:98:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction ChangeNotVector(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:101:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction AfterMultiOpt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:105:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MissingOption(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:108:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MultiOptionPolicy(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:117:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString OneCharName(std::string name) { return BadNameString("Invalid one char name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:118:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString BadLongName(std::string name) { return BadNameString("Bad long name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:119:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString DashesOnly(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:122:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString MultiPositionalNames(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:132:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Requires(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Excludes(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:152:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Success() : Success("Successfully completed, should be caught and quit", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:158:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForHelp() : CallForHelp("This should be caught in your main function, see examples", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:164:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForAllHelp()
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:178:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static FileError Missing(std::string name) { return FileError(name + " was not readable (missing?)"); }
~~~~~~~~~ ^
auto -> FileError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:189:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TooManyInputsFlag(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:192:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TrueFalse(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:208:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Subcommand(size_t min_subcom) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:215:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Option(size_t min_option, size_t max_option, size_t used, const std::string &option_list) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:249:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch AtLeast(std::string name, int num) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:252:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:255:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch FlagOverride(std::string name) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:288:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError Extras(std::string item) { return ConfigError("INI was not able to parse " + item); }
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:289:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError NotConfigurable(std::string item) {
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:14:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Formatter::make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:25:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_positionals(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:35:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_groups(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:59:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_description(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:85:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_usage(const App *app, std::string name) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:127:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_footer(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_help(const App *app, std::string name, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:159:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommands(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:199:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommand(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:205:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_expanded(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:222:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_name(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:229:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_opts(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:259:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_desc(const Option *opt) const { return opt->get_description(); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:261:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_usage(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:57:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_help(const App *, std::string, AppFormatMode) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:74:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_label(std::string key) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:82:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t get_column_width() const { return column_width_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:102:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *app, std::string name, AppFormatMode mode) const override {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:120:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:123:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_positionals(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:126:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_groups(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:129:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommands(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:132:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommand(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:135:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_expanded(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:138:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_footer(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:141:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_description(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:144:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_usage(const App *app, std::string name) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:147:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *, std::string, AppFormatMode) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:154:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:162:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_name(const Option *, bool) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:165:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_opts(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:168:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_desc(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:171:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_usage(const Option *opt) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:83:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *group(std::string name) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:89:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *required(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:95:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *mandatory(bool value = true) { return required(value); }
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:97:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *always_capture_default(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:105:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_group() const { return group_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:108:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_required() const { return required_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:111:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_case() const { return ignore_case_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:114:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_underscore() const { return ignore_underscore_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:117:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_configurable() const { return configurable_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:120:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_disable_flag_override() const { return disable_flag_override_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:123:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
char get_delimiter() const { return delimiter_; }
~~~~ ^
auto -> char
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:126:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_always_capture_default() const { return always_capture_default_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:129:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
MultiOptionPolicy get_multi_option_policy() const { return multi_option_policy_; }
~~~~~~~~~~~~~~~~~ ^
auto -> MultiOptionPolicy
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:134:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_last() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:141:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_first() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:148:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *join() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:155:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *configurable(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:161:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *delimiter(char value = '\0') {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:176:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:182:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_case(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:188:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_underscore(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:194:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *disable_flag_override(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:200:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *delimiter(char value = '\0') {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:307:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return results_.size(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:310:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t empty() const { return results_.empty(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:323:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *expected(int value) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:350:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:359:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(std::function<std::string(const std::string &)> validator,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:368:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:376:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(std::function<std::string(std::string)> func,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:392:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *each(std::function<void(std::string)> func) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:402:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator *get_validator(const std::string &validator_name = "") {
~~~~~~~~~~~^
auto -> Validator *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:414:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *needs(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:422:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *needs(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:430:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *needs(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:436:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_needs(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:448:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *excludes(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:461:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *excludes(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:469:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *excludes(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:475:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_excludes(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:487:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *envname(std::string name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:496:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_case(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:511:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_underscore(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:522:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:531:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *disable_flag_override(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:540:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_type_size() const { return type_size_; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:543:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_envname() const { return envname_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Optional.hpp:6:10: error: 'istream' file not found [clang-diagnostic-error]
#include <istream>
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:17:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_short(const std::string ¤t, std::string &name, std::string &rest) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:27:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_long(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:43:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_windows_style(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:59:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_names(std::string current) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:23:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::ostream &operator<<(std::ostream &in, const T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:30:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::istream &operator>>(std::istream &in, T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:45:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split(const std::string &s, char delim) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:61:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> inline std::string as_string(const T &v) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:73:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string join(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:89:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string join(const T &v, Callable func, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:102:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string rjoin(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:115:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:122:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:129:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:136:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:144:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str) { return ltrim(rtrim(str)); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:147:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str, const std::string filter) { return ltrim(rtrim(str, filter), filter); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:150:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:156:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:161:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ostream &format_help(std::ostream &out, std::string name, std::string description, size_t wid) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:179:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_first_char(T c) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:184:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_later_char(T c) { return valid_first_char(c) || c == '.' || c == '-'; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:187:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool valid_name_string(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:197:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool isalpha(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:202:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string to_lower(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:210:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string remove_underscore(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:216:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string find_and_replace(std::string str, std::string from, std::string to) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:229:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool has_default_flag_values(const std::string &flags) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:247:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ptrdiff_t find_member(std::string name,
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:278:49: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Callable> inline std::string find_and_modify(std::string str, std::string trigger, Callable modify) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:288:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_up(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:337:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string fix_newlines(std::string leader, std::string input) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:353:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline size_t escape_detect(std::string &str, size_t offset) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:366:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &add_quotes_if_needed(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:60:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &operation(std::function<std::string(std::string &)> op) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:66:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:81:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(const std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:87:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &description(std::string validator_desc) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:92:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_description() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:99:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &name(std::string validator_name) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:104:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_name() const { return name_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:106:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &active(bool active_val = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:112:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &non_modifying(bool no_modify = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:118:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_active() const { return active_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:121:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_modifying() const { return !non_modifying_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:125:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator&(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:149:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator|(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:171:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator!() const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:221:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingFileValidator() : Validator("FILE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:239:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingDirectoryValidator() : Validator("DIR") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:257:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingPathValidator() : Validator("PATH(existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:272:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
NonexistentPathValidator() : Validator("PATH(non-existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:287:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
IPV4Validator() : Validator("IPV4") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:312:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
PositiveNumber() : Validator("POSITIVE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:329:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Number() : Validator("NUMBER") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:432:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::remove_reference<T>::type &smart_deref(T &value) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:436:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_set(const T &set) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:448:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_map(const T &map, bool key_only = false) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:514:87: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> typename std::enable_if<std::is_integral<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:529:71: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::enable_if<std::is_floating_point<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:743:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_case(std::string item) { return detail::to_lower(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:746:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_underscore(std::string item) { return detail::remove_underscore(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:749:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_space(std::string item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:872:51: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Number> static std::string generate_description(const std::string &name, Options opts) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:916:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> init_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:935:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> get_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:951:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::pair<std::string, std::string> split_program_name(std::string commandline) {
^
523 warnings and 1 error generated.
Error while processing TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/positional_validation.cpp.
Suppressed 256 warnings (254 in non-user code, 2 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).
[4/88] Building CXX object examples/CMakeFiles/ranges.dir/ranges.cpp.o
FAILED: examples/CMakeFiles/ranges.dir/ranges.cpp.o
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/cmake -E __run_co_compile --tidy=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/clang-tidy --source=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/ranges.cpp -- TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ -ITOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -std=c++11 -MD -MT examples/CMakeFiles/ranges.dir/ranges.cpp.o -MF examples/CMakeFiles/ranges.dir/ranges.cpp.o.d -o examples/CMakeFiles/ranges.dir/ranges.cpp.o -c TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/ranges.cpp
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/ranges.cpp:3:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int main(int argc, char **argv) {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:46:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string simple(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:47:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string help(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:283:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *callback(std::function<void()> app_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:290:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *preparse_callback(std::function<void(size_t)> pp_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:296:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *name(std::string app_name = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:303:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:309:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *required(bool require = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:315:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:321:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled_by_default(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:328:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *enabled_by_default(bool enable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:334:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *immediate_callback(bool immediate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:340:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *validate_positionals(bool validate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:347:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_config_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:354:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *prefix_command(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:360:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_case(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:372:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_windows_style_options(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:378:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *positionals_at_end(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:384:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_underscore(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:396:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter(std::shared_ptr<FormatterBase> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:402:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter_fn(std::function<std::string(const App *, std::string, AppFormatMode)> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:408:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *config_formatter(std::shared_ptr<Config> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:414:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool parsed() const { return parsed_ > 0; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:417:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *option_defaults() { return &option_defaults_; }
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:437:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:473:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:490:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:494:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
auto fun = [func](CLI::results_t res) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:509:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:517:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name, T &option_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:523:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:557:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:581:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_flag(std::string flag_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:598:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_all_flag(std::string help_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:616:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *_add_flag_internal(std::string flag_name, CLI::callback_t fun, std::string flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:642:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name) { return _add_flag_internal(flag_name, CLI::callback_t(), std::string{}); }
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:650:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name, T &flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:658:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:680:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:698:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:713:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_callback(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:733:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_function(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:757:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:769:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:781:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:794:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:807:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:820:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:832:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:846:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:859:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:872:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:884:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:898:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:911:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:925:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:937:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:952:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:965:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_complex(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:996:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_config(std::string option_name = "",
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1017:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_option(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1040:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
T *add_option_group(std::string group_name, std::string group_description = "") {
~~~^
auto -> T *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1054:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(std::string subcommand_name = "", std::string subcommand_description = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1060:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(CLI::App_p subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1074:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_subcommand(App *subcom) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1090:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(App *subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1100:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(std::string subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1107:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(int index = 0) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1117:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(App *subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1127:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(std::string subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1135:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(int index = 0) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1145:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_option_group(std::string group_name) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1157:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return parsed_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1161:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count_all() const {
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1176:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *group(std::string group_name) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1182:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1191:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1204:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1211:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1220:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1233:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1241:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *fallthrough(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1372:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int exit(const Error &e, std::ostream &out = std::cout, std::ostream &err = std::cerr) const {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1401:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count(std::string option_name) const { return get_option(option_name)->count(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2695:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2711:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(App *subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2763:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string simple(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2782:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string help(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Config.hpp:18:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
ConfigINI::to_config(const App *app, bool default_also, bool write_description, std::string prefix) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:20:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ini_join(std::vector<std::string> args) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:53:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string fullname() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:67:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_config(const App *, bool, bool, std::string) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:73:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_flag(const ConfigItem &item) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:96:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string to_config(const App *, bool default_also, bool write_description, std::string prefix) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:68:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_exit_code() const { return actual_exit_code; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:70:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_name() const { return error_name; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:89:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction PositionalFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:92:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction Set0Opt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:95:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction SetFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:98:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction ChangeNotVector(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:101:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction AfterMultiOpt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:105:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MissingOption(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:108:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MultiOptionPolicy(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:117:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString OneCharName(std::string name) { return BadNameString("Invalid one char name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:118:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString BadLongName(std::string name) { return BadNameString("Bad long name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:119:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString DashesOnly(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:122:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString MultiPositionalNames(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:132:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Requires(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Excludes(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:152:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Success() : Success("Successfully completed, should be caught and quit", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:158:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForHelp() : CallForHelp("This should be caught in your main function, see examples", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:164:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForAllHelp()
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:178:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static FileError Missing(std::string name) { return FileError(name + " was not readable (missing?)"); }
~~~~~~~~~ ^
auto -> FileError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:189:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TooManyInputsFlag(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:192:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TrueFalse(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:208:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Subcommand(size_t min_subcom) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:215:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Option(size_t min_option, size_t max_option, size_t used, const std::string &option_list) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:249:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch AtLeast(std::string name, int num) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:252:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:255:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch FlagOverride(std::string name) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:288:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError Extras(std::string item) { return ConfigError("INI was not able to parse " + item); }
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:289:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError NotConfigurable(std::string item) {
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:14:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Formatter::make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:25:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_positionals(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:35:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_groups(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:59:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_description(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:85:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_usage(const App *app, std::string name) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:127:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_footer(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_help(const App *app, std::string name, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:159:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommands(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:199:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommand(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:205:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_expanded(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:222:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_name(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:229:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_opts(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:259:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_desc(const Option *opt) const { return opt->get_description(); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:261:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_usage(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:57:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_help(const App *, std::string, AppFormatMode) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:74:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_label(std::string key) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:82:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t get_column_width() const { return column_width_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:102:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *app, std::string name, AppFormatMode mode) const override {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:120:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:123:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_positionals(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:126:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_groups(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:129:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommands(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:132:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommand(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:135:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_expanded(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:138:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_footer(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:141:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_description(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:144:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_usage(const App *app, std::string name) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:147:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *, std::string, AppFormatMode) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:154:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:162:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_name(const Option *, bool) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:165:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_opts(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:168:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_desc(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:171:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_usage(const Option *opt) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:83:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *group(std::string name) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:89:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *required(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:95:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *mandatory(bool value = true) { return required(value); }
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:97:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *always_capture_default(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:105:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_group() const { return group_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:108:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_required() const { return required_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:111:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_case() const { return ignore_case_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:114:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_underscore() const { return ignore_underscore_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:117:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_configurable() const { return configurable_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:120:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_disable_flag_override() const { return disable_flag_override_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:123:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
char get_delimiter() const { return delimiter_; }
~~~~ ^
auto -> char
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:126:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_always_capture_default() const { return always_capture_default_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:129:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
MultiOptionPolicy get_multi_option_policy() const { return multi_option_policy_; }
~~~~~~~~~~~~~~~~~ ^
auto -> MultiOptionPolicy
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:134:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_last() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:141:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_first() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:148:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *join() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:155:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *configurable(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:161:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *delimiter(char value = '\0') {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:176:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:182:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_case(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:188:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_underscore(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:194:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *disable_flag_override(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:200:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *delimiter(char value = '\0') {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:307:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return results_.size(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:310:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t empty() const { return results_.empty(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:323:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *expected(int value) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:350:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:359:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(std::function<std::string(const std::string &)> validator,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:368:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:376:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(std::function<std::string(std::string)> func,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:392:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *each(std::function<void(std::string)> func) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:402:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator *get_validator(const std::string &validator_name = "") {
~~~~~~~~~~~^
auto -> Validator *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:414:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *needs(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:422:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *needs(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:430:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *needs(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:436:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_needs(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:448:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *excludes(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:461:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *excludes(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:469:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *excludes(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:475:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_excludes(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:487:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *envname(std::string name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:496:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_case(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:511:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_underscore(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:522:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:531:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *disable_flag_override(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:540:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_type_size() const { return type_size_; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:543:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_envname() const { return envname_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Optional.hpp:6:10: error: 'istream' file not found [clang-diagnostic-error]
#include <istream>
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:17:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_short(const std::string ¤t, std::string &name, std::string &rest) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:27:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_long(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:43:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_windows_style(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:59:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_names(std::string current) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:23:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::ostream &operator<<(std::ostream &in, const T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:30:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::istream &operator>>(std::istream &in, T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:45:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split(const std::string &s, char delim) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:61:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> inline std::string as_string(const T &v) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:73:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string join(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:89:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string join(const T &v, Callable func, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:102:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string rjoin(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:115:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:122:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:129:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:136:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:144:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str) { return ltrim(rtrim(str)); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:147:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str, const std::string filter) { return ltrim(rtrim(str, filter), filter); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:150:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:156:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:161:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ostream &format_help(std::ostream &out, std::string name, std::string description, size_t wid) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:179:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_first_char(T c) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:184:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_later_char(T c) { return valid_first_char(c) || c == '.' || c == '-'; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:187:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool valid_name_string(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:197:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool isalpha(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:202:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string to_lower(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:210:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string remove_underscore(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:216:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string find_and_replace(std::string str, std::string from, std::string to) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:229:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool has_default_flag_values(const std::string &flags) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:247:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ptrdiff_t find_member(std::string name,
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:278:49: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Callable> inline std::string find_and_modify(std::string str, std::string trigger, Callable modify) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:288:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_up(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:337:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string fix_newlines(std::string leader, std::string input) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:353:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline size_t escape_detect(std::string &str, size_t offset) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:366:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &add_quotes_if_needed(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:60:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &operation(std::function<std::string(std::string &)> op) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:66:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:81:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(const std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:87:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &description(std::string validator_desc) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:92:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_description() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:99:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &name(std::string validator_name) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:104:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_name() const { return name_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:106:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &active(bool active_val = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:112:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &non_modifying(bool no_modify = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:118:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_active() const { return active_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:121:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_modifying() const { return !non_modifying_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:125:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator&(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:149:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator|(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:171:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator!() const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:221:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingFileValidator() : Validator("FILE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:239:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingDirectoryValidator() : Validator("DIR") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:257:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingPathValidator() : Validator("PATH(existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:272:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
NonexistentPathValidator() : Validator("PATH(non-existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:287:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
IPV4Validator() : Validator("IPV4") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:312:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
PositiveNumber() : Validator("POSITIVE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:329:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Number() : Validator("NUMBER") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:432:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::remove_reference<T>::type &smart_deref(T &value) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:436:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_set(const T &set) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:448:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_map(const T &map, bool key_only = false) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:514:87: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> typename std::enable_if<std::is_integral<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:529:71: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::enable_if<std::is_floating_point<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:743:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_case(std::string item) { return detail::to_lower(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:746:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_underscore(std::string item) { return detail::remove_underscore(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:749:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_space(std::string item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:872:51: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Number> static std::string generate_description(const std::string &name, Options opts) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:916:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> init_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:935:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> get_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:951:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::pair<std::string, std::string> split_program_name(std::string commandline) {
^
523 warnings and 1 error generated.
Error while processing TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/ranges.cpp.
Suppressed 256 warnings (254 in non-user code, 2 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).
[5/88] Building CXX object examples/CMakeFiles/modhelp.dir/modhelp.cpp.o
FAILED: examples/CMakeFiles/modhelp.dir/modhelp.cpp.o
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/cmake -E __run_co_compile --tidy=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/clang-tidy --source=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/modhelp.cpp -- TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ -ITOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -std=c++11 -MD -MT examples/CMakeFiles/modhelp.dir/modhelp.cpp.o -MF examples/CMakeFiles/modhelp.dir/modhelp.cpp.o.d -o examples/CMakeFiles/modhelp.dir/modhelp.cpp.o -c TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/modhelp.cpp
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/modhelp.cpp:6:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int main(int argc, char **argv) {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:46:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string simple(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:47:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string help(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:283:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *callback(std::function<void()> app_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:290:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *preparse_callback(std::function<void(size_t)> pp_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:296:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *name(std::string app_name = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:303:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:309:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *required(bool require = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:315:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:321:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled_by_default(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:328:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *enabled_by_default(bool enable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:334:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *immediate_callback(bool immediate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:340:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *validate_positionals(bool validate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:347:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_config_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:354:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *prefix_command(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:360:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_case(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:372:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_windows_style_options(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:378:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *positionals_at_end(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:384:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_underscore(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:396:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter(std::shared_ptr<FormatterBase> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:402:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter_fn(std::function<std::string(const App *, std::string, AppFormatMode)> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:408:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *config_formatter(std::shared_ptr<Config> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:414:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool parsed() const { return parsed_ > 0; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:417:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *option_defaults() { return &option_defaults_; }
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:437:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:473:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:490:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:494:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
auto fun = [func](CLI::results_t res) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:509:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:517:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name, T &option_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:523:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:557:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:581:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_flag(std::string flag_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:598:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_all_flag(std::string help_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:616:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *_add_flag_internal(std::string flag_name, CLI::callback_t fun, std::string flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:642:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name) { return _add_flag_internal(flag_name, CLI::callback_t(), std::string{}); }
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:650:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name, T &flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:658:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:680:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:698:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:713:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_callback(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:733:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_function(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:757:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:769:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:781:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:794:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:807:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:820:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:832:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:846:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:859:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:872:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:884:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:898:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:911:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:925:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:937:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:952:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:965:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_complex(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:996:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_config(std::string option_name = "",
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1017:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_option(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1040:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
T *add_option_group(std::string group_name, std::string group_description = "") {
~~~^
auto -> T *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1054:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(std::string subcommand_name = "", std::string subcommand_description = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1060:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(CLI::App_p subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1074:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_subcommand(App *subcom) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1090:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(App *subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1100:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(std::string subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1107:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(int index = 0) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1117:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(App *subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1127:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(std::string subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1135:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(int index = 0) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1145:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_option_group(std::string group_name) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1157:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return parsed_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1161:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count_all() const {
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1176:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *group(std::string group_name) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1182:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1191:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1204:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1211:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1220:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1233:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1241:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *fallthrough(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1372:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int exit(const Error &e, std::ostream &out = std::cout, std::ostream &err = std::cerr) const {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1401:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count(std::string option_name) const { return get_option(option_name)->count(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2695:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2711:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(App *subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2763:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string simple(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2782:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string help(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Config.hpp:18:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
ConfigINI::to_config(const App *app, bool default_also, bool write_description, std::string prefix) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:20:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ini_join(std::vector<std::string> args) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:53:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string fullname() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:67:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_config(const App *, bool, bool, std::string) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:73:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_flag(const ConfigItem &item) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:96:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string to_config(const App *, bool default_also, bool write_description, std::string prefix) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:68:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_exit_code() const { return actual_exit_code; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:70:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_name() const { return error_name; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:89:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction PositionalFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:92:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction Set0Opt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:95:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction SetFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:98:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction ChangeNotVector(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:101:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction AfterMultiOpt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:105:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MissingOption(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:108:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MultiOptionPolicy(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:117:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString OneCharName(std::string name) { return BadNameString("Invalid one char name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:118:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString BadLongName(std::string name) { return BadNameString("Bad long name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:119:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString DashesOnly(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:122:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString MultiPositionalNames(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:132:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Requires(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Excludes(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:152:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Success() : Success("Successfully completed, should be caught and quit", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:158:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForHelp() : CallForHelp("This should be caught in your main function, see examples", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:164:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForAllHelp()
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:178:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static FileError Missing(std::string name) { return FileError(name + " was not readable (missing?)"); }
~~~~~~~~~ ^
auto -> FileError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:189:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TooManyInputsFlag(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:192:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TrueFalse(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:208:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Subcommand(size_t min_subcom) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:215:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Option(size_t min_option, size_t max_option, size_t used, const std::string &option_list) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:249:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch AtLeast(std::string name, int num) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:252:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:255:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch FlagOverride(std::string name) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:288:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError Extras(std::string item) { return ConfigError("INI was not able to parse " + item); }
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:289:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError NotConfigurable(std::string item) {
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:14:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Formatter::make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:25:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_positionals(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:35:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_groups(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:59:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_description(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:85:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_usage(const App *app, std::string name) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:127:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_footer(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_help(const App *app, std::string name, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:159:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommands(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:199:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommand(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:205:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_expanded(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:222:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_name(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:229:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_opts(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:259:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_desc(const Option *opt) const { return opt->get_description(); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:261:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_usage(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:57:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_help(const App *, std::string, AppFormatMode) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:74:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_label(std::string key) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:82:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t get_column_width() const { return column_width_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:102:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *app, std::string name, AppFormatMode mode) const override {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:120:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:123:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_positionals(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:126:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_groups(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:129:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommands(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:132:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommand(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:135:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_expanded(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:138:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_footer(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:141:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_description(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:144:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_usage(const App *app, std::string name) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:147:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *, std::string, AppFormatMode) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:154:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:162:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_name(const Option *, bool) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:165:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_opts(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:168:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_desc(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:171:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_usage(const Option *opt) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:83:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *group(std::string name) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:89:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *required(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:95:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *mandatory(bool value = true) { return required(value); }
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:97:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *always_capture_default(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:105:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_group() const { return group_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:108:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_required() const { return required_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:111:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_case() const { return ignore_case_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:114:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_underscore() const { return ignore_underscore_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:117:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_configurable() const { return configurable_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:120:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_disable_flag_override() const { return disable_flag_override_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:123:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
char get_delimiter() const { return delimiter_; }
~~~~ ^
auto -> char
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:126:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_always_capture_default() const { return always_capture_default_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:129:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
MultiOptionPolicy get_multi_option_policy() const { return multi_option_policy_; }
~~~~~~~~~~~~~~~~~ ^
auto -> MultiOptionPolicy
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:134:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_last() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:141:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_first() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:148:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *join() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:155:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *configurable(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:161:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *delimiter(char value = '\0') {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:176:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:182:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_case(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:188:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_underscore(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:194:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *disable_flag_override(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:200:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *delimiter(char value = '\0') {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:307:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return results_.size(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:310:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t empty() const { return results_.empty(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:323:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *expected(int value) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:350:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:359:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(std::function<std::string(const std::string &)> validator,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:368:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:376:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(std::function<std::string(std::string)> func,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:392:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *each(std::function<void(std::string)> func) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:402:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator *get_validator(const std::string &validator_name = "") {
~~~~~~~~~~~^
auto -> Validator *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:414:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *needs(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:422:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *needs(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:430:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *needs(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:436:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_needs(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:448:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *excludes(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:461:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *excludes(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:469:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *excludes(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:475:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_excludes(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:487:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *envname(std::string name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:496:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_case(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:511:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_underscore(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:522:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:531:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *disable_flag_override(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:540:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_type_size() const { return type_size_; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:543:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_envname() const { return envname_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Optional.hpp:6:10: error: 'istream' file not found [clang-diagnostic-error]
#include <istream>
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:17:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_short(const std::string ¤t, std::string &name, std::string &rest) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:27:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_long(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:43:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_windows_style(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:59:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_names(std::string current) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:23:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::ostream &operator<<(std::ostream &in, const T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:30:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::istream &operator>>(std::istream &in, T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:45:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split(const std::string &s, char delim) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:61:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> inline std::string as_string(const T &v) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:73:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string join(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:89:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string join(const T &v, Callable func, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:102:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string rjoin(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:115:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:122:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:129:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:136:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:144:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str) { return ltrim(rtrim(str)); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:147:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str, const std::string filter) { return ltrim(rtrim(str, filter), filter); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:150:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:156:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:161:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ostream &format_help(std::ostream &out, std::string name, std::string description, size_t wid) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:179:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_first_char(T c) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:184:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_later_char(T c) { return valid_first_char(c) || c == '.' || c == '-'; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:187:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool valid_name_string(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:197:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool isalpha(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:202:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string to_lower(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:210:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string remove_underscore(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:216:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string find_and_replace(std::string str, std::string from, std::string to) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:229:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool has_default_flag_values(const std::string &flags) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:247:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ptrdiff_t find_member(std::string name,
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:278:49: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Callable> inline std::string find_and_modify(std::string str, std::string trigger, Callable modify) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:288:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_up(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:337:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string fix_newlines(std::string leader, std::string input) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:353:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline size_t escape_detect(std::string &str, size_t offset) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:366:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &add_quotes_if_needed(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:60:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &operation(std::function<std::string(std::string &)> op) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:66:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:81:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(const std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:87:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &description(std::string validator_desc) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:92:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_description() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:99:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &name(std::string validator_name) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:104:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_name() const { return name_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:106:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &active(bool active_val = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:112:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &non_modifying(bool no_modify = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:118:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_active() const { return active_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:121:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_modifying() const { return !non_modifying_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:125:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator&(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:149:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator|(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:171:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator!() const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:221:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingFileValidator() : Validator("FILE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:239:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingDirectoryValidator() : Validator("DIR") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:257:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingPathValidator() : Validator("PATH(existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:272:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
NonexistentPathValidator() : Validator("PATH(non-existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:287:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
IPV4Validator() : Validator("IPV4") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:312:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
PositiveNumber() : Validator("POSITIVE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:329:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Number() : Validator("NUMBER") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:432:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::remove_reference<T>::type &smart_deref(T &value) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:436:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_set(const T &set) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:448:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_map(const T &map, bool key_only = false) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:514:87: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> typename std::enable_if<std::is_integral<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:529:71: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::enable_if<std::is_floating_point<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:743:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_case(std::string item) { return detail::to_lower(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:746:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_underscore(std::string item) { return detail::remove_underscore(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:749:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_space(std::string item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:872:51: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Number> static std::string generate_description(const std::string &name, Options opts) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:916:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> init_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:935:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> get_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:951:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::pair<std::string, std::string> split_program_name(std::string commandline) {
^
523 warnings and 1 error generated.
Error while processing TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/modhelp.cpp.
Suppressed 256 warnings (254 in non-user code, 2 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).
[6/88] Building CXX object examples/CMakeFiles/inter_argument_order.dir/inter_argument_order.cpp.o
FAILED: examples/CMakeFiles/inter_argument_order.dir/inter_argument_order.cpp.o
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/cmake -E __run_co_compile --tidy=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/clang-tidy --source=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/inter_argument_order.cpp -- TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ -ITOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -std=c++11 -MD -MT examples/CMakeFiles/inter_argument_order.dir/inter_argument_order.cpp.o -MF examples/CMakeFiles/inter_argument_order.dir/inter_argument_order.cpp.o.d -o examples/CMakeFiles/inter_argument_order.dir/inter_argument_order.cpp.o -c TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/inter_argument_order.cpp
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/inter_argument_order.cpp:7:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int main(int argc, char **argv) {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:46:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string simple(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:47:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string help(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:283:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *callback(std::function<void()> app_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:290:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *preparse_callback(std::function<void(size_t)> pp_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:296:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *name(std::string app_name = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:303:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:309:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *required(bool require = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:315:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:321:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled_by_default(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:328:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *enabled_by_default(bool enable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:334:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *immediate_callback(bool immediate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:340:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *validate_positionals(bool validate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:347:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_config_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:354:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *prefix_command(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:360:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_case(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:372:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_windows_style_options(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:378:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *positionals_at_end(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:384:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_underscore(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:396:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter(std::shared_ptr<FormatterBase> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:402:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter_fn(std::function<std::string(const App *, std::string, AppFormatMode)> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:408:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *config_formatter(std::shared_ptr<Config> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:414:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool parsed() const { return parsed_ > 0; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:417:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *option_defaults() { return &option_defaults_; }
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:437:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:473:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:490:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:494:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
auto fun = [func](CLI::results_t res) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:509:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:517:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name, T &option_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:523:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:557:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:581:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_flag(std::string flag_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:598:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_all_flag(std::string help_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:616:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *_add_flag_internal(std::string flag_name, CLI::callback_t fun, std::string flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:642:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name) { return _add_flag_internal(flag_name, CLI::callback_t(), std::string{}); }
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:650:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name, T &flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:658:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:680:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:698:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:713:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_callback(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:733:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_function(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:757:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:769:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:781:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:794:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:807:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:820:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:832:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:846:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:859:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:872:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:884:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:898:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:911:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:925:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:937:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:952:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:965:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_complex(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:996:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_config(std::string option_name = "",
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1017:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_option(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1040:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
T *add_option_group(std::string group_name, std::string group_description = "") {
~~~^
auto -> T *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1054:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(std::string subcommand_name = "", std::string subcommand_description = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1060:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(CLI::App_p subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1074:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_subcommand(App *subcom) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1090:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(App *subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1100:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(std::string subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1107:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(int index = 0) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1117:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(App *subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1127:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(std::string subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1135:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(int index = 0) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1145:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_option_group(std::string group_name) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1157:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return parsed_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1161:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count_all() const {
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1176:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *group(std::string group_name) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1182:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1191:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1204:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1211:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1220:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1233:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1241:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *fallthrough(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1372:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int exit(const Error &e, std::ostream &out = std::cout, std::ostream &err = std::cerr) const {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1401:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count(std::string option_name) const { return get_option(option_name)->count(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2695:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2711:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(App *subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2763:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string simple(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2782:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string help(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Config.hpp:18:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
ConfigINI::to_config(const App *app, bool default_also, bool write_description, std::string prefix) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:20:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ini_join(std::vector<std::string> args) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:53:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string fullname() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:67:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_config(const App *, bool, bool, std::string) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:73:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_flag(const ConfigItem &item) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:96:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string to_config(const App *, bool default_also, bool write_description, std::string prefix) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:68:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_exit_code() const { return actual_exit_code; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:70:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_name() const { return error_name; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:89:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction PositionalFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:92:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction Set0Opt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:95:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction SetFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:98:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction ChangeNotVector(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:101:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction AfterMultiOpt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:105:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MissingOption(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:108:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MultiOptionPolicy(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:117:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString OneCharName(std::string name) { return BadNameString("Invalid one char name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:118:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString BadLongName(std::string name) { return BadNameString("Bad long name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:119:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString DashesOnly(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:122:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString MultiPositionalNames(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:132:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Requires(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Excludes(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:152:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Success() : Success("Successfully completed, should be caught and quit", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:158:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForHelp() : CallForHelp("This should be caught in your main function, see examples", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:164:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForAllHelp()
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:178:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static FileError Missing(std::string name) { return FileError(name + " was not readable (missing?)"); }
~~~~~~~~~ ^
auto -> FileError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:189:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TooManyInputsFlag(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:192:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TrueFalse(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:208:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Subcommand(size_t min_subcom) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:215:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Option(size_t min_option, size_t max_option, size_t used, const std::string &option_list) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:249:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch AtLeast(std::string name, int num) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:252:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:255:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch FlagOverride(std::string name) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:288:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError Extras(std::string item) { return ConfigError("INI was not able to parse " + item); }
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:289:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError NotConfigurable(std::string item) {
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:14:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Formatter::make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:25:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_positionals(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:35:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_groups(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:59:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_description(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:85:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_usage(const App *app, std::string name) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:127:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_footer(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_help(const App *app, std::string name, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:159:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommands(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:199:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommand(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:205:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_expanded(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:222:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_name(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:229:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_opts(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:259:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_desc(const Option *opt) const { return opt->get_description(); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:261:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_usage(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:57:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_help(const App *, std::string, AppFormatMode) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:74:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_label(std::string key) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:82:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t get_column_width() const { return column_width_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:102:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *app, std::string name, AppFormatMode mode) const override {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:120:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:123:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_positionals(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:126:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_groups(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:129:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommands(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:132:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommand(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:135:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_expanded(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:138:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_footer(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:141:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_description(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:144:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_usage(const App *app, std::string name) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:147:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *, std::string, AppFormatMode) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:154:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:162:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_name(const Option *, bool) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:165:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_opts(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:168:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_desc(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:171:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_usage(const Option *opt) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:83:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *group(std::string name) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:89:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *required(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:95:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *mandatory(bool value = true) { return required(value); }
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:97:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *always_capture_default(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:105:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_group() const { return group_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:108:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_required() const { return required_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:111:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_case() const { return ignore_case_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:114:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_underscore() const { return ignore_underscore_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:117:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_configurable() const { return configurable_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:120:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_disable_flag_override() const { return disable_flag_override_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:123:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
char get_delimiter() const { return delimiter_; }
~~~~ ^
auto -> char
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:126:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_always_capture_default() const { return always_capture_default_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:129:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
MultiOptionPolicy get_multi_option_policy() const { return multi_option_policy_; }
~~~~~~~~~~~~~~~~~ ^
auto -> MultiOptionPolicy
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:134:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_last() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:141:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_first() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:148:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *join() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:155:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *configurable(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:161:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *delimiter(char value = '\0') {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:176:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:182:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_case(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:188:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_underscore(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:194:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *disable_flag_override(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:200:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *delimiter(char value = '\0') {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:307:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return results_.size(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:310:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t empty() const { return results_.empty(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:323:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *expected(int value) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:350:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:359:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(std::function<std::string(const std::string &)> validator,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:368:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:376:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(std::function<std::string(std::string)> func,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:392:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *each(std::function<void(std::string)> func) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:402:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator *get_validator(const std::string &validator_name = "") {
~~~~~~~~~~~^
auto -> Validator *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:414:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *needs(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:422:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *needs(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:430:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *needs(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:436:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_needs(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:448:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *excludes(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:461:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *excludes(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:469:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *excludes(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:475:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_excludes(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:487:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *envname(std::string name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:496:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_case(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:511:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_underscore(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:522:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:531:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *disable_flag_override(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:540:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_type_size() const { return type_size_; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:543:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_envname() const { return envname_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Optional.hpp:6:10: error: 'istream' file not found [clang-diagnostic-error]
#include <istream>
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:17:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_short(const std::string ¤t, std::string &name, std::string &rest) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:27:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_long(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:43:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_windows_style(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:59:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_names(std::string current) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:23:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::ostream &operator<<(std::ostream &in, const T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:30:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::istream &operator>>(std::istream &in, T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:45:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split(const std::string &s, char delim) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:61:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> inline std::string as_string(const T &v) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:73:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string join(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:89:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string join(const T &v, Callable func, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:102:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string rjoin(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:115:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:122:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:129:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:136:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:144:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str) { return ltrim(rtrim(str)); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:147:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str, const std::string filter) { return ltrim(rtrim(str, filter), filter); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:150:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:156:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:161:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ostream &format_help(std::ostream &out, std::string name, std::string description, size_t wid) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:179:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_first_char(T c) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:184:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_later_char(T c) { return valid_first_char(c) || c == '.' || c == '-'; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:187:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool valid_name_string(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:197:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool isalpha(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:202:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string to_lower(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:210:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string remove_underscore(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:216:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string find_and_replace(std::string str, std::string from, std::string to) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:229:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool has_default_flag_values(const std::string &flags) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:247:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ptrdiff_t find_member(std::string name,
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:278:49: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Callable> inline std::string find_and_modify(std::string str, std::string trigger, Callable modify) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:288:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_up(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:337:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string fix_newlines(std::string leader, std::string input) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:353:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline size_t escape_detect(std::string &str, size_t offset) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:366:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &add_quotes_if_needed(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:60:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &operation(std::function<std::string(std::string &)> op) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:66:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:81:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(const std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:87:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &description(std::string validator_desc) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:92:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_description() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:99:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &name(std::string validator_name) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:104:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_name() const { return name_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:106:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &active(bool active_val = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:112:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &non_modifying(bool no_modify = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:118:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_active() const { return active_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:121:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_modifying() const { return !non_modifying_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:125:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator&(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:149:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator|(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:171:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator!() const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:221:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingFileValidator() : Validator("FILE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:239:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingDirectoryValidator() : Validator("DIR") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:257:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingPathValidator() : Validator("PATH(existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:272:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
NonexistentPathValidator() : Validator("PATH(non-existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:287:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
IPV4Validator() : Validator("IPV4") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:312:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
PositiveNumber() : Validator("POSITIVE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:329:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Number() : Validator("NUMBER") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:432:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::remove_reference<T>::type &smart_deref(T &value) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:436:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_set(const T &set) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:448:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_map(const T &map, bool key_only = false) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:514:87: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> typename std::enable_if<std::is_integral<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:529:71: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::enable_if<std::is_floating_point<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:743:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_case(std::string item) { return detail::to_lower(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:746:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_underscore(std::string item) { return detail::remove_underscore(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:749:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_space(std::string item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:872:51: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Number> static std::string generate_description(const std::string &name, Options opts) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:916:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> init_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:935:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> get_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:951:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::pair<std::string, std::string> split_program_name(std::string commandline) {
^
523 warnings and 1 error generated.
Error while processing TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/inter_argument_order.cpp.
Suppressed 256 warnings (254 in non-user code, 2 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).
[7/88] Building CXX object examples/CMakeFiles/simple.dir/simple.cpp.o
FAILED: examples/CMakeFiles/simple.dir/simple.cpp.o
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/cmake -E __run_co_compile --tidy=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/clang-tidy --source=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/simple.cpp -- TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ -ITOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -std=c++11 -MD -MT examples/CMakeFiles/simple.dir/simple.cpp.o -MF examples/CMakeFiles/simple.dir/simple.cpp.o.d -o examples/CMakeFiles/simple.dir/simple.cpp.o -c TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/simple.cpp
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/simple.cpp:3:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int main(int argc, char **argv) {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:46:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string simple(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:47:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string help(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:283:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *callback(std::function<void()> app_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:290:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *preparse_callback(std::function<void(size_t)> pp_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:296:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *name(std::string app_name = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:303:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:309:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *required(bool require = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:315:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:321:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled_by_default(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:328:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *enabled_by_default(bool enable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:334:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *immediate_callback(bool immediate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:340:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *validate_positionals(bool validate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:347:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_config_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:354:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *prefix_command(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:360:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_case(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:372:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_windows_style_options(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:378:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *positionals_at_end(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:384:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_underscore(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:396:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter(std::shared_ptr<FormatterBase> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:402:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter_fn(std::function<std::string(const App *, std::string, AppFormatMode)> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:408:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *config_formatter(std::shared_ptr<Config> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:414:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool parsed() const { return parsed_ > 0; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:417:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *option_defaults() { return &option_defaults_; }
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:437:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:473:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:490:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:494:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
auto fun = [func](CLI::results_t res) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:509:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:517:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name, T &option_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:523:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:557:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:581:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_flag(std::string flag_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:598:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_all_flag(std::string help_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:616:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *_add_flag_internal(std::string flag_name, CLI::callback_t fun, std::string flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:642:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name) { return _add_flag_internal(flag_name, CLI::callback_t(), std::string{}); }
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:650:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name, T &flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:658:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:680:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:698:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:713:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_callback(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:733:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_function(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:757:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:769:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:781:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:794:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:807:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:820:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:832:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:846:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:859:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:872:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:884:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:898:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:911:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:925:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:937:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:952:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:965:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_complex(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:996:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_config(std::string option_name = "",
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1017:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_option(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1040:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
T *add_option_group(std::string group_name, std::string group_description = "") {
~~~^
auto -> T *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1054:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(std::string subcommand_name = "", std::string subcommand_description = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1060:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(CLI::App_p subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1074:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_subcommand(App *subcom) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1090:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(App *subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1100:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(std::string subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1107:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(int index = 0) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1117:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(App *subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1127:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(std::string subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1135:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(int index = 0) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1145:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_option_group(std::string group_name) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1157:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return parsed_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1161:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count_all() const {
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1176:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *group(std::string group_name) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1182:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1191:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1204:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1211:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1220:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1233:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1241:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *fallthrough(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1372:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int exit(const Error &e, std::ostream &out = std::cout, std::ostream &err = std::cerr) const {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1401:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count(std::string option_name) const { return get_option(option_name)->count(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2695:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2711:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(App *subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2763:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string simple(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2782:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string help(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Config.hpp:18:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
ConfigINI::to_config(const App *app, bool default_also, bool write_description, std::string prefix) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:20:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ini_join(std::vector<std::string> args) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:53:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string fullname() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:67:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_config(const App *, bool, bool, std::string) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:73:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_flag(const ConfigItem &item) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:96:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string to_config(const App *, bool default_also, bool write_description, std::string prefix) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:68:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_exit_code() const { return actual_exit_code; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:70:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_name() const { return error_name; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:89:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction PositionalFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:92:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction Set0Opt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:95:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction SetFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:98:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction ChangeNotVector(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:101:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction AfterMultiOpt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:105:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MissingOption(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:108:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MultiOptionPolicy(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:117:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString OneCharName(std::string name) { return BadNameString("Invalid one char name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:118:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString BadLongName(std::string name) { return BadNameString("Bad long name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:119:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString DashesOnly(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:122:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString MultiPositionalNames(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:132:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Requires(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Excludes(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:152:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Success() : Success("Successfully completed, should be caught and quit", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:158:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForHelp() : CallForHelp("This should be caught in your main function, see examples", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:164:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForAllHelp()
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:178:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static FileError Missing(std::string name) { return FileError(name + " was not readable (missing?)"); }
~~~~~~~~~ ^
auto -> FileError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:189:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TooManyInputsFlag(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:192:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TrueFalse(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:208:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Subcommand(size_t min_subcom) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:215:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Option(size_t min_option, size_t max_option, size_t used, const std::string &option_list) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:249:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch AtLeast(std::string name, int num) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:252:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:255:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch FlagOverride(std::string name) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:288:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError Extras(std::string item) { return ConfigError("INI was not able to parse " + item); }
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:289:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError NotConfigurable(std::string item) {
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:14:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Formatter::make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:25:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_positionals(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:35:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_groups(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:59:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_description(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:85:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_usage(const App *app, std::string name) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:127:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_footer(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_help(const App *app, std::string name, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:159:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommands(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:199:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommand(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:205:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_expanded(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:222:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_name(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:229:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_opts(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:259:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_desc(const Option *opt) const { return opt->get_description(); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:261:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_usage(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:57:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_help(const App *, std::string, AppFormatMode) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:74:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_label(std::string key) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:82:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t get_column_width() const { return column_width_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:102:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *app, std::string name, AppFormatMode mode) const override {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:120:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:123:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_positionals(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:126:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_groups(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:129:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommands(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:132:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommand(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:135:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_expanded(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:138:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_footer(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:141:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_description(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:144:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_usage(const App *app, std::string name) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:147:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *, std::string, AppFormatMode) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:154:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:162:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_name(const Option *, bool) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:165:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_opts(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:168:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_desc(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:171:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_usage(const Option *opt) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:83:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *group(std::string name) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:89:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *required(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:95:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *mandatory(bool value = true) { return required(value); }
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:97:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *always_capture_default(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:105:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_group() const { return group_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:108:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_required() const { return required_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:111:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_case() const { return ignore_case_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:114:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_underscore() const { return ignore_underscore_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:117:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_configurable() const { return configurable_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:120:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_disable_flag_override() const { return disable_flag_override_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:123:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
char get_delimiter() const { return delimiter_; }
~~~~ ^
auto -> char
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:126:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_always_capture_default() const { return always_capture_default_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:129:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
MultiOptionPolicy get_multi_option_policy() const { return multi_option_policy_; }
~~~~~~~~~~~~~~~~~ ^
auto -> MultiOptionPolicy
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:134:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_last() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:141:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_first() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:148:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *join() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:155:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *configurable(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:161:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *delimiter(char value = '\0') {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:176:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:182:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_case(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:188:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_underscore(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:194:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *disable_flag_override(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:200:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *delimiter(char value = '\0') {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:307:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return results_.size(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:310:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t empty() const { return results_.empty(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:323:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *expected(int value) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:350:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:359:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(std::function<std::string(const std::string &)> validator,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:368:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:376:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(std::function<std::string(std::string)> func,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:392:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *each(std::function<void(std::string)> func) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:402:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator *get_validator(const std::string &validator_name = "") {
~~~~~~~~~~~^
auto -> Validator *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:414:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *needs(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:422:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *needs(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:430:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *needs(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:436:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_needs(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:448:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *excludes(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:461:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *excludes(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:469:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *excludes(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:475:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_excludes(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:487:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *envname(std::string name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:496:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_case(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:511:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_underscore(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:522:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:531:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *disable_flag_override(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:540:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_type_size() const { return type_size_; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:543:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_envname() const { return envname_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Optional.hpp:6:10: error: 'istream' file not found [clang-diagnostic-error]
#include <istream>
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:17:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_short(const std::string ¤t, std::string &name, std::string &rest) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:27:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_long(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:43:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_windows_style(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:59:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_names(std::string current) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:23:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::ostream &operator<<(std::ostream &in, const T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:30:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::istream &operator>>(std::istream &in, T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:45:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split(const std::string &s, char delim) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:61:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> inline std::string as_string(const T &v) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:73:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string join(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:89:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string join(const T &v, Callable func, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:102:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string rjoin(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:115:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:122:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:129:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:136:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:144:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str) { return ltrim(rtrim(str)); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:147:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str, const std::string filter) { return ltrim(rtrim(str, filter), filter); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:150:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:156:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:161:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ostream &format_help(std::ostream &out, std::string name, std::string description, size_t wid) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:179:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_first_char(T c) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:184:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_later_char(T c) { return valid_first_char(c) || c == '.' || c == '-'; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:187:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool valid_name_string(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:197:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool isalpha(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:202:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string to_lower(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:210:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string remove_underscore(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:216:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string find_and_replace(std::string str, std::string from, std::string to) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:229:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool has_default_flag_values(const std::string &flags) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:247:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ptrdiff_t find_member(std::string name,
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:278:49: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Callable> inline std::string find_and_modify(std::string str, std::string trigger, Callable modify) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:288:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_up(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:337:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string fix_newlines(std::string leader, std::string input) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:353:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline size_t escape_detect(std::string &str, size_t offset) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:366:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &add_quotes_if_needed(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:60:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &operation(std::function<std::string(std::string &)> op) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:66:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:81:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(const std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:87:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &description(std::string validator_desc) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:92:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_description() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:99:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &name(std::string validator_name) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:104:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_name() const { return name_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:106:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &active(bool active_val = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:112:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &non_modifying(bool no_modify = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:118:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_active() const { return active_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:121:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_modifying() const { return !non_modifying_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:125:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator&(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:149:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator|(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:171:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator!() const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:221:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingFileValidator() : Validator("FILE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:239:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingDirectoryValidator() : Validator("DIR") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:257:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingPathValidator() : Validator("PATH(existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:272:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
NonexistentPathValidator() : Validator("PATH(non-existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:287:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
IPV4Validator() : Validator("IPV4") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:312:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
PositiveNumber() : Validator("POSITIVE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:329:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Number() : Validator("NUMBER") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:432:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::remove_reference<T>::type &smart_deref(T &value) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:436:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_set(const T &set) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:448:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_map(const T &map, bool key_only = false) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:514:87: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> typename std::enable_if<std::is_integral<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:529:71: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::enable_if<std::is_floating_point<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:743:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_case(std::string item) { return detail::to_lower(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:746:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_underscore(std::string item) { return detail::remove_underscore(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:749:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_space(std::string item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:872:51: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Number> static std::string generate_description(const std::string &name, Options opts) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:916:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> init_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:935:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> get_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:951:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::pair<std::string, std::string> split_program_name(std::string commandline) {
^
523 warnings and 1 error generated.
Error while processing TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/simple.cpp.
Suppressed 256 warnings (254 in non-user code, 2 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).
[8/88] Building CXX object examples/CMakeFiles/validators.dir/validators.cpp.o
FAILED: examples/CMakeFiles/validators.dir/validators.cpp.o
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/cmake -E __run_co_compile --tidy=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/clang-tidy --source=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/validators.cpp -- TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ -ITOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -std=c++11 -MD -MT examples/CMakeFiles/validators.dir/validators.cpp.o -MF examples/CMakeFiles/validators.dir/validators.cpp.o.d -o examples/CMakeFiles/validators.dir/validators.cpp.o -c TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/validators.cpp
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/validators.cpp:3:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int main(int argc, char **argv) {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:46:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string simple(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:47:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string help(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:283:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *callback(std::function<void()> app_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:290:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *preparse_callback(std::function<void(size_t)> pp_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:296:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *name(std::string app_name = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:303:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:309:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *required(bool require = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:315:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:321:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled_by_default(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:328:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *enabled_by_default(bool enable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:334:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *immediate_callback(bool immediate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:340:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *validate_positionals(bool validate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:347:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_config_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:354:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *prefix_command(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:360:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_case(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:372:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_windows_style_options(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:378:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *positionals_at_end(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:384:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_underscore(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:396:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter(std::shared_ptr<FormatterBase> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:402:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter_fn(std::function<std::string(const App *, std::string, AppFormatMode)> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:408:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *config_formatter(std::shared_ptr<Config> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:414:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool parsed() const { return parsed_ > 0; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:417:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *option_defaults() { return &option_defaults_; }
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:437:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:473:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:490:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:494:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
auto fun = [func](CLI::results_t res) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:509:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:517:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name, T &option_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:523:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:557:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:581:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_flag(std::string flag_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:598:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_all_flag(std::string help_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:616:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *_add_flag_internal(std::string flag_name, CLI::callback_t fun, std::string flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:642:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name) { return _add_flag_internal(flag_name, CLI::callback_t(), std::string{}); }
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:650:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name, T &flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:658:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:680:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:698:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:713:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_callback(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:733:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_function(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:757:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:769:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:781:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:794:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:807:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:820:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:832:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:846:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:859:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:872:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:884:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:898:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:911:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:925:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:937:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:952:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:965:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_complex(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:996:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_config(std::string option_name = "",
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1017:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_option(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1040:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
T *add_option_group(std::string group_name, std::string group_description = "") {
~~~^
auto -> T *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1054:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(std::string subcommand_name = "", std::string subcommand_description = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1060:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(CLI::App_p subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1074:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_subcommand(App *subcom) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1090:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(App *subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1100:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(std::string subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1107:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(int index = 0) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1117:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(App *subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1127:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(std::string subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1135:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(int index = 0) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1145:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_option_group(std::string group_name) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1157:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return parsed_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1161:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count_all() const {
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1176:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *group(std::string group_name) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1182:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1191:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1204:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1211:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1220:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1233:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1241:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *fallthrough(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1372:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int exit(const Error &e, std::ostream &out = std::cout, std::ostream &err = std::cerr) const {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1401:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count(std::string option_name) const { return get_option(option_name)->count(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2695:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2711:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(App *subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2763:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string simple(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2782:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string help(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Config.hpp:18:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
ConfigINI::to_config(const App *app, bool default_also, bool write_description, std::string prefix) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:20:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ini_join(std::vector<std::string> args) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:53:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string fullname() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:67:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_config(const App *, bool, bool, std::string) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:73:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_flag(const ConfigItem &item) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:96:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string to_config(const App *, bool default_also, bool write_description, std::string prefix) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:68:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_exit_code() const { return actual_exit_code; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:70:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_name() const { return error_name; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:89:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction PositionalFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:92:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction Set0Opt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:95:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction SetFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:98:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction ChangeNotVector(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:101:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction AfterMultiOpt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:105:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MissingOption(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:108:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MultiOptionPolicy(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:117:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString OneCharName(std::string name) { return BadNameString("Invalid one char name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:118:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString BadLongName(std::string name) { return BadNameString("Bad long name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:119:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString DashesOnly(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:122:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString MultiPositionalNames(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:132:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Requires(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Excludes(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:152:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Success() : Success("Successfully completed, should be caught and quit", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:158:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForHelp() : CallForHelp("This should be caught in your main function, see examples", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:164:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForAllHelp()
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:178:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static FileError Missing(std::string name) { return FileError(name + " was not readable (missing?)"); }
~~~~~~~~~ ^
auto -> FileError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:189:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TooManyInputsFlag(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:192:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TrueFalse(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:208:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Subcommand(size_t min_subcom) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:215:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Option(size_t min_option, size_t max_option, size_t used, const std::string &option_list) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:249:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch AtLeast(std::string name, int num) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:252:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:255:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch FlagOverride(std::string name) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:288:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError Extras(std::string item) { return ConfigError("INI was not able to parse " + item); }
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:289:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError NotConfigurable(std::string item) {
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:14:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Formatter::make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:25:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_positionals(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:35:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_groups(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:59:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_description(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:85:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_usage(const App *app, std::string name) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:127:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_footer(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_help(const App *app, std::string name, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:159:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommands(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:199:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommand(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:205:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_expanded(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:222:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_name(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:229:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_opts(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:259:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_desc(const Option *opt) const { return opt->get_description(); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:261:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_usage(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:57:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_help(const App *, std::string, AppFormatMode) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:74:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_label(std::string key) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:82:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t get_column_width() const { return column_width_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:102:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *app, std::string name, AppFormatMode mode) const override {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:120:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:123:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_positionals(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:126:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_groups(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:129:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommands(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:132:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommand(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:135:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_expanded(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:138:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_footer(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:141:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_description(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:144:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_usage(const App *app, std::string name) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:147:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *, std::string, AppFormatMode) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:154:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:162:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_name(const Option *, bool) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:165:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_opts(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:168:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_desc(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:171:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_usage(const Option *opt) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:83:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *group(std::string name) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:89:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *required(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:95:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *mandatory(bool value = true) { return required(value); }
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:97:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *always_capture_default(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:105:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_group() const { return group_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:108:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_required() const { return required_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:111:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_case() const { return ignore_case_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:114:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_underscore() const { return ignore_underscore_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:117:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_configurable() const { return configurable_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:120:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_disable_flag_override() const { return disable_flag_override_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:123:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
char get_delimiter() const { return delimiter_; }
~~~~ ^
auto -> char
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:126:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_always_capture_default() const { return always_capture_default_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:129:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
MultiOptionPolicy get_multi_option_policy() const { return multi_option_policy_; }
~~~~~~~~~~~~~~~~~ ^
auto -> MultiOptionPolicy
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:134:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_last() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:141:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_first() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:148:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *join() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:155:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *configurable(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:161:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *delimiter(char value = '\0') {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:176:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:182:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_case(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:188:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_underscore(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:194:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *disable_flag_override(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:200:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *delimiter(char value = '\0') {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:307:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return results_.size(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:310:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t empty() const { return results_.empty(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:323:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *expected(int value) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:350:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:359:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(std::function<std::string(const std::string &)> validator,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:368:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:376:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(std::function<std::string(std::string)> func,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:392:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *each(std::function<void(std::string)> func) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:402:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator *get_validator(const std::string &validator_name = "") {
~~~~~~~~~~~^
auto -> Validator *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:414:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *needs(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:422:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *needs(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:430:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *needs(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:436:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_needs(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:448:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *excludes(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:461:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *excludes(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:469:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *excludes(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:475:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_excludes(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:487:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *envname(std::string name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:496:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_case(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:511:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_underscore(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:522:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:531:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *disable_flag_override(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:540:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_type_size() const { return type_size_; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:543:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_envname() const { return envname_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Optional.hpp:6:10: error: 'istream' file not found [clang-diagnostic-error]
#include <istream>
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:17:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_short(const std::string ¤t, std::string &name, std::string &rest) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:27:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_long(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:43:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_windows_style(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:59:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_names(std::string current) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:23:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::ostream &operator<<(std::ostream &in, const T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:30:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::istream &operator>>(std::istream &in, T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:45:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split(const std::string &s, char delim) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:61:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> inline std::string as_string(const T &v) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:73:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string join(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:89:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string join(const T &v, Callable func, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:102:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string rjoin(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:115:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:122:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:129:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:136:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:144:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str) { return ltrim(rtrim(str)); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:147:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str, const std::string filter) { return ltrim(rtrim(str, filter), filter); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:150:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:156:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:161:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ostream &format_help(std::ostream &out, std::string name, std::string description, size_t wid) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:179:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_first_char(T c) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:184:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_later_char(T c) { return valid_first_char(c) || c == '.' || c == '-'; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:187:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool valid_name_string(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:197:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool isalpha(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:202:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string to_lower(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:210:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string remove_underscore(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:216:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string find_and_replace(std::string str, std::string from, std::string to) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:229:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool has_default_flag_values(const std::string &flags) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:247:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ptrdiff_t find_member(std::string name,
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:278:49: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Callable> inline std::string find_and_modify(std::string str, std::string trigger, Callable modify) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:288:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_up(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:337:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string fix_newlines(std::string leader, std::string input) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:353:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline size_t escape_detect(std::string &str, size_t offset) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:366:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &add_quotes_if_needed(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:60:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &operation(std::function<std::string(std::string &)> op) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:66:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:81:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(const std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:87:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &description(std::string validator_desc) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:92:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_description() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:99:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &name(std::string validator_name) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:104:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_name() const { return name_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:106:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &active(bool active_val = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:112:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &non_modifying(bool no_modify = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:118:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_active() const { return active_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:121:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_modifying() const { return !non_modifying_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:125:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator&(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:149:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator|(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:171:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator!() const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:221:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingFileValidator() : Validator("FILE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:239:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingDirectoryValidator() : Validator("DIR") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:257:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingPathValidator() : Validator("PATH(existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:272:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
NonexistentPathValidator() : Validator("PATH(non-existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:287:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
IPV4Validator() : Validator("IPV4") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:312:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
PositiveNumber() : Validator("POSITIVE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:329:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Number() : Validator("NUMBER") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:432:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::remove_reference<T>::type &smart_deref(T &value) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:436:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_set(const T &set) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:448:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_map(const T &map, bool key_only = false) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:514:87: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> typename std::enable_if<std::is_integral<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:529:71: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::enable_if<std::is_floating_point<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:743:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_case(std::string item) { return detail::to_lower(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:746:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_underscore(std::string item) { return detail::remove_underscore(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:749:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_space(std::string item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:872:51: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Number> static std::string generate_description(const std::string &name, Options opts) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:916:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> init_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:935:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> get_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:951:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::pair<std::string, std::string> split_program_name(std::string commandline) {
^
523 warnings and 1 error generated.
Error while processing TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/validators.cpp.
Suppressed 256 warnings (254 in non-user code, 2 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).
[9/88] Building CXX object extern/googletest/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[10/88] Building CXX object tests/CMakeFiles/TimerTest.dir/TimerTest.cpp.o
[11/88] Building CXX object tests/CMakeFiles/informational.dir/informational.cpp.o
[12/88] Building CXX object tests/CMakeFiles/link_test_2.dir/link_test_2.cpp.o
[13/88] Building CXX object tests/CMakeFiles/link_test_1.dir/link_test_1.cpp.o
[14/88] Building CXX object extern/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
[15/88] Building CXX object tests/CMakeFiles/OptionalTest.dir/OptionalTest.cpp.o
[16/88] Building CXX object extern/googletest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o
[17/88] Building CXX object extern/googletest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[18/88] Building CXX object tests/CMakeFiles/TrueFalseTest.dir/TrueFalseTest.cpp.o
[19/88] Building CXX object tests/CMakeFiles/SimpleTest.dir/SimpleTest.cpp.o
[20/88] Building CXX object tests/CMakeFiles/StringParseTest.dir/StringParseTest.cpp.o
[21/88] Building CXX object tests/CMakeFiles/FormatterTest.dir/FormatterTest.cpp.o
[22/88] Building CXX object tests/CMakeFiles/HelpersTest.dir/HelpersTest.cpp.o
[23/88] Building CXX object tests/CMakeFiles/IniTest.dir/IniTest.cpp.o
[24/88] Building CXX object tests/CMakeFiles/CreationTest.dir/CreationTest.cpp.o
[25/88] Building CXX object tests/CMakeFiles/NewParseTest.dir/NewParseTest.cpp.o
[26/88] Building CXX object tests/CMakeFiles/OptionGroupTest.dir/OptionGroupTest.cpp.o
[27/88] Building CXX object tests/CMakeFiles/DeprecatedTest.dir/DeprecatedTest.cpp.o
[28/88] Building CXX object tests/CMakeFiles/HelpTest.dir/HelpTest.cpp.o
[29/88] Building CXX object tests/CMakeFiles/SubcommandTest.dir/SubcommandTest.cpp.o
[30/88] Building CXX object tests/CMakeFiles/SetTest.dir/SetTest.cpp.o
[31/88] Building CXX object tests/CMakeFiles/TransformTest.dir/TransformTest.cpp.o
[32/88] Building CXX object tests/CMakeFiles/AppTest.dir/AppTest.cpp.o
ninja: build stopped: subcommand failed.
WARNING: TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/temp/run.do_compile.2671:1 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'
ERROR: Execution of 'TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/temp/run.do_compile.2671' failed with exit code 1:
[1/88] Building CXX object examples/CMakeFiles/groups.dir/groups.cpp.o
FAILED: examples/CMakeFiles/groups.dir/groups.cpp.o
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/cmake -E __run_co_compile --tidy=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/clang-tidy --source=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/groups.cpp -- TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ -ITOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -std=c++11 -MD -MT examples/CMakeFiles/groups.dir/groups.cpp.o -MF examples/CMakeFiles/groups.dir/groups.cpp.o.d -o examples/CMakeFiles/groups.dir/groups.cpp.o -c TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/groups.cpp
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/groups.cpp:4:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int main(int argc, char **argv) {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:46:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string simple(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:47:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string help(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:283:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *callback(std::function<void()> app_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:290:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *preparse_callback(std::function<void(size_t)> pp_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:296:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *name(std::string app_name = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:303:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:309:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *required(bool require = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:315:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:321:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled_by_default(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:328:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *enabled_by_default(bool enable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:334:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *immediate_callback(bool immediate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:340:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *validate_positionals(bool validate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:347:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_config_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:354:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *prefix_command(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:360:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_case(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:372:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_windows_style_options(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:378:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *positionals_at_end(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:384:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_underscore(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:396:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter(std::shared_ptr<FormatterBase> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:402:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter_fn(std::function<std::string(const App *, std::string, AppFormatMode)> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:408:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *config_formatter(std::shared_ptr<Config> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:414:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool parsed() const { return parsed_ > 0; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:417:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *option_defaults() { return &option_defaults_; }
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:437:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:473:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:490:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:494:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
auto fun = [func](CLI::results_t res) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:509:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:517:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name, T &option_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:523:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:557:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:581:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_flag(std::string flag_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:598:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_all_flag(std::string help_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:616:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *_add_flag_internal(std::string flag_name, CLI::callback_t fun, std::string flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:642:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name) { return _add_flag_internal(flag_name, CLI::callback_t(), std::string{}); }
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:650:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name, T &flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:658:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:680:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:698:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:713:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_callback(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:733:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_function(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:757:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:769:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:781:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:794:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:807:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:820:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:832:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:846:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:859:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:872:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:884:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:898:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:911:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:925:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:937:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:952:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:965:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_complex(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:996:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_config(std::string option_name = "",
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1017:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_option(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1040:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
T *add_option_group(std::string group_name, std::string group_description = "") {
~~~^
auto -> T *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1054:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(std::string subcommand_name = "", std::string subcommand_description = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1060:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(CLI::App_p subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1074:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_subcommand(App *subcom) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1090:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(App *subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1100:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(std::string subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1107:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(int index = 0) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1117:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(App *subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1127:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(std::string subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1135:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(int index = 0) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1145:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_option_group(std::string group_name) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1157:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return parsed_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1161:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count_all() const {
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1176:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *group(std::string group_name) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1182:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1191:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1204:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1211:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1220:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1233:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1241:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *fallthrough(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1372:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int exit(const Error &e, std::ostream &out = std::cout, std::ostream &err = std::cerr) const {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1401:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count(std::string option_name) const { return get_option(option_name)->count(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2695:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2711:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(App *subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2763:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string simple(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2782:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string help(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Config.hpp:18:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
ConfigINI::to_config(const App *app, bool default_also, bool write_description, std::string prefix) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:20:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ini_join(std::vector<std::string> args) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:53:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string fullname() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:67:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_config(const App *, bool, bool, std::string) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:73:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_flag(const ConfigItem &item) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:96:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string to_config(const App *, bool default_also, bool write_description, std::string prefix) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:68:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_exit_code() const { return actual_exit_code; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:70:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_name() const { return error_name; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:89:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction PositionalFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:92:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction Set0Opt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:95:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction SetFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:98:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction ChangeNotVector(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:101:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction AfterMultiOpt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:105:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MissingOption(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:108:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MultiOptionPolicy(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:117:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString OneCharName(std::string name) { return BadNameString("Invalid one char name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:118:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString BadLongName(std::string name) { return BadNameString("Bad long name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:119:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString DashesOnly(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:122:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString MultiPositionalNames(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:132:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Requires(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Excludes(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:152:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Success() : Success("Successfully completed, should be caught and quit", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:158:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForHelp() : CallForHelp("This should be caught in your main function, see examples", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:164:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForAllHelp()
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:178:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static FileError Missing(std::string name) { return FileError(name + " was not readable (missing?)"); }
~~~~~~~~~ ^
auto -> FileError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:189:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TooManyInputsFlag(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:192:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TrueFalse(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:208:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Subcommand(size_t min_subcom) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:215:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Option(size_t min_option, size_t max_option, size_t used, const std::string &option_list) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:249:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch AtLeast(std::string name, int num) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:252:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:255:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch FlagOverride(std::string name) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:288:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError Extras(std::string item) { return ConfigError("INI was not able to parse " + item); }
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:289:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError NotConfigurable(std::string item) {
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:14:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Formatter::make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:25:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_positionals(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:35:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_groups(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:59:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_description(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:85:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_usage(const App *app, std::string name) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:127:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_footer(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_help(const App *app, std::string name, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:159:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommands(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:199:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommand(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:205:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_expanded(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:222:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_name(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:229:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_opts(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:259:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_desc(const Option *opt) const { return opt->get_description(); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:261:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_usage(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:57:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_help(const App *, std::string, AppFormatMode) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:74:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_label(std::string key) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:82:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t get_column_width() const { return column_width_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:102:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *app, std::string name, AppFormatMode mode) const override {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:120:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:123:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_positionals(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:126:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_groups(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:129:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommands(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:132:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommand(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:135:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_expanded(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:138:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_footer(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:141:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_description(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:144:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_usage(const App *app, std::string name) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:147:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *, std::string, AppFormatMode) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:154:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:162:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_name(const Option *, bool) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:165:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_opts(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:168:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_desc(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:171:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_usage(const Option *opt) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:83:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *group(std::string name) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:89:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *required(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:95:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *mandatory(bool value = true) { return required(value); }
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:97:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *always_capture_default(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:105:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_group() const { return group_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:108:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_required() const { return required_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:111:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_case() const { return ignore_case_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:114:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_underscore() const { return ignore_underscore_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:117:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_configurable() const { return configurable_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:120:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_disable_flag_override() const { return disable_flag_override_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:123:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
char get_delimiter() const { return delimiter_; }
~~~~ ^
auto -> char
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:126:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_always_capture_default() const { return always_capture_default_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:129:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
MultiOptionPolicy get_multi_option_policy() const { return multi_option_policy_; }
~~~~~~~~~~~~~~~~~ ^
auto -> MultiOptionPolicy
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:134:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_last() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:141:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_first() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:148:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *join() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:155:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *configurable(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:161:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *delimiter(char value = '\0') {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:176:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:182:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_case(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:188:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_underscore(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:194:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *disable_flag_override(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:200:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *delimiter(char value = '\0') {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:307:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return results_.size(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:310:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t empty() const { return results_.empty(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:323:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *expected(int value) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:350:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:359:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(std::function<std::string(const std::string &)> validator,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:368:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:376:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(std::function<std::string(std::string)> func,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:392:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *each(std::function<void(std::string)> func) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:402:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator *get_validator(const std::string &validator_name = "") {
~~~~~~~~~~~^
auto -> Validator *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:414:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *needs(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:422:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *needs(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:430:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *needs(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:436:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_needs(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:448:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *excludes(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:461:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *excludes(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:469:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *excludes(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:475:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_excludes(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:487:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *envname(std::string name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:496:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_case(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:511:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_underscore(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:522:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:531:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *disable_flag_override(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:540:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_type_size() const { return type_size_; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:543:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_envname() const { return envname_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Optional.hpp:6:10: error: 'istream' file not found [clang-diagnostic-error]
#include <istream>
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:17:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_short(const std::string ¤t, std::string &name, std::string &rest) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:27:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_long(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:43:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_windows_style(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:59:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_names(std::string current) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:23:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::ostream &operator<<(std::ostream &in, const T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:30:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::istream &operator>>(std::istream &in, T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:45:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split(const std::string &s, char delim) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:61:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> inline std::string as_string(const T &v) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:73:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string join(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:89:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string join(const T &v, Callable func, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:102:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string rjoin(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:115:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:122:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:129:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:136:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:144:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str) { return ltrim(rtrim(str)); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:147:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str, const std::string filter) { return ltrim(rtrim(str, filter), filter); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:150:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:156:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:161:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ostream &format_help(std::ostream &out, std::string name, std::string description, size_t wid) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:179:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_first_char(T c) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:184:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_later_char(T c) { return valid_first_char(c) || c == '.' || c == '-'; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:187:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool valid_name_string(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:197:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool isalpha(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:202:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string to_lower(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:210:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string remove_underscore(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:216:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string find_and_replace(std::string str, std::string from, std::string to) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:229:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool has_default_flag_values(const std::string &flags) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:247:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ptrdiff_t find_member(std::string name,
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:278:49: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Callable> inline std::string find_and_modify(std::string str, std::string trigger, Callable modify) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:288:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_up(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:337:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string fix_newlines(std::string leader, std::string input) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:353:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline size_t escape_detect(std::string &str, size_t offset) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:366:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &add_quotes_if_needed(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Timer.hpp:47:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::string Simple(std::string title, std::string time) { return title + ": " + time; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Timer.hpp:50:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::string Big(std::string title, std::string time) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Timer.hpp:61:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string time_it(std::function<void()> f, double target_time = 1) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Timer.hpp:79:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_time_str() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Timer.hpp:88:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_time_str(double time) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Timer.hpp:107:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string to_string() const { return time_print_(title_, make_time_str()); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Timer.hpp:110:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Timer &operator/(size_t val) {
~~~~~~~^
auto -> Timer &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Timer.hpp:124:5: warning: use '= default' to define a trivial destructor [modernize-use-equals-default]
~AutoTimer() { std::cout << to_string() << std::endl; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Timer.hpp:130:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ostream &operator<<(std::ostream &in, const CLI::Timer &timer) { return in << timer.to_string(); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:60:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &operation(std::function<std::string(std::string &)> op) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:66:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:81:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(const std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:87:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &description(std::string validator_desc) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:92:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_description() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:99:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &name(std::string validator_name) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:104:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_name() const { return name_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:106:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &active(bool active_val = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:112:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &non_modifying(bool no_modify = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:118:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_active() const { return active_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:121:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_modifying() const { return !non_modifying_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:125:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator&(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:149:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator|(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:171:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator!() const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:221:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingFileValidator() : Validator("FILE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:239:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingDirectoryValidator() : Validator("DIR") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:257:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingPathValidator() : Validator("PATH(existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:272:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
NonexistentPathValidator() : Validator("PATH(non-existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:287:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
IPV4Validator() : Validator("IPV4") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:312:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
PositiveNumber() : Validator("POSITIVE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:329:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Number() : Validator("NUMBER") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:432:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::remove_reference<T>::type &smart_deref(T &value) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:436:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_set(const T &set) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:448:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_map(const T &map, bool key_only = false) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:514:87: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> typename std::enable_if<std::is_integral<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:529:71: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::enable_if<std::is_floating_point<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:743:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_case(std::string item) { return detail::to_lower(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:746:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_underscore(std::string item) { return detail::remove_underscore(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:749:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_space(std::string item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:872:51: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Number> static std::string generate_description(const std::string &name, Options opts) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:916:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> init_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:935:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> get_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:951:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::pair<std::string, std::string> split_program_name(std::string commandline) {
^
532 warnings and 1 error generated.
Error while processing TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/groups.cpp.
Suppressed 256 warnings (254 in non-user code, 2 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).
[2/88] Building CXX object examples/CMakeFiles/subcommands.dir/subcommands.cpp.o
FAILED: examples/CMakeFiles/subcommands.dir/subcommands.cpp.o
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/cmake -E __run_co_compile --tidy=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/clang-tidy --source=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/subcommands.cpp -- TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ -ITOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -std=c++11 -MD -MT examples/CMakeFiles/subcommands.dir/subcommands.cpp.o -MF examples/CMakeFiles/subcommands.dir/subcommands.cpp.o.d -o examples/CMakeFiles/subcommands.dir/subcommands.cpp.o -c TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/subcommands.cpp
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/subcommands.cpp:3:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int main(int argc, char **argv) {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:46:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string simple(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:47:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string help(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:283:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *callback(std::function<void()> app_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:290:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *preparse_callback(std::function<void(size_t)> pp_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:296:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *name(std::string app_name = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:303:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:309:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *required(bool require = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:315:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:321:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled_by_default(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:328:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *enabled_by_default(bool enable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:334:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *immediate_callback(bool immediate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:340:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *validate_positionals(bool validate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:347:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_config_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:354:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *prefix_command(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:360:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_case(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:372:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_windows_style_options(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:378:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *positionals_at_end(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:384:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_underscore(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:396:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter(std::shared_ptr<FormatterBase> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:402:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter_fn(std::function<std::string(const App *, std::string, AppFormatMode)> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:408:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *config_formatter(std::shared_ptr<Config> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:414:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool parsed() const { return parsed_ > 0; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:417:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *option_defaults() { return &option_defaults_; }
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:437:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:473:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:490:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:494:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
auto fun = [func](CLI::results_t res) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:509:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:517:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name, T &option_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:523:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:557:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:581:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_flag(std::string flag_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:598:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_all_flag(std::string help_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:616:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *_add_flag_internal(std::string flag_name, CLI::callback_t fun, std::string flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:642:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name) { return _add_flag_internal(flag_name, CLI::callback_t(), std::string{}); }
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:650:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name, T &flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:658:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:680:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:698:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:713:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_callback(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:733:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_function(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:757:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:769:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:781:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:794:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:807:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:820:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:832:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:846:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:859:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:872:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:884:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:898:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:911:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:925:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:937:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:952:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:965:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_complex(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:996:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_config(std::string option_name = "",
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1017:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_option(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1040:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
T *add_option_group(std::string group_name, std::string group_description = "") {
~~~^
auto -> T *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1054:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(std::string subcommand_name = "", std::string subcommand_description = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1060:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(CLI::App_p subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1074:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_subcommand(App *subcom) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1090:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(App *subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1100:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(std::string subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1107:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(int index = 0) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1117:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(App *subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1127:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(std::string subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1135:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(int index = 0) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1145:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_option_group(std::string group_name) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1157:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return parsed_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1161:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count_all() const {
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1176:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *group(std::string group_name) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1182:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1191:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1204:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1211:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1220:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1233:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1241:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *fallthrough(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1372:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int exit(const Error &e, std::ostream &out = std::cout, std::ostream &err = std::cerr) const {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1401:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count(std::string option_name) const { return get_option(option_name)->count(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2695:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2711:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(App *subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2763:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string simple(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2782:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string help(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Config.hpp:18:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
ConfigINI::to_config(const App *app, bool default_also, bool write_description, std::string prefix) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:20:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ini_join(std::vector<std::string> args) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:53:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string fullname() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:67:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_config(const App *, bool, bool, std::string) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:73:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_flag(const ConfigItem &item) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:96:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string to_config(const App *, bool default_also, bool write_description, std::string prefix) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:68:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_exit_code() const { return actual_exit_code; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:70:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_name() const { return error_name; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:89:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction PositionalFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:92:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction Set0Opt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:95:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction SetFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:98:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction ChangeNotVector(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:101:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction AfterMultiOpt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:105:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MissingOption(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:108:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MultiOptionPolicy(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:117:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString OneCharName(std::string name) { return BadNameString("Invalid one char name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:118:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString BadLongName(std::string name) { return BadNameString("Bad long name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:119:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString DashesOnly(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:122:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString MultiPositionalNames(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:132:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Requires(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Excludes(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:152:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Success() : Success("Successfully completed, should be caught and quit", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:158:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForHelp() : CallForHelp("This should be caught in your main function, see examples", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:164:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForAllHelp()
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:178:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static FileError Missing(std::string name) { return FileError(name + " was not readable (missing?)"); }
~~~~~~~~~ ^
auto -> FileError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:189:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TooManyInputsFlag(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:192:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TrueFalse(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:208:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Subcommand(size_t min_subcom) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:215:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Option(size_t min_option, size_t max_option, size_t used, const std::string &option_list) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:249:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch AtLeast(std::string name, int num) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:252:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:255:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch FlagOverride(std::string name) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:288:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError Extras(std::string item) { return ConfigError("INI was not able to parse " + item); }
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:289:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError NotConfigurable(std::string item) {
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:14:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Formatter::make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:25:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_positionals(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:35:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_groups(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:59:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_description(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:85:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_usage(const App *app, std::string name) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:127:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_footer(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_help(const App *app, std::string name, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:159:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommands(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:199:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommand(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:205:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_expanded(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:222:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_name(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:229:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_opts(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:259:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_desc(const Option *opt) const { return opt->get_description(); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:261:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_usage(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:57:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_help(const App *, std::string, AppFormatMode) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:74:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_label(std::string key) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:82:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t get_column_width() const { return column_width_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:102:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *app, std::string name, AppFormatMode mode) const override {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:120:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:123:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_positionals(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:126:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_groups(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:129:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommands(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:132:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommand(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:135:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_expanded(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:138:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_footer(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:141:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_description(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:144:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_usage(const App *app, std::string name) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:147:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *, std::string, AppFormatMode) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:154:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:162:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_name(const Option *, bool) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:165:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_opts(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:168:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_desc(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:171:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_usage(const Option *opt) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:83:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *group(std::string name) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:89:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *required(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:95:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *mandatory(bool value = true) { return required(value); }
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:97:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *always_capture_default(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:105:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_group() const { return group_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:108:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_required() const { return required_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:111:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_case() const { return ignore_case_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:114:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_underscore() const { return ignore_underscore_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:117:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_configurable() const { return configurable_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:120:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_disable_flag_override() const { return disable_flag_override_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:123:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
char get_delimiter() const { return delimiter_; }
~~~~ ^
auto -> char
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:126:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_always_capture_default() const { return always_capture_default_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:129:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
MultiOptionPolicy get_multi_option_policy() const { return multi_option_policy_; }
~~~~~~~~~~~~~~~~~ ^
auto -> MultiOptionPolicy
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:134:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_last() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:141:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_first() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:148:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *join() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:155:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *configurable(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:161:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *delimiter(char value = '\0') {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:176:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:182:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_case(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:188:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_underscore(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:194:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *disable_flag_override(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:200:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *delimiter(char value = '\0') {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:307:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return results_.size(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:310:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t empty() const { return results_.empty(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:323:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *expected(int value) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:350:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:359:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(std::function<std::string(const std::string &)> validator,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:368:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:376:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(std::function<std::string(std::string)> func,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:392:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *each(std::function<void(std::string)> func) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:402:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator *get_validator(const std::string &validator_name = "") {
~~~~~~~~~~~^
auto -> Validator *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:414:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *needs(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:422:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *needs(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:430:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *needs(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:436:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_needs(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:448:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *excludes(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:461:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *excludes(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:469:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *excludes(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:475:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_excludes(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:487:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *envname(std::string name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:496:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_case(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:511:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_underscore(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:522:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:531:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *disable_flag_override(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:540:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_type_size() const { return type_size_; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:543:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_envname() const { return envname_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Optional.hpp:6:10: error: 'istream' file not found [clang-diagnostic-error]
#include <istream>
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:17:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_short(const std::string ¤t, std::string &name, std::string &rest) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:27:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_long(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:43:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_windows_style(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:59:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_names(std::string current) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:23:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::ostream &operator<<(std::ostream &in, const T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:30:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::istream &operator>>(std::istream &in, T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:45:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split(const std::string &s, char delim) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:61:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> inline std::string as_string(const T &v) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:73:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string join(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:89:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string join(const T &v, Callable func, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:102:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string rjoin(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:115:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:122:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:129:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:136:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:144:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str) { return ltrim(rtrim(str)); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:147:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str, const std::string filter) { return ltrim(rtrim(str, filter), filter); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:150:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:156:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:161:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ostream &format_help(std::ostream &out, std::string name, std::string description, size_t wid) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:179:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_first_char(T c) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:184:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_later_char(T c) { return valid_first_char(c) || c == '.' || c == '-'; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:187:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool valid_name_string(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:197:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool isalpha(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:202:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string to_lower(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:210:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string remove_underscore(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:216:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string find_and_replace(std::string str, std::string from, std::string to) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:229:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool has_default_flag_values(const std::string &flags) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:247:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ptrdiff_t find_member(std::string name,
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:278:49: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Callable> inline std::string find_and_modify(std::string str, std::string trigger, Callable modify) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:288:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_up(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:337:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string fix_newlines(std::string leader, std::string input) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:353:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline size_t escape_detect(std::string &str, size_t offset) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:366:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &add_quotes_if_needed(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:60:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &operation(std::function<std::string(std::string &)> op) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:66:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:81:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(const std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:87:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &description(std::string validator_desc) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:92:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_description() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:99:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &name(std::string validator_name) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:104:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_name() const { return name_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:106:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &active(bool active_val = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:112:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &non_modifying(bool no_modify = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:118:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_active() const { return active_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:121:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_modifying() const { return !non_modifying_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:125:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator&(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:149:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator|(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:171:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator!() const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:221:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingFileValidator() : Validator("FILE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:239:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingDirectoryValidator() : Validator("DIR") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:257:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingPathValidator() : Validator("PATH(existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:272:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
NonexistentPathValidator() : Validator("PATH(non-existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:287:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
IPV4Validator() : Validator("IPV4") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:312:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
PositiveNumber() : Validator("POSITIVE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:329:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Number() : Validator("NUMBER") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:432:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::remove_reference<T>::type &smart_deref(T &value) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:436:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_set(const T &set) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:448:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_map(const T &map, bool key_only = false) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:514:87: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> typename std::enable_if<std::is_integral<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:529:71: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::enable_if<std::is_floating_point<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:743:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_case(std::string item) { return detail::to_lower(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:746:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_underscore(std::string item) { return detail::remove_underscore(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:749:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_space(std::string item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:872:51: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Number> static std::string generate_description(const std::string &name, Options opts) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:916:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> init_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:935:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> get_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:951:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::pair<std::string, std::string> split_program_name(std::string commandline) {
^
523 warnings and 1 error generated.
Error while processing TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/subcommands.cpp.
Suppressed 256 warnings (254 in non-user code, 2 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).
[3/88] Building CXX object examples/CMakeFiles/positional_validation.dir/positional_validation.cpp.o
FAILED: examples/CMakeFiles/positional_validation.dir/positional_validation.cpp.o
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/cmake -E __run_co_compile --tidy=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/clang-tidy --source=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/positional_validation.cpp -- TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ -ITOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -std=c++11 -MD -MT examples/CMakeFiles/positional_validation.dir/positional_validation.cpp.o -MF examples/CMakeFiles/positional_validation.dir/positional_validation.cpp.o.d -o examples/CMakeFiles/positional_validation.dir/positional_validation.cpp.o -c TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/positional_validation.cpp
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/positional_validation.cpp:3:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int main(int argc, char **argv) {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:46:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string simple(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:47:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string help(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:283:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *callback(std::function<void()> app_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:290:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *preparse_callback(std::function<void(size_t)> pp_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:296:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *name(std::string app_name = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:303:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:309:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *required(bool require = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:315:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:321:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled_by_default(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:328:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *enabled_by_default(bool enable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:334:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *immediate_callback(bool immediate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:340:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *validate_positionals(bool validate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:347:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_config_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:354:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *prefix_command(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:360:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_case(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:372:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_windows_style_options(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:378:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *positionals_at_end(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:384:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_underscore(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:396:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter(std::shared_ptr<FormatterBase> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:402:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter_fn(std::function<std::string(const App *, std::string, AppFormatMode)> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:408:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *config_formatter(std::shared_ptr<Config> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:414:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool parsed() const { return parsed_ > 0; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:417:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *option_defaults() { return &option_defaults_; }
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:437:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:473:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:490:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:494:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
auto fun = [func](CLI::results_t res) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:509:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:517:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name, T &option_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:523:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:557:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:581:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_flag(std::string flag_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:598:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_all_flag(std::string help_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:616:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *_add_flag_internal(std::string flag_name, CLI::callback_t fun, std::string flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:642:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name) { return _add_flag_internal(flag_name, CLI::callback_t(), std::string{}); }
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:650:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name, T &flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:658:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:680:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:698:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:713:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_callback(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:733:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_function(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:757:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:769:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:781:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:794:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:807:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:820:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:832:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:846:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:859:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:872:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:884:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:898:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:911:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:925:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:937:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:952:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:965:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_complex(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:996:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_config(std::string option_name = "",
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1017:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_option(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1040:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
T *add_option_group(std::string group_name, std::string group_description = "") {
~~~^
auto -> T *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1054:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(std::string subcommand_name = "", std::string subcommand_description = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1060:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(CLI::App_p subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1074:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_subcommand(App *subcom) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1090:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(App *subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1100:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(std::string subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1107:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(int index = 0) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1117:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(App *subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1127:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(std::string subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1135:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(int index = 0) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1145:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_option_group(std::string group_name) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1157:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return parsed_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1161:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count_all() const {
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1176:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *group(std::string group_name) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1182:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1191:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1204:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1211:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1220:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1233:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1241:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *fallthrough(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1372:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int exit(const Error &e, std::ostream &out = std::cout, std::ostream &err = std::cerr) const {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1401:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count(std::string option_name) const { return get_option(option_name)->count(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2695:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2711:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(App *subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2763:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string simple(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2782:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string help(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Config.hpp:18:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
ConfigINI::to_config(const App *app, bool default_also, bool write_description, std::string prefix) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:20:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ini_join(std::vector<std::string> args) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:53:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string fullname() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:67:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_config(const App *, bool, bool, std::string) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:73:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_flag(const ConfigItem &item) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:96:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string to_config(const App *, bool default_also, bool write_description, std::string prefix) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:68:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_exit_code() const { return actual_exit_code; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:70:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_name() const { return error_name; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:89:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction PositionalFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:92:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction Set0Opt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:95:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction SetFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:98:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction ChangeNotVector(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:101:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction AfterMultiOpt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:105:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MissingOption(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:108:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MultiOptionPolicy(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:117:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString OneCharName(std::string name) { return BadNameString("Invalid one char name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:118:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString BadLongName(std::string name) { return BadNameString("Bad long name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:119:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString DashesOnly(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:122:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString MultiPositionalNames(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:132:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Requires(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Excludes(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:152:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Success() : Success("Successfully completed, should be caught and quit", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:158:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForHelp() : CallForHelp("This should be caught in your main function, see examples", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:164:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForAllHelp()
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:178:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static FileError Missing(std::string name) { return FileError(name + " was not readable (missing?)"); }
~~~~~~~~~ ^
auto -> FileError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:189:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TooManyInputsFlag(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:192:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TrueFalse(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:208:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Subcommand(size_t min_subcom) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:215:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Option(size_t min_option, size_t max_option, size_t used, const std::string &option_list) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:249:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch AtLeast(std::string name, int num) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:252:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:255:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch FlagOverride(std::string name) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:288:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError Extras(std::string item) { return ConfigError("INI was not able to parse " + item); }
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:289:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError NotConfigurable(std::string item) {
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:14:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Formatter::make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:25:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_positionals(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:35:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_groups(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:59:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_description(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:85:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_usage(const App *app, std::string name) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:127:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_footer(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_help(const App *app, std::string name, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:159:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommands(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:199:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommand(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:205:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_expanded(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:222:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_name(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:229:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_opts(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:259:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_desc(const Option *opt) const { return opt->get_description(); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:261:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_usage(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:57:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_help(const App *, std::string, AppFormatMode) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:74:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_label(std::string key) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:82:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t get_column_width() const { return column_width_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:102:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *app, std::string name, AppFormatMode mode) const override {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:120:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:123:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_positionals(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:126:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_groups(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:129:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommands(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:132:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommand(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:135:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_expanded(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:138:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_footer(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:141:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_description(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:144:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_usage(const App *app, std::string name) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:147:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *, std::string, AppFormatMode) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:154:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:162:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_name(const Option *, bool) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:165:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_opts(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:168:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_desc(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:171:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_usage(const Option *opt) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:83:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *group(std::string name) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:89:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *required(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:95:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *mandatory(bool value = true) { return required(value); }
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:97:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *always_capture_default(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:105:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_group() const { return group_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:108:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_required() const { return required_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:111:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_case() const { return ignore_case_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:114:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_underscore() const { return ignore_underscore_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:117:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_configurable() const { return configurable_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:120:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_disable_flag_override() const { return disable_flag_override_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:123:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
char get_delimiter() const { return delimiter_; }
~~~~ ^
auto -> char
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:126:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_always_capture_default() const { return always_capture_default_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:129:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
MultiOptionPolicy get_multi_option_policy() const { return multi_option_policy_; }
~~~~~~~~~~~~~~~~~ ^
auto -> MultiOptionPolicy
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:134:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_last() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:141:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_first() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:148:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *join() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:155:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *configurable(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:161:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *delimiter(char value = '\0') {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:176:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:182:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_case(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:188:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_underscore(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:194:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *disable_flag_override(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:200:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *delimiter(char value = '\0') {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:307:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return results_.size(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:310:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t empty() const { return results_.empty(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:323:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *expected(int value) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:350:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:359:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(std::function<std::string(const std::string &)> validator,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:368:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:376:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(std::function<std::string(std::string)> func,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:392:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *each(std::function<void(std::string)> func) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:402:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator *get_validator(const std::string &validator_name = "") {
~~~~~~~~~~~^
auto -> Validator *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:414:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *needs(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:422:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *needs(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:430:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *needs(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:436:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_needs(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:448:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *excludes(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:461:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *excludes(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:469:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *excludes(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:475:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_excludes(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:487:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *envname(std::string name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:496:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_case(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:511:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_underscore(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:522:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:531:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *disable_flag_override(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:540:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_type_size() const { return type_size_; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:543:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_envname() const { return envname_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Optional.hpp:6:10: error: 'istream' file not found [clang-diagnostic-error]
#include <istream>
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:17:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_short(const std::string ¤t, std::string &name, std::string &rest) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:27:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_long(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:43:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_windows_style(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:59:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_names(std::string current) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:23:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::ostream &operator<<(std::ostream &in, const T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:30:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::istream &operator>>(std::istream &in, T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:45:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split(const std::string &s, char delim) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:61:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> inline std::string as_string(const T &v) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:73:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string join(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:89:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string join(const T &v, Callable func, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:102:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string rjoin(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:115:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:122:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:129:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:136:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:144:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str) { return ltrim(rtrim(str)); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:147:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str, const std::string filter) { return ltrim(rtrim(str, filter), filter); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:150:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:156:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:161:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ostream &format_help(std::ostream &out, std::string name, std::string description, size_t wid) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:179:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_first_char(T c) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:184:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_later_char(T c) { return valid_first_char(c) || c == '.' || c == '-'; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:187:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool valid_name_string(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:197:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool isalpha(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:202:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string to_lower(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:210:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string remove_underscore(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:216:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string find_and_replace(std::string str, std::string from, std::string to) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:229:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool has_default_flag_values(const std::string &flags) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:247:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ptrdiff_t find_member(std::string name,
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:278:49: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Callable> inline std::string find_and_modify(std::string str, std::string trigger, Callable modify) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:288:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_up(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:337:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string fix_newlines(std::string leader, std::string input) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:353:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline size_t escape_detect(std::string &str, size_t offset) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:366:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &add_quotes_if_needed(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:60:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &operation(std::function<std::string(std::string &)> op) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:66:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:81:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(const std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:87:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &description(std::string validator_desc) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:92:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_description() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:99:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &name(std::string validator_name) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:104:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_name() const { return name_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:106:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &active(bool active_val = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:112:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &non_modifying(bool no_modify = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:118:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_active() const { return active_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:121:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_modifying() const { return !non_modifying_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:125:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator&(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:149:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator|(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:171:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator!() const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:221:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingFileValidator() : Validator("FILE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:239:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingDirectoryValidator() : Validator("DIR") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:257:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingPathValidator() : Validator("PATH(existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:272:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
NonexistentPathValidator() : Validator("PATH(non-existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:287:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
IPV4Validator() : Validator("IPV4") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:312:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
PositiveNumber() : Validator("POSITIVE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:329:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Number() : Validator("NUMBER") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:432:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::remove_reference<T>::type &smart_deref(T &value) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:436:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_set(const T &set) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:448:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_map(const T &map, bool key_only = false) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:514:87: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> typename std::enable_if<std::is_integral<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:529:71: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::enable_if<std::is_floating_point<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:743:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_case(std::string item) { return detail::to_lower(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:746:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_underscore(std::string item) { return detail::remove_underscore(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:749:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_space(std::string item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:872:51: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Number> static std::string generate_description(const std::string &name, Options opts) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:916:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> init_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:935:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> get_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:951:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::pair<std::string, std::string> split_program_name(std::string commandline) {
^
523 warnings and 1 error generated.
Error while processing TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/positional_validation.cpp.
Suppressed 256 warnings (254 in non-user code, 2 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).
[4/88] Building CXX object examples/CMakeFiles/ranges.dir/ranges.cpp.o
FAILED: examples/CMakeFiles/ranges.dir/ranges.cpp.o
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/cmake -E __run_co_compile --tidy=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/clang-tidy --source=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/ranges.cpp -- TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ -ITOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -std=c++11 -MD -MT examples/CMakeFiles/ranges.dir/ranges.cpp.o -MF examples/CMakeFiles/ranges.dir/ranges.cpp.o.d -o examples/CMakeFiles/ranges.dir/ranges.cpp.o -c TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/ranges.cpp
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/ranges.cpp:3:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int main(int argc, char **argv) {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:46:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string simple(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:47:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string help(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:283:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *callback(std::function<void()> app_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:290:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *preparse_callback(std::function<void(size_t)> pp_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:296:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *name(std::string app_name = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:303:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:309:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *required(bool require = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:315:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:321:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled_by_default(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:328:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *enabled_by_default(bool enable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:334:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *immediate_callback(bool immediate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:340:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *validate_positionals(bool validate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:347:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_config_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:354:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *prefix_command(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:360:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_case(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:372:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_windows_style_options(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:378:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *positionals_at_end(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:384:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_underscore(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:396:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter(std::shared_ptr<FormatterBase> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:402:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter_fn(std::function<std::string(const App *, std::string, AppFormatMode)> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:408:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *config_formatter(std::shared_ptr<Config> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:414:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool parsed() const { return parsed_ > 0; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:417:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *option_defaults() { return &option_defaults_; }
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:437:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:473:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:490:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:494:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
auto fun = [func](CLI::results_t res) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:509:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:517:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name, T &option_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:523:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:557:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:581:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_flag(std::string flag_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:598:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_all_flag(std::string help_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:616:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *_add_flag_internal(std::string flag_name, CLI::callback_t fun, std::string flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:642:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name) { return _add_flag_internal(flag_name, CLI::callback_t(), std::string{}); }
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:650:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name, T &flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:658:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:680:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:698:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:713:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_callback(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:733:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_function(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:757:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:769:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:781:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:794:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:807:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:820:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:832:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:846:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:859:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:872:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:884:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:898:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:911:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:925:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:937:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:952:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:965:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_complex(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:996:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_config(std::string option_name = "",
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1017:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_option(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1040:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
T *add_option_group(std::string group_name, std::string group_description = "") {
~~~^
auto -> T *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1054:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(std::string subcommand_name = "", std::string subcommand_description = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1060:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(CLI::App_p subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1074:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_subcommand(App *subcom) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1090:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(App *subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1100:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(std::string subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1107:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(int index = 0) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1117:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(App *subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1127:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(std::string subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1135:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(int index = 0) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1145:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_option_group(std::string group_name) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1157:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return parsed_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1161:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count_all() const {
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1176:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *group(std::string group_name) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1182:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1191:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1204:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1211:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1220:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1233:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1241:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *fallthrough(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1372:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int exit(const Error &e, std::ostream &out = std::cout, std::ostream &err = std::cerr) const {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1401:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count(std::string option_name) const { return get_option(option_name)->count(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2695:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2711:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(App *subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2763:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string simple(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2782:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string help(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Config.hpp:18:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
ConfigINI::to_config(const App *app, bool default_also, bool write_description, std::string prefix) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:20:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ini_join(std::vector<std::string> args) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:53:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string fullname() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:67:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_config(const App *, bool, bool, std::string) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:73:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_flag(const ConfigItem &item) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:96:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string to_config(const App *, bool default_also, bool write_description, std::string prefix) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:68:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_exit_code() const { return actual_exit_code; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:70:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_name() const { return error_name; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:89:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction PositionalFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:92:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction Set0Opt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:95:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction SetFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:98:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction ChangeNotVector(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:101:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction AfterMultiOpt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:105:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MissingOption(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:108:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MultiOptionPolicy(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:117:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString OneCharName(std::string name) { return BadNameString("Invalid one char name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:118:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString BadLongName(std::string name) { return BadNameString("Bad long name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:119:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString DashesOnly(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:122:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString MultiPositionalNames(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:132:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Requires(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Excludes(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:152:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Success() : Success("Successfully completed, should be caught and quit", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:158:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForHelp() : CallForHelp("This should be caught in your main function, see examples", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:164:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForAllHelp()
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:178:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static FileError Missing(std::string name) { return FileError(name + " was not readable (missing?)"); }
~~~~~~~~~ ^
auto -> FileError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:189:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TooManyInputsFlag(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:192:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TrueFalse(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:208:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Subcommand(size_t min_subcom) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:215:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Option(size_t min_option, size_t max_option, size_t used, const std::string &option_list) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:249:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch AtLeast(std::string name, int num) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:252:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:255:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch FlagOverride(std::string name) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:288:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError Extras(std::string item) { return ConfigError("INI was not able to parse " + item); }
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:289:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError NotConfigurable(std::string item) {
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:14:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Formatter::make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:25:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_positionals(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:35:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_groups(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:59:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_description(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:85:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_usage(const App *app, std::string name) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:127:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_footer(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_help(const App *app, std::string name, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:159:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommands(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:199:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommand(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:205:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_expanded(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:222:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_name(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:229:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_opts(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:259:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_desc(const Option *opt) const { return opt->get_description(); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:261:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_usage(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:57:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_help(const App *, std::string, AppFormatMode) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:74:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_label(std::string key) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:82:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t get_column_width() const { return column_width_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:102:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *app, std::string name, AppFormatMode mode) const override {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:120:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:123:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_positionals(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:126:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_groups(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:129:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommands(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:132:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommand(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:135:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_expanded(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:138:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_footer(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:141:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_description(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:144:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_usage(const App *app, std::string name) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:147:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *, std::string, AppFormatMode) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:154:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:162:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_name(const Option *, bool) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:165:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_opts(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:168:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_desc(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:171:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_usage(const Option *opt) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:83:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *group(std::string name) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:89:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *required(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:95:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *mandatory(bool value = true) { return required(value); }
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:97:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *always_capture_default(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:105:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_group() const { return group_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:108:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_required() const { return required_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:111:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_case() const { return ignore_case_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:114:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_underscore() const { return ignore_underscore_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:117:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_configurable() const { return configurable_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:120:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_disable_flag_override() const { return disable_flag_override_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:123:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
char get_delimiter() const { return delimiter_; }
~~~~ ^
auto -> char
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:126:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_always_capture_default() const { return always_capture_default_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:129:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
MultiOptionPolicy get_multi_option_policy() const { return multi_option_policy_; }
~~~~~~~~~~~~~~~~~ ^
auto -> MultiOptionPolicy
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:134:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_last() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:141:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_first() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:148:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *join() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:155:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *configurable(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:161:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *delimiter(char value = '\0') {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:176:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:182:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_case(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:188:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_underscore(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:194:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *disable_flag_override(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:200:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *delimiter(char value = '\0') {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:307:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return results_.size(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:310:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t empty() const { return results_.empty(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:323:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *expected(int value) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:350:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:359:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(std::function<std::string(const std::string &)> validator,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:368:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:376:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(std::function<std::string(std::string)> func,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:392:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *each(std::function<void(std::string)> func) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:402:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator *get_validator(const std::string &validator_name = "") {
~~~~~~~~~~~^
auto -> Validator *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:414:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *needs(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:422:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *needs(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:430:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *needs(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:436:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_needs(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:448:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *excludes(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:461:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *excludes(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:469:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *excludes(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:475:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_excludes(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:487:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *envname(std::string name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:496:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_case(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:511:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_underscore(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:522:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:531:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *disable_flag_override(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:540:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_type_size() const { return type_size_; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:543:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_envname() const { return envname_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Optional.hpp:6:10: error: 'istream' file not found [clang-diagnostic-error]
#include <istream>
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:17:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_short(const std::string ¤t, std::string &name, std::string &rest) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:27:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_long(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:43:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_windows_style(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:59:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_names(std::string current) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:23:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::ostream &operator<<(std::ostream &in, const T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:30:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::istream &operator>>(std::istream &in, T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:45:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split(const std::string &s, char delim) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:61:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> inline std::string as_string(const T &v) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:73:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string join(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:89:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string join(const T &v, Callable func, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:102:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string rjoin(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:115:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:122:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:129:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:136:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:144:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str) { return ltrim(rtrim(str)); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:147:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str, const std::string filter) { return ltrim(rtrim(str, filter), filter); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:150:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:156:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:161:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ostream &format_help(std::ostream &out, std::string name, std::string description, size_t wid) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:179:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_first_char(T c) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:184:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_later_char(T c) { return valid_first_char(c) || c == '.' || c == '-'; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:187:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool valid_name_string(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:197:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool isalpha(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:202:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string to_lower(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:210:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string remove_underscore(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:216:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string find_and_replace(std::string str, std::string from, std::string to) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:229:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool has_default_flag_values(const std::string &flags) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:247:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ptrdiff_t find_member(std::string name,
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:278:49: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Callable> inline std::string find_and_modify(std::string str, std::string trigger, Callable modify) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:288:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_up(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:337:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string fix_newlines(std::string leader, std::string input) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:353:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline size_t escape_detect(std::string &str, size_t offset) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:366:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &add_quotes_if_needed(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:60:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &operation(std::function<std::string(std::string &)> op) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:66:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:81:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(const std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:87:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &description(std::string validator_desc) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:92:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_description() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:99:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &name(std::string validator_name) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:104:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_name() const { return name_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:106:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &active(bool active_val = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:112:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &non_modifying(bool no_modify = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:118:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_active() const { return active_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:121:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_modifying() const { return !non_modifying_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:125:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator&(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:149:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator|(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:171:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator!() const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:221:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingFileValidator() : Validator("FILE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:239:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingDirectoryValidator() : Validator("DIR") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:257:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingPathValidator() : Validator("PATH(existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:272:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
NonexistentPathValidator() : Validator("PATH(non-existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:287:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
IPV4Validator() : Validator("IPV4") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:312:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
PositiveNumber() : Validator("POSITIVE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:329:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Number() : Validator("NUMBER") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:432:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::remove_reference<T>::type &smart_deref(T &value) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:436:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_set(const T &set) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:448:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_map(const T &map, bool key_only = false) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:514:87: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> typename std::enable_if<std::is_integral<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:529:71: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::enable_if<std::is_floating_point<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:743:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_case(std::string item) { return detail::to_lower(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:746:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_underscore(std::string item) { return detail::remove_underscore(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:749:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_space(std::string item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:872:51: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Number> static std::string generate_description(const std::string &name, Options opts) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:916:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> init_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:935:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> get_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:951:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::pair<std::string, std::string> split_program_name(std::string commandline) {
^
523 warnings and 1 error generated.
Error while processing TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/ranges.cpp.
Suppressed 256 warnings (254 in non-user code, 2 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).
[5/88] Building CXX object examples/CMakeFiles/modhelp.dir/modhelp.cpp.o
FAILED: examples/CMakeFiles/modhelp.dir/modhelp.cpp.o
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/cmake -E __run_co_compile --tidy=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/clang-tidy --source=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/modhelp.cpp -- TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ -ITOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -std=c++11 -MD -MT examples/CMakeFiles/modhelp.dir/modhelp.cpp.o -MF examples/CMakeFiles/modhelp.dir/modhelp.cpp.o.d -o examples/CMakeFiles/modhelp.dir/modhelp.cpp.o -c TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/modhelp.cpp
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/modhelp.cpp:6:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int main(int argc, char **argv) {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:46:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string simple(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:47:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string help(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:283:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *callback(std::function<void()> app_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:290:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *preparse_callback(std::function<void(size_t)> pp_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:296:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *name(std::string app_name = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:303:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:309:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *required(bool require = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:315:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:321:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled_by_default(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:328:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *enabled_by_default(bool enable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:334:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *immediate_callback(bool immediate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:340:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *validate_positionals(bool validate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:347:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_config_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:354:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *prefix_command(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:360:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_case(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:372:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_windows_style_options(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:378:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *positionals_at_end(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:384:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_underscore(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:396:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter(std::shared_ptr<FormatterBase> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:402:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter_fn(std::function<std::string(const App *, std::string, AppFormatMode)> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:408:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *config_formatter(std::shared_ptr<Config> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:414:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool parsed() const { return parsed_ > 0; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:417:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *option_defaults() { return &option_defaults_; }
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:437:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:473:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:490:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:494:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
auto fun = [func](CLI::results_t res) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:509:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:517:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name, T &option_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:523:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:557:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:581:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_flag(std::string flag_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:598:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_all_flag(std::string help_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:616:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *_add_flag_internal(std::string flag_name, CLI::callback_t fun, std::string flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:642:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name) { return _add_flag_internal(flag_name, CLI::callback_t(), std::string{}); }
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:650:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name, T &flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:658:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:680:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:698:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:713:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_callback(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:733:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_function(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:757:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:769:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:781:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:794:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:807:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:820:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:832:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:846:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:859:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:872:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:884:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:898:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:911:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:925:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:937:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:952:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:965:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_complex(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:996:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_config(std::string option_name = "",
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1017:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_option(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1040:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
T *add_option_group(std::string group_name, std::string group_description = "") {
~~~^
auto -> T *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1054:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(std::string subcommand_name = "", std::string subcommand_description = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1060:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(CLI::App_p subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1074:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_subcommand(App *subcom) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1090:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(App *subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1100:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(std::string subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1107:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(int index = 0) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1117:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(App *subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1127:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(std::string subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1135:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(int index = 0) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1145:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_option_group(std::string group_name) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1157:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return parsed_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1161:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count_all() const {
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1176:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *group(std::string group_name) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1182:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1191:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1204:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1211:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1220:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1233:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1241:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *fallthrough(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1372:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int exit(const Error &e, std::ostream &out = std::cout, std::ostream &err = std::cerr) const {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1401:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count(std::string option_name) const { return get_option(option_name)->count(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2695:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2711:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(App *subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2763:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string simple(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2782:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string help(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Config.hpp:18:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
ConfigINI::to_config(const App *app, bool default_also, bool write_description, std::string prefix) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:20:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ini_join(std::vector<std::string> args) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:53:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string fullname() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:67:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_config(const App *, bool, bool, std::string) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:73:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_flag(const ConfigItem &item) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:96:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string to_config(const App *, bool default_also, bool write_description, std::string prefix) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:68:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_exit_code() const { return actual_exit_code; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:70:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_name() const { return error_name; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:89:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction PositionalFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:92:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction Set0Opt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:95:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction SetFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:98:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction ChangeNotVector(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:101:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction AfterMultiOpt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:105:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MissingOption(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:108:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MultiOptionPolicy(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:117:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString OneCharName(std::string name) { return BadNameString("Invalid one char name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:118:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString BadLongName(std::string name) { return BadNameString("Bad long name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:119:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString DashesOnly(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:122:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString MultiPositionalNames(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:132:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Requires(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Excludes(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:152:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Success() : Success("Successfully completed, should be caught and quit", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:158:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForHelp() : CallForHelp("This should be caught in your main function, see examples", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:164:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForAllHelp()
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:178:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static FileError Missing(std::string name) { return FileError(name + " was not readable (missing?)"); }
~~~~~~~~~ ^
auto -> FileError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:189:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TooManyInputsFlag(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:192:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TrueFalse(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:208:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Subcommand(size_t min_subcom) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:215:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Option(size_t min_option, size_t max_option, size_t used, const std::string &option_list) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:249:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch AtLeast(std::string name, int num) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:252:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:255:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch FlagOverride(std::string name) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:288:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError Extras(std::string item) { return ConfigError("INI was not able to parse " + item); }
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:289:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError NotConfigurable(std::string item) {
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:14:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Formatter::make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:25:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_positionals(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:35:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_groups(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:59:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_description(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:85:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_usage(const App *app, std::string name) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:127:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_footer(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_help(const App *app, std::string name, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:159:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommands(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:199:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommand(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:205:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_expanded(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:222:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_name(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:229:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_opts(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:259:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_desc(const Option *opt) const { return opt->get_description(); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:261:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_usage(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:57:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_help(const App *, std::string, AppFormatMode) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:74:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_label(std::string key) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:82:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t get_column_width() const { return column_width_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:102:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *app, std::string name, AppFormatMode mode) const override {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:120:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:123:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_positionals(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:126:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_groups(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:129:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommands(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:132:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommand(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:135:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_expanded(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:138:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_footer(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:141:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_description(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:144:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_usage(const App *app, std::string name) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:147:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *, std::string, AppFormatMode) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:154:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:162:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_name(const Option *, bool) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:165:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_opts(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:168:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_desc(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:171:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_usage(const Option *opt) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:83:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *group(std::string name) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:89:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *required(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:95:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *mandatory(bool value = true) { return required(value); }
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:97:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *always_capture_default(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:105:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_group() const { return group_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:108:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_required() const { return required_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:111:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_case() const { return ignore_case_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:114:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_underscore() const { return ignore_underscore_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:117:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_configurable() const { return configurable_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:120:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_disable_flag_override() const { return disable_flag_override_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:123:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
char get_delimiter() const { return delimiter_; }
~~~~ ^
auto -> char
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:126:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_always_capture_default() const { return always_capture_default_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:129:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
MultiOptionPolicy get_multi_option_policy() const { return multi_option_policy_; }
~~~~~~~~~~~~~~~~~ ^
auto -> MultiOptionPolicy
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:134:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_last() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:141:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_first() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:148:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *join() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:155:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *configurable(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:161:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *delimiter(char value = '\0') {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:176:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:182:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_case(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:188:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_underscore(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:194:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *disable_flag_override(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:200:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *delimiter(char value = '\0') {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:307:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return results_.size(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:310:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t empty() const { return results_.empty(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:323:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *expected(int value) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:350:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:359:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(std::function<std::string(const std::string &)> validator,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:368:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:376:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(std::function<std::string(std::string)> func,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:392:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *each(std::function<void(std::string)> func) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:402:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator *get_validator(const std::string &validator_name = "") {
~~~~~~~~~~~^
auto -> Validator *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:414:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *needs(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:422:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *needs(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:430:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *needs(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:436:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_needs(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:448:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *excludes(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:461:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *excludes(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:469:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *excludes(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:475:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_excludes(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:487:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *envname(std::string name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:496:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_case(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:511:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_underscore(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:522:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:531:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *disable_flag_override(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:540:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_type_size() const { return type_size_; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:543:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_envname() const { return envname_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Optional.hpp:6:10: error: 'istream' file not found [clang-diagnostic-error]
#include <istream>
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:17:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_short(const std::string ¤t, std::string &name, std::string &rest) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:27:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_long(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:43:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_windows_style(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:59:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_names(std::string current) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:23:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::ostream &operator<<(std::ostream &in, const T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:30:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::istream &operator>>(std::istream &in, T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:45:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split(const std::string &s, char delim) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:61:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> inline std::string as_string(const T &v) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:73:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string join(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:89:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string join(const T &v, Callable func, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:102:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string rjoin(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:115:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:122:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:129:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:136:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:144:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str) { return ltrim(rtrim(str)); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:147:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str, const std::string filter) { return ltrim(rtrim(str, filter), filter); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:150:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:156:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:161:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ostream &format_help(std::ostream &out, std::string name, std::string description, size_t wid) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:179:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_first_char(T c) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:184:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_later_char(T c) { return valid_first_char(c) || c == '.' || c == '-'; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:187:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool valid_name_string(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:197:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool isalpha(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:202:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string to_lower(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:210:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string remove_underscore(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:216:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string find_and_replace(std::string str, std::string from, std::string to) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:229:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool has_default_flag_values(const std::string &flags) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:247:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ptrdiff_t find_member(std::string name,
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:278:49: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Callable> inline std::string find_and_modify(std::string str, std::string trigger, Callable modify) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:288:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_up(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:337:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string fix_newlines(std::string leader, std::string input) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:353:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline size_t escape_detect(std::string &str, size_t offset) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:366:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &add_quotes_if_needed(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:60:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &operation(std::function<std::string(std::string &)> op) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:66:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:81:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(const std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:87:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &description(std::string validator_desc) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:92:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_description() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:99:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &name(std::string validator_name) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:104:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_name() const { return name_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:106:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &active(bool active_val = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:112:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &non_modifying(bool no_modify = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:118:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_active() const { return active_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:121:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_modifying() const { return !non_modifying_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:125:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator&(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:149:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator|(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:171:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator!() const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:221:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingFileValidator() : Validator("FILE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:239:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingDirectoryValidator() : Validator("DIR") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:257:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingPathValidator() : Validator("PATH(existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:272:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
NonexistentPathValidator() : Validator("PATH(non-existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:287:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
IPV4Validator() : Validator("IPV4") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:312:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
PositiveNumber() : Validator("POSITIVE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:329:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Number() : Validator("NUMBER") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:432:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::remove_reference<T>::type &smart_deref(T &value) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:436:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_set(const T &set) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:448:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_map(const T &map, bool key_only = false) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:514:87: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> typename std::enable_if<std::is_integral<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:529:71: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::enable_if<std::is_floating_point<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:743:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_case(std::string item) { return detail::to_lower(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:746:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_underscore(std::string item) { return detail::remove_underscore(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:749:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_space(std::string item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:872:51: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Number> static std::string generate_description(const std::string &name, Options opts) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:916:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> init_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:935:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> get_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:951:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::pair<std::string, std::string> split_program_name(std::string commandline) {
^
523 warnings and 1 error generated.
Error while processing TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/modhelp.cpp.
Suppressed 256 warnings (254 in non-user code, 2 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).
[6/88] Building CXX object examples/CMakeFiles/inter_argument_order.dir/inter_argument_order.cpp.o
FAILED: examples/CMakeFiles/inter_argument_order.dir/inter_argument_order.cpp.o
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/cmake -E __run_co_compile --tidy=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/clang-tidy --source=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/inter_argument_order.cpp -- TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ -ITOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -std=c++11 -MD -MT examples/CMakeFiles/inter_argument_order.dir/inter_argument_order.cpp.o -MF examples/CMakeFiles/inter_argument_order.dir/inter_argument_order.cpp.o.d -o examples/CMakeFiles/inter_argument_order.dir/inter_argument_order.cpp.o -c TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/inter_argument_order.cpp
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/inter_argument_order.cpp:7:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int main(int argc, char **argv) {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:46:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string simple(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:47:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string help(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:283:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *callback(std::function<void()> app_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:290:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *preparse_callback(std::function<void(size_t)> pp_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:296:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *name(std::string app_name = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:303:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:309:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *required(bool require = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:315:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:321:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled_by_default(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:328:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *enabled_by_default(bool enable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:334:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *immediate_callback(bool immediate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:340:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *validate_positionals(bool validate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:347:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_config_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:354:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *prefix_command(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:360:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_case(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:372:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_windows_style_options(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:378:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *positionals_at_end(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:384:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_underscore(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:396:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter(std::shared_ptr<FormatterBase> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:402:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter_fn(std::function<std::string(const App *, std::string, AppFormatMode)> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:408:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *config_formatter(std::shared_ptr<Config> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:414:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool parsed() const { return parsed_ > 0; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:417:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *option_defaults() { return &option_defaults_; }
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:437:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:473:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:490:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:494:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
auto fun = [func](CLI::results_t res) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:509:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:517:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name, T &option_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:523:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:557:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:581:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_flag(std::string flag_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:598:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_all_flag(std::string help_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:616:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *_add_flag_internal(std::string flag_name, CLI::callback_t fun, std::string flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:642:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name) { return _add_flag_internal(flag_name, CLI::callback_t(), std::string{}); }
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:650:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name, T &flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:658:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:680:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:698:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:713:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_callback(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:733:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_function(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:757:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:769:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:781:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:794:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:807:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:820:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:832:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:846:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:859:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:872:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:884:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:898:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:911:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:925:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:937:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:952:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:965:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_complex(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:996:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_config(std::string option_name = "",
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1017:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_option(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1040:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
T *add_option_group(std::string group_name, std::string group_description = "") {
~~~^
auto -> T *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1054:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(std::string subcommand_name = "", std::string subcommand_description = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1060:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(CLI::App_p subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1074:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_subcommand(App *subcom) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1090:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(App *subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1100:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(std::string subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1107:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(int index = 0) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1117:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(App *subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1127:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(std::string subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1135:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(int index = 0) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1145:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_option_group(std::string group_name) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1157:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return parsed_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1161:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count_all() const {
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1176:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *group(std::string group_name) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1182:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1191:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1204:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1211:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1220:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1233:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1241:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *fallthrough(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1372:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int exit(const Error &e, std::ostream &out = std::cout, std::ostream &err = std::cerr) const {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1401:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count(std::string option_name) const { return get_option(option_name)->count(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2695:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2711:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(App *subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2763:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string simple(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2782:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string help(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Config.hpp:18:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
ConfigINI::to_config(const App *app, bool default_also, bool write_description, std::string prefix) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:20:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ini_join(std::vector<std::string> args) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:53:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string fullname() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:67:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_config(const App *, bool, bool, std::string) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:73:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_flag(const ConfigItem &item) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:96:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string to_config(const App *, bool default_also, bool write_description, std::string prefix) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:68:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_exit_code() const { return actual_exit_code; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:70:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_name() const { return error_name; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:89:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction PositionalFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:92:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction Set0Opt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:95:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction SetFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:98:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction ChangeNotVector(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:101:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction AfterMultiOpt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:105:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MissingOption(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:108:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MultiOptionPolicy(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:117:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString OneCharName(std::string name) { return BadNameString("Invalid one char name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:118:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString BadLongName(std::string name) { return BadNameString("Bad long name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:119:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString DashesOnly(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:122:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString MultiPositionalNames(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:132:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Requires(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Excludes(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:152:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Success() : Success("Successfully completed, should be caught and quit", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:158:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForHelp() : CallForHelp("This should be caught in your main function, see examples", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:164:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForAllHelp()
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:178:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static FileError Missing(std::string name) { return FileError(name + " was not readable (missing?)"); }
~~~~~~~~~ ^
auto -> FileError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:189:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TooManyInputsFlag(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:192:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TrueFalse(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:208:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Subcommand(size_t min_subcom) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:215:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Option(size_t min_option, size_t max_option, size_t used, const std::string &option_list) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:249:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch AtLeast(std::string name, int num) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:252:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:255:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch FlagOverride(std::string name) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:288:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError Extras(std::string item) { return ConfigError("INI was not able to parse " + item); }
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:289:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError NotConfigurable(std::string item) {
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:14:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Formatter::make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:25:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_positionals(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:35:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_groups(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:59:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_description(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:85:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_usage(const App *app, std::string name) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:127:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_footer(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_help(const App *app, std::string name, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:159:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommands(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:199:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommand(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:205:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_expanded(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:222:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_name(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:229:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_opts(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:259:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_desc(const Option *opt) const { return opt->get_description(); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:261:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_usage(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:57:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_help(const App *, std::string, AppFormatMode) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:74:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_label(std::string key) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:82:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t get_column_width() const { return column_width_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:102:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *app, std::string name, AppFormatMode mode) const override {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:120:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:123:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_positionals(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:126:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_groups(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:129:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommands(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:132:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommand(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:135:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_expanded(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:138:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_footer(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:141:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_description(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:144:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_usage(const App *app, std::string name) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:147:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *, std::string, AppFormatMode) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:154:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:162:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_name(const Option *, bool) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:165:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_opts(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:168:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_desc(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:171:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_usage(const Option *opt) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:83:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *group(std::string name) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:89:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *required(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:95:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *mandatory(bool value = true) { return required(value); }
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:97:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *always_capture_default(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:105:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_group() const { return group_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:108:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_required() const { return required_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:111:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_case() const { return ignore_case_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:114:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_underscore() const { return ignore_underscore_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:117:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_configurable() const { return configurable_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:120:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_disable_flag_override() const { return disable_flag_override_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:123:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
char get_delimiter() const { return delimiter_; }
~~~~ ^
auto -> char
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:126:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_always_capture_default() const { return always_capture_default_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:129:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
MultiOptionPolicy get_multi_option_policy() const { return multi_option_policy_; }
~~~~~~~~~~~~~~~~~ ^
auto -> MultiOptionPolicy
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:134:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_last() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:141:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_first() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:148:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *join() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:155:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *configurable(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:161:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *delimiter(char value = '\0') {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:176:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:182:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_case(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:188:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_underscore(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:194:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *disable_flag_override(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:200:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *delimiter(char value = '\0') {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:307:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return results_.size(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:310:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t empty() const { return results_.empty(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:323:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *expected(int value) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:350:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:359:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(std::function<std::string(const std::string &)> validator,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:368:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:376:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(std::function<std::string(std::string)> func,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:392:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *each(std::function<void(std::string)> func) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:402:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator *get_validator(const std::string &validator_name = "") {
~~~~~~~~~~~^
auto -> Validator *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:414:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *needs(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:422:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *needs(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:430:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *needs(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:436:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_needs(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:448:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *excludes(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:461:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *excludes(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:469:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *excludes(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:475:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_excludes(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:487:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *envname(std::string name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:496:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_case(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:511:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_underscore(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:522:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:531:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *disable_flag_override(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:540:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_type_size() const { return type_size_; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:543:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_envname() const { return envname_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Optional.hpp:6:10: error: 'istream' file not found [clang-diagnostic-error]
#include <istream>
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:17:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_short(const std::string ¤t, std::string &name, std::string &rest) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:27:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_long(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:43:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_windows_style(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:59:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_names(std::string current) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:23:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::ostream &operator<<(std::ostream &in, const T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:30:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::istream &operator>>(std::istream &in, T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:45:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split(const std::string &s, char delim) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:61:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> inline std::string as_string(const T &v) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:73:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string join(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:89:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string join(const T &v, Callable func, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:102:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string rjoin(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:115:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:122:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:129:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:136:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:144:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str) { return ltrim(rtrim(str)); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:147:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str, const std::string filter) { return ltrim(rtrim(str, filter), filter); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:150:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:156:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:161:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ostream &format_help(std::ostream &out, std::string name, std::string description, size_t wid) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:179:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_first_char(T c) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:184:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_later_char(T c) { return valid_first_char(c) || c == '.' || c == '-'; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:187:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool valid_name_string(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:197:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool isalpha(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:202:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string to_lower(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:210:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string remove_underscore(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:216:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string find_and_replace(std::string str, std::string from, std::string to) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:229:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool has_default_flag_values(const std::string &flags) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:247:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ptrdiff_t find_member(std::string name,
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:278:49: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Callable> inline std::string find_and_modify(std::string str, std::string trigger, Callable modify) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:288:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_up(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:337:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string fix_newlines(std::string leader, std::string input) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:353:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline size_t escape_detect(std::string &str, size_t offset) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:366:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &add_quotes_if_needed(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:60:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &operation(std::function<std::string(std::string &)> op) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:66:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:81:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(const std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:87:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &description(std::string validator_desc) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:92:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_description() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:99:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &name(std::string validator_name) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:104:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_name() const { return name_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:106:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &active(bool active_val = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:112:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &non_modifying(bool no_modify = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:118:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_active() const { return active_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:121:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_modifying() const { return !non_modifying_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:125:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator&(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:149:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator|(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:171:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator!() const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:221:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingFileValidator() : Validator("FILE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:239:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingDirectoryValidator() : Validator("DIR") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:257:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingPathValidator() : Validator("PATH(existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:272:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
NonexistentPathValidator() : Validator("PATH(non-existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:287:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
IPV4Validator() : Validator("IPV4") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:312:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
PositiveNumber() : Validator("POSITIVE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:329:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Number() : Validator("NUMBER") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:432:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::remove_reference<T>::type &smart_deref(T &value) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:436:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_set(const T &set) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:448:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_map(const T &map, bool key_only = false) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:514:87: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> typename std::enable_if<std::is_integral<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:529:71: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::enable_if<std::is_floating_point<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:743:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_case(std::string item) { return detail::to_lower(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:746:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_underscore(std::string item) { return detail::remove_underscore(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:749:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_space(std::string item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:872:51: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Number> static std::string generate_description(const std::string &name, Options opts) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:916:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> init_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:935:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> get_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:951:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::pair<std::string, std::string> split_program_name(std::string commandline) {
^
523 warnings and 1 error generated.
Error while processing TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/inter_argument_order.cpp.
Suppressed 256 warnings (254 in non-user code, 2 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).
[7/88] Building CXX object examples/CMakeFiles/simple.dir/simple.cpp.o
FAILED: examples/CMakeFiles/simple.dir/simple.cpp.o
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/cmake -E __run_co_compile --tidy=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/clang-tidy --source=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/simple.cpp -- TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ -ITOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -std=c++11 -MD -MT examples/CMakeFiles/simple.dir/simple.cpp.o -MF examples/CMakeFiles/simple.dir/simple.cpp.o.d -o examples/CMakeFiles/simple.dir/simple.cpp.o -c TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/simple.cpp
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/simple.cpp:3:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int main(int argc, char **argv) {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:46:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string simple(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:47:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string help(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:283:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *callback(std::function<void()> app_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:290:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *preparse_callback(std::function<void(size_t)> pp_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:296:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *name(std::string app_name = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:303:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:309:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *required(bool require = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:315:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:321:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled_by_default(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:328:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *enabled_by_default(bool enable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:334:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *immediate_callback(bool immediate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:340:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *validate_positionals(bool validate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:347:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_config_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:354:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *prefix_command(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:360:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_case(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:372:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_windows_style_options(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:378:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *positionals_at_end(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:384:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_underscore(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:396:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter(std::shared_ptr<FormatterBase> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:402:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter_fn(std::function<std::string(const App *, std::string, AppFormatMode)> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:408:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *config_formatter(std::shared_ptr<Config> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:414:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool parsed() const { return parsed_ > 0; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:417:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *option_defaults() { return &option_defaults_; }
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:437:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:473:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:490:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:494:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
auto fun = [func](CLI::results_t res) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:509:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:517:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name, T &option_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:523:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:557:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:581:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_flag(std::string flag_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:598:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_all_flag(std::string help_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:616:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *_add_flag_internal(std::string flag_name, CLI::callback_t fun, std::string flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:642:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name) { return _add_flag_internal(flag_name, CLI::callback_t(), std::string{}); }
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:650:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name, T &flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:658:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:680:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:698:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:713:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_callback(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:733:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_function(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:757:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:769:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:781:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:794:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:807:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:820:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:832:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:846:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:859:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:872:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:884:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:898:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:911:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:925:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:937:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:952:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:965:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_complex(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:996:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_config(std::string option_name = "",
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1017:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_option(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1040:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
T *add_option_group(std::string group_name, std::string group_description = "") {
~~~^
auto -> T *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1054:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(std::string subcommand_name = "", std::string subcommand_description = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1060:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(CLI::App_p subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1074:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_subcommand(App *subcom) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1090:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(App *subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1100:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(std::string subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1107:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(int index = 0) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1117:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(App *subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1127:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(std::string subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1135:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(int index = 0) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1145:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_option_group(std::string group_name) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1157:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return parsed_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1161:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count_all() const {
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1176:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *group(std::string group_name) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1182:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1191:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1204:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1211:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1220:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1233:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1241:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *fallthrough(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1372:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int exit(const Error &e, std::ostream &out = std::cout, std::ostream &err = std::cerr) const {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1401:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count(std::string option_name) const { return get_option(option_name)->count(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2695:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2711:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(App *subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2763:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string simple(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2782:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string help(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Config.hpp:18:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
ConfigINI::to_config(const App *app, bool default_also, bool write_description, std::string prefix) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:20:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ini_join(std::vector<std::string> args) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:53:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string fullname() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:67:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_config(const App *, bool, bool, std::string) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:73:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_flag(const ConfigItem &item) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:96:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string to_config(const App *, bool default_also, bool write_description, std::string prefix) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:68:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_exit_code() const { return actual_exit_code; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:70:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_name() const { return error_name; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:89:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction PositionalFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:92:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction Set0Opt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:95:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction SetFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:98:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction ChangeNotVector(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:101:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction AfterMultiOpt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:105:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MissingOption(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:108:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MultiOptionPolicy(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:117:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString OneCharName(std::string name) { return BadNameString("Invalid one char name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:118:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString BadLongName(std::string name) { return BadNameString("Bad long name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:119:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString DashesOnly(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:122:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString MultiPositionalNames(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:132:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Requires(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Excludes(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:152:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Success() : Success("Successfully completed, should be caught and quit", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:158:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForHelp() : CallForHelp("This should be caught in your main function, see examples", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:164:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForAllHelp()
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:178:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static FileError Missing(std::string name) { return FileError(name + " was not readable (missing?)"); }
~~~~~~~~~ ^
auto -> FileError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:189:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TooManyInputsFlag(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:192:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TrueFalse(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:208:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Subcommand(size_t min_subcom) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:215:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Option(size_t min_option, size_t max_option, size_t used, const std::string &option_list) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:249:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch AtLeast(std::string name, int num) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:252:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:255:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch FlagOverride(std::string name) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:288:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError Extras(std::string item) { return ConfigError("INI was not able to parse " + item); }
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:289:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError NotConfigurable(std::string item) {
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:14:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Formatter::make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:25:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_positionals(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:35:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_groups(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:59:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_description(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:85:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_usage(const App *app, std::string name) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:127:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_footer(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_help(const App *app, std::string name, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:159:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommands(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:199:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommand(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:205:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_expanded(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:222:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_name(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:229:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_opts(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:259:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_desc(const Option *opt) const { return opt->get_description(); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:261:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_usage(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:57:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_help(const App *, std::string, AppFormatMode) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:74:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_label(std::string key) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:82:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t get_column_width() const { return column_width_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:102:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *app, std::string name, AppFormatMode mode) const override {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:120:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:123:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_positionals(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:126:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_groups(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:129:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommands(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:132:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommand(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:135:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_expanded(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:138:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_footer(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:141:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_description(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:144:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_usage(const App *app, std::string name) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:147:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *, std::string, AppFormatMode) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:154:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:162:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_name(const Option *, bool) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:165:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_opts(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:168:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_desc(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:171:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_usage(const Option *opt) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:83:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *group(std::string name) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:89:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *required(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:95:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *mandatory(bool value = true) { return required(value); }
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:97:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *always_capture_default(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:105:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_group() const { return group_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:108:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_required() const { return required_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:111:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_case() const { return ignore_case_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:114:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_underscore() const { return ignore_underscore_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:117:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_configurable() const { return configurable_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:120:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_disable_flag_override() const { return disable_flag_override_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:123:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
char get_delimiter() const { return delimiter_; }
~~~~ ^
auto -> char
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:126:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_always_capture_default() const { return always_capture_default_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:129:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
MultiOptionPolicy get_multi_option_policy() const { return multi_option_policy_; }
~~~~~~~~~~~~~~~~~ ^
auto -> MultiOptionPolicy
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:134:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_last() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:141:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_first() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:148:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *join() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:155:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *configurable(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:161:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *delimiter(char value = '\0') {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:176:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:182:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_case(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:188:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_underscore(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:194:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *disable_flag_override(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:200:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *delimiter(char value = '\0') {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:307:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return results_.size(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:310:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t empty() const { return results_.empty(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:323:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *expected(int value) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:350:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:359:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(std::function<std::string(const std::string &)> validator,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:368:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:376:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(std::function<std::string(std::string)> func,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:392:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *each(std::function<void(std::string)> func) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:402:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator *get_validator(const std::string &validator_name = "") {
~~~~~~~~~~~^
auto -> Validator *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:414:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *needs(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:422:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *needs(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:430:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *needs(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:436:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_needs(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:448:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *excludes(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:461:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *excludes(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:469:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *excludes(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:475:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_excludes(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:487:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *envname(std::string name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:496:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_case(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:511:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_underscore(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:522:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:531:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *disable_flag_override(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:540:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_type_size() const { return type_size_; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:543:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_envname() const { return envname_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Optional.hpp:6:10: error: 'istream' file not found [clang-diagnostic-error]
#include <istream>
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:17:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_short(const std::string ¤t, std::string &name, std::string &rest) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:27:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_long(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:43:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_windows_style(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:59:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_names(std::string current) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:23:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::ostream &operator<<(std::ostream &in, const T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:30:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::istream &operator>>(std::istream &in, T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:45:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split(const std::string &s, char delim) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:61:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> inline std::string as_string(const T &v) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:73:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string join(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:89:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string join(const T &v, Callable func, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:102:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string rjoin(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:115:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:122:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:129:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:136:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:144:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str) { return ltrim(rtrim(str)); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:147:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str, const std::string filter) { return ltrim(rtrim(str, filter), filter); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:150:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:156:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:161:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ostream &format_help(std::ostream &out, std::string name, std::string description, size_t wid) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:179:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_first_char(T c) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:184:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_later_char(T c) { return valid_first_char(c) || c == '.' || c == '-'; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:187:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool valid_name_string(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:197:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool isalpha(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:202:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string to_lower(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:210:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string remove_underscore(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:216:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string find_and_replace(std::string str, std::string from, std::string to) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:229:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool has_default_flag_values(const std::string &flags) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:247:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ptrdiff_t find_member(std::string name,
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:278:49: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Callable> inline std::string find_and_modify(std::string str, std::string trigger, Callable modify) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:288:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_up(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:337:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string fix_newlines(std::string leader, std::string input) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:353:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline size_t escape_detect(std::string &str, size_t offset) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:366:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &add_quotes_if_needed(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:60:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &operation(std::function<std::string(std::string &)> op) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:66:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:81:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(const std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:87:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &description(std::string validator_desc) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:92:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_description() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:99:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &name(std::string validator_name) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:104:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_name() const { return name_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:106:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &active(bool active_val = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:112:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &non_modifying(bool no_modify = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:118:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_active() const { return active_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:121:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_modifying() const { return !non_modifying_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:125:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator&(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:149:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator|(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:171:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator!() const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:221:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingFileValidator() : Validator("FILE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:239:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingDirectoryValidator() : Validator("DIR") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:257:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingPathValidator() : Validator("PATH(existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:272:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
NonexistentPathValidator() : Validator("PATH(non-existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:287:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
IPV4Validator() : Validator("IPV4") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:312:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
PositiveNumber() : Validator("POSITIVE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:329:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Number() : Validator("NUMBER") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:432:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::remove_reference<T>::type &smart_deref(T &value) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:436:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_set(const T &set) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:448:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_map(const T &map, bool key_only = false) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:514:87: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> typename std::enable_if<std::is_integral<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:529:71: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::enable_if<std::is_floating_point<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:743:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_case(std::string item) { return detail::to_lower(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:746:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_underscore(std::string item) { return detail::remove_underscore(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:749:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_space(std::string item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:872:51: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Number> static std::string generate_description(const std::string &name, Options opts) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:916:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> init_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:935:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> get_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:951:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::pair<std::string, std::string> split_program_name(std::string commandline) {
^
523 warnings and 1 error generated.
Error while processing TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/simple.cpp.
Suppressed 256 warnings (254 in non-user code, 2 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).
[8/88] Building CXX object examples/CMakeFiles/validators.dir/validators.cpp.o
FAILED: examples/CMakeFiles/validators.dir/validators.cpp.o
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/cmake -E __run_co_compile --tidy=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/clang-tidy --source=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/validators.cpp -- TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native/usr/bin/i686-yoe-linux/i686-yoe-linux-clang++ -ITOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0=/usr/src/debug/cli11/1.9.0+gitAUTOINC+13becaddb6-r0 -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot= -fdebug-prefix-map=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -mlittle-endian -Qunused-arguments -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/recipe-sysroot -std=c++11 -MD -MT examples/CMakeFiles/validators.dir/validators.cpp.o -MF examples/CMakeFiles/validators.dir/validators.cpp.o.d -o examples/CMakeFiles/validators.dir/validators.cpp.o -c TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/validators.cpp
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/validators.cpp:3:5: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int main(int argc, char **argv) {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:46:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string simple(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:47:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string help(const App *app, const Error &e);
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:283:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *callback(std::function<void()> app_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:290:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *preparse_callback(std::function<void(size_t)> pp_callback) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:296:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *name(std::string app_name = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:303:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:309:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *required(bool require = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:315:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:321:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *disabled_by_default(bool disable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:328:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *enabled_by_default(bool enable = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:334:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *immediate_callback(bool immediate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:340:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *validate_positionals(bool validate = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:347:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_config_extras(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:354:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *prefix_command(bool allow = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:360:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_case(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:372:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *allow_windows_style_options(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:378:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *positionals_at_end(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:384:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *ignore_underscore(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:396:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter(std::shared_ptr<FormatterBase> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:402:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *formatter_fn(std::function<std::string(const App *, std::string, AppFormatMode)> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:408:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *config_formatter(std::shared_ptr<Config> fmt) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:414:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool parsed() const { return parsed_ > 0; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:417:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *option_defaults() { return &option_defaults_; }
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:437:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:473:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:490:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:494:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
auto fun = [func](CLI::results_t res) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:509:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:517:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name, T &option_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:523:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:557:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option_function(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:581:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_flag(std::string flag_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:598:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_help_all_flag(std::string help_name = "", const std::string &help_description = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:616:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *_add_flag_internal(std::string flag_name, CLI::callback_t fun, std::string flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:642:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name) { return _add_flag_internal(flag_name, CLI::callback_t(), std::string{}); }
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:650:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name, T &flag_description) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:658:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:680:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:698:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:713:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_callback(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:733:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_flag_function(std::string flag_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:757:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:769:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:781:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:794:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:807:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:820:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:832:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:846:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:859:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:872:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:884:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:898:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:911:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:925:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:937:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:952:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_mutable_set_ignore_case_underscore(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:965:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_complex(std::string option_name,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:996:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *set_config(std::string option_name = "",
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1017:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_option(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1040:8: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
T *add_option_group(std::string group_name, std::string group_description = "") {
~~~^
auto -> T *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1054:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(std::string subcommand_name = "", std::string subcommand_description = "") {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1060:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(CLI::App_p subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1074:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_subcommand(App *subcom) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1090:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(App *subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1100:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(std::string subcom) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1107:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_subcommand(int index = 0) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1117:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(App *subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1127:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(std::string subcom) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1135:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CLI::App_p get_subcommand_ptr(int index = 0) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1145:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *get_option_group(std::string group_name) const {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1157:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return parsed_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1161:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count_all() const {
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1176:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *group(std::string group_name) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1182:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1191:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1204:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_subcommand(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1211:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option() {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1220:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(int value) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1233:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *require_option(size_t min, size_t max) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1241:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *fallthrough(bool value = true) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1372:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int exit(const Error &e, std::ostream &out = std::cout, std::ostream &err = std::cerr) const {
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:1401:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count(std::string option_name) const { return get_option(option_name)->count(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2695:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *add_option(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2711:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
App *add_subcommand(App *subcom) {
~~~~~^
auto -> App *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2763:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string simple(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/App.hpp:2782:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string help(const App *app, const Error &e) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Config.hpp:18:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
ConfigINI::to_config(const App *app, bool default_also, bool write_description, std::string prefix) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:20:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ini_join(std::vector<std::string> args) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:53:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string fullname() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:67:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_config(const App *, bool, bool, std::string) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:73:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string to_flag(const ConfigItem &item) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/ConfigFwd.hpp:96:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string to_config(const App *, bool default_also, bool write_description, std::string prefix) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:68:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_exit_code() const { return actual_exit_code; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:70:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_name() const { return error_name; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:89:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction PositionalFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:92:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction Set0Opt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:95:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction SetFlag(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:98:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction ChangeNotVector(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:101:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction AfterMultiOpt(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:105:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MissingOption(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:108:34: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static IncorrectConstruction MultiOptionPolicy(std::string name) {
~~~~~~~~~~~~~~~~~~~~~ ^
auto -> IncorrectConstruction
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:117:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString OneCharName(std::string name) { return BadNameString("Invalid one char name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:118:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString BadLongName(std::string name) { return BadNameString("Bad long name: " + name); }
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:119:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString DashesOnly(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:122:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static BadNameString MultiPositionalNames(std::string name) {
~~~~~~~~~~~~~ ^
auto -> BadNameString
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:132:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Requires(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static OptionAlreadyAdded Excludes(std::string name, std::string other) {
~~~~~~~~~~~~~~~~~~ ^
auto -> OptionAlreadyAdded
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:152:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Success() : Success("Successfully completed, should be caught and quit", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:158:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForHelp() : CallForHelp("This should be caught in your main function, see examples", ExitCodes::Success) {}
^ ~~
= default;
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:164:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
CallForAllHelp()
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:178:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static FileError Missing(std::string name) { return FileError(name + " was not readable (missing?)"); }
~~~~~~~~~ ^
auto -> FileError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:189:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TooManyInputsFlag(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:192:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConversionError TrueFalse(std::string name) {
~~~~~~~~~~~~~~~ ^
auto -> ConversionError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:208:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Subcommand(size_t min_subcom) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:215:26: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static RequiredError Option(size_t min_option, size_t max_option, size_t used, const std::string &option_list) {
~~~~~~~~~~~~~ ^
auto -> RequiredError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:249:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch AtLeast(std::string name, int num) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:252:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch TypedAtLeast(std::string name, int num, std::string type) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:255:29: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ArgumentMismatch FlagOverride(std::string name) {
~~~~~~~~~~~~~~~~ ^
auto -> ArgumentMismatch
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:288:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError Extras(std::string item) { return ConfigError("INI was not able to parse " + item); }
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Error.hpp:289:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static ConfigError NotConfigurable(std::string item) {
~~~~~~~~~~~ ^
auto -> ConfigError
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:14:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Formatter::make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:25:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_positionals(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:35:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_groups(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:59:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_description(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:85:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_usage(const App *app, std::string name) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:127:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_footer(const App *app) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:135:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_help(const App *app, std::string name, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:159:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommands(const App *app, AppFormatMode mode) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:199:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_subcommand(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:205:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_expanded(const App *sub) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:222:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_name(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:229:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_opts(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:259:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_desc(const Option *opt) const { return opt->get_description(); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Formatter.hpp:261:31: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string Formatter::make_option_usage(const Option *opt) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:57:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_help(const App *, std::string, AppFormatMode) const = 0;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:74:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_label(std::string key) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:82:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t get_column_width() const { return column_width_; }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:102:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *app, std::string name, AppFormatMode mode) const override {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:120:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_group(std::string group, bool is_positional, std::vector<const Option *> opts) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:123:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_positionals(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:126:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_groups(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:129:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommands(const App *app, AppFormatMode mode) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:132:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_subcommand(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:135:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_expanded(const App *sub) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:138:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_footer(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:141:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_description(const App *app) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:144:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_usage(const App *app, std::string name) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:147:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string make_help(const App *, std::string, AppFormatMode) const override;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:154:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option(const Option *opt, bool is_positional) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:162:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_name(const Option *, bool) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:165:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_opts(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:168:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_desc(const Option *) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/FormatterFwd.hpp:171:25: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
virtual std::string make_option_usage(const Option *opt) const;
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:83:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *group(std::string name) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:89:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *required(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:95:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *mandatory(bool value = true) { return required(value); }
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:97:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *always_capture_default(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:105:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_group() const { return group_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:108:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_required() const { return required_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:111:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_case() const { return ignore_case_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:114:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_ignore_underscore() const { return ignore_underscore_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:117:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_configurable() const { return configurable_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:120:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_disable_flag_override() const { return disable_flag_override_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:123:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
char get_delimiter() const { return delimiter_; }
~~~~ ^
auto -> char
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:126:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_always_capture_default() const { return always_capture_default_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:129:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
MultiOptionPolicy get_multi_option_policy() const { return multi_option_policy_; }
~~~~~~~~~~~~~~~~~ ^
auto -> MultiOptionPolicy
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:134:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_last() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:141:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *take_first() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:148:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *join() {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:155:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *configurable(bool value = true) {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:161:11: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
CRTP *delimiter(char value = '\0') {
~~~~~~^
auto -> CRTP *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:176:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:182:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_case(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:188:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *ignore_underscore(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:194:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *disable_flag_override(bool value = true) {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:200:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
OptionDefaults *delimiter(char value = '\0') {
~~~~~~~~~~~~~~~~^
auto -> OptionDefaults *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:307:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t count() const { return results_.size(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:310:12: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
size_t empty() const { return results_.empty(); }
~~~~~~ ^
auto -> size_t
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:323:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *expected(int value) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:350:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:359:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *check(std::function<std::string(const std::string &)> validator,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:368:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(Validator validator, std::string validator_name = "") {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:376:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *transform(std::function<std::string(std::string)> func,
~~~~~~~~^
auto
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:392:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *each(std::function<void(std::string)> func) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:402:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator *get_validator(const std::string &validator_name = "") {
~~~~~~~~~~~^
auto -> Validator *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:414:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *needs(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:422:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *needs(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:430:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *needs(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:436:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_needs(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:448:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *excludes(Option *opt) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:461:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *excludes(std::string opt_name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:469:64: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename A, typename B, typename... ARG> Option *excludes(A opt, B opt1, ARG... args) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:475:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool remove_excludes(Option *opt) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:487:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *envname(std::string name) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:496:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_case(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:511:41: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T = App> Option *ignore_underscore(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:522:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *multi_option_policy(MultiOptionPolicy value = MultiOptionPolicy::Throw) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:531:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Option *disable_flag_override(bool value = true) {
~~~~~~~~^
auto -> Option *
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:540:9: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
int get_type_size() const { return type_size_; }
~~~ ^
auto -> int
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Option.hpp:543:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_envname() const { return envname_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Optional.hpp:6:10: error: 'istream' file not found [clang-diagnostic-error]
#include <istream>
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:17:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_short(const std::string ¤t, std::string &name, std::string &rest) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:27:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_long(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:43:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool split_windows_style(const std::string ¤t, std::string &name, std::string &value) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Split.hpp:59:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_names(std::string current) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:23:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::ostream &operator<<(std::ostream &in, const T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:30:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::istream &operator>>(std::istream &in, T &item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:45:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split(const std::string &s, char delim) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:61:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> inline std::string as_string(const T &v) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:73:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string join(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:89:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string join(const T &v, Callable func, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:102:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string rjoin(const T &v, std::string delim = ",") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:115:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:122:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string <rim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:129:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:136:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &rtrim(std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:144:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str) { return ltrim(rtrim(str)); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:147:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &trim(std::string &str, const std::string filter) { return ltrim(rtrim(str, filter), filter); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:150:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:156:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string trim_copy(const std::string &str, const std::string &filter) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:161:22: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ostream &format_help(std::ostream &out, std::string name, std::string description, size_t wid) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:179:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_first_char(T c) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:184:28: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> bool valid_later_char(T c) { return valid_first_char(c) || c == '.' || c == '-'; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:187:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool valid_name_string(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:197:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool isalpha(const std::string &str) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:202:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string to_lower(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:210:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string remove_underscore(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:216:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string find_and_replace(std::string str, std::string from, std::string to) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:229:13: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline bool has_default_flag_values(const std::string &flags) {
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:247:23: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::ptrdiff_t find_member(std::string name,
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:278:49: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Callable> inline std::string find_and_modify(std::string str, std::string trigger, Callable modify) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:288:33: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::vector<std::string> split_up(std::string str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:337:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string fix_newlines(std::string leader, std::string input) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:353:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline size_t escape_detect(std::string &str, size_t offset) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/StringTools.hpp:366:21: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string &add_quotes_if_needed(std::string &str) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:60:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &operation(std::function<std::string(std::string &)> op) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:66:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:81:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string operator()(const std::string &str) const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:87:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &description(std::string validator_desc) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:92:17: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
std::string get_description() const {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:99:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &name(std::string validator_name) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:104:24: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
const std::string &get_name() const { return name_; }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:106:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &active(bool active_val = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:112:16: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator &non_modifying(bool no_modify = true) {
~~~~~~~~~~~^
auto -> Validator &
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:118:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_active() const { return active_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:121:10: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
bool get_modifying() const { return !non_modifying_; }
~~~~ ^
auto -> bool
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:125:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator&(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:149:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator|(const Validator &other) const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:171:15: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
Validator operator!() const {
~~~~~~~~~ ^
auto -> Validator
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:221:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingFileValidator() : Validator("FILE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:239:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingDirectoryValidator() : Validator("DIR") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:257:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
ExistingPathValidator() : Validator("PATH(existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:272:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
NonexistentPathValidator() : Validator("PATH(non-existing)") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:287:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
IPV4Validator() : Validator("IPV4") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:312:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
PositiveNumber() : Validator("POSITIVE") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:329:5: warning: use '= default' to define a trivial default constructor [modernize-use-equals-default]
Number() : Validator("NUMBER") {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:432:42: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::remove_reference<T>::type &smart_deref(T &value) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:436:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_set(const T &set) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:448:35: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> std::string generate_map(const T &map, bool key_only = false) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:514:87: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename T> typename std::enable_if<std::is_integral<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:529:71: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
typename std::enable_if<std::is_floating_point<T>::value, bool>::type checked_multiply(T &a, T b) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:743:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_case(std::string item) { return detail::to_lower(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:746:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_underscore(std::string item) { return detail::remove_underscore(item); }
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:749:20: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::string ignore_space(std::string item) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:872:51: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
template <typename Number> static std::string generate_description(const std::string &name, Options opts) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:916:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> init_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:935:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
static std::map<std::string, result_t> get_mapping(bool kb_is_1000) {
^
TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/include/CLI/Validators.hpp:951:44: warning: use a trailing return type for this function [modernize-use-trailing-return-type]
inline std::pair<std::string, std::string> split_program_name(std::string commandline) {
^
523 warnings and 1 error generated.
Error while processing TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/git/examples/validators.cpp.
Suppressed 256 warnings (254 in non-user code, 2 NOLINT).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).
[9/88] Building CXX object extern/googletest/googlemock/gtest/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
[10/88] Building CXX object tests/CMakeFiles/TimerTest.dir/TimerTest.cpp.o
[11/88] Building CXX object tests/CMakeFiles/informational.dir/informational.cpp.o
[12/88] Building CXX object tests/CMakeFiles/link_test_2.dir/link_test_2.cpp.o
[13/88] Building CXX object tests/CMakeFiles/link_test_1.dir/link_test_1.cpp.o
[14/88] Building CXX object extern/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.cc.o
[15/88] Building CXX object tests/CMakeFiles/OptionalTest.dir/OptionalTest.cpp.o
[16/88] Building CXX object extern/googletest/googlemock/CMakeFiles/gmock.dir/__/googletest/src/gtest-all.cc.o
[17/88] Building CXX object extern/googletest/googlemock/gtest/CMakeFiles/gtest.dir/src/gtest-all.cc.o
[18/88] Building CXX object tests/CMakeFiles/TrueFalseTest.dir/TrueFalseTest.cpp.o
[19/88] Building CXX object tests/CMakeFiles/SimpleTest.dir/SimpleTest.cpp.o
[20/88] Building CXX object tests/CMakeFiles/StringParseTest.dir/StringParseTest.cpp.o
[21/88] Building CXX object tests/CMakeFiles/FormatterTest.dir/FormatterTest.cpp.o
[22/88] Building CXX object tests/CMakeFiles/HelpersTest.dir/HelpersTest.cpp.o
[23/88] Building CXX object tests/CMakeFiles/IniTest.dir/IniTest.cpp.o
[24/88] Building CXX object tests/CMakeFiles/CreationTest.dir/CreationTest.cpp.o
[25/88] Building CXX object tests/CMakeFiles/NewParseTest.dir/NewParseTest.cpp.o
[26/88] Building CXX object tests/CMakeFiles/OptionGroupTest.dir/OptionGroupTest.cpp.o
[27/88] Building CXX object tests/CMakeFiles/DeprecatedTest.dir/DeprecatedTest.cpp.o
[28/88] Building CXX object tests/CMakeFiles/HelpTest.dir/HelpTest.cpp.o
[29/88] Building CXX object tests/CMakeFiles/SubcommandTest.dir/SubcommandTest.cpp.o
[30/88] Building CXX object tests/CMakeFiles/SetTest.dir/SetTest.cpp.o
[31/88] Building CXX object tests/CMakeFiles/TransformTest.dir/TransformTest.cpp.o
[32/88] Building CXX object tests/CMakeFiles/AppTest.dir/AppTest.cpp.o
ninja: build stopped: subcommand failed.
WARNING: TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/temp/run.do_compile.2671:1 exit 1 from 'eval ${DESTDIR:+DESTDIR=${DESTDIR} } cmake --build 'TOPDIR/build/tmp/work/core2-32-yoe-linux/cli11/1.9.0+gitAUTOINC+13becaddb6-r0/build' "$@" -- ${EXTRA_OECMAKE_BUILD}'