// they are going to have any effect at all. For precompiled headers this
// might not be the case.
if (!direct_mode && !output_is_precompiled_header
- && !using_precompiled_header) {
+ && !ctx.args_info.using_precompiled_header) {
if (compopt_affects_cpp(args->argv[i])) {
if (compopt_takes_arg(args->argv[i])) {
i++;
}
output_is_precompiled_header = ctx.args_info.output_is_precompiled_header;
- using_precompiled_header = ctx.args_info.using_precompiled_header;
arch_args_size = ctx.args_info.arch_args_size;
for (size_t i = 0; i < ctx.args_info.arch_args_size; ++i) {
// should hard-depend on it if possible.
enum guessed_compiler guessed_compiler = GUESSED_UNKNOWN;
-// Whether we are using a precompiled header (either via -include, #include or
-// clang's -include-pch or -include-pth).
-bool using_precompiled_header = false;
-
// The .gch/.pch/.pth file used for compilation.
char* included_pch_file = nullptr;