================ @@ -4417,7 +4417,8 @@ void Driver::BuildActions(Compilation &C, DerivedArgList &Args, // Use the -mcpu=? flag as the dummy input to cc1. Actions.clear(); - Action *InputAc = C.MakeAction<InputAction>(*A, types::TY_C); + Action *InputAc = C.MakeAction<InputAction>( + *A, IsFlangMode() ? types::TY_Fortran : types::TY_C); ---------------- banach-space wrote:
Unrelated change? https://github.com/llvm/llvm-project/pull/117199 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits