From: Joel Rosdahl Date: Sat, 2 May 2020 11:05:18 +0000 (+0200) Subject: Improve ordering of ArgumentProcessingState members X-Git-Tag: v4.0~505 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6e77c16a882b5b5b752220ed5081614af3b84b6e;p=thirdparty%2Fccache.git Improve ordering of ArgumentProcessingState members --- diff --git a/src/argprocessing.cpp b/src/argprocessing.cpp index 85934699e..bb6b83589 100644 --- a/src/argprocessing.cpp +++ b/src/argprocessing.cpp @@ -36,6 +36,10 @@ struct ArgumentProcessingState bool found_S_opt = false; bool found_pch = false; bool found_fpch_preprocess = false; + bool found_color_diagnostics = false; + bool found_directives_only = false; + bool found_rewrite_includes = false; + const char* explicit_language = nullptr; // As specified with -x. const char* file_language = nullptr; // As deduced from file extension. const char* input_charset = nullptr; @@ -72,10 +76,6 @@ struct ArgumentProcessingState // compiler_only_args contains arguments that should only be passed to the // compiler, not the preprocessor. Args compiler_only_args; - - bool found_color_diagnostics = false; - bool found_directives_only = false; - bool found_rewrite_includes = false; }; bool