Hahnfeld added a comment. A different approach would be to completely replace the type in `Driver::ConstructPhaseAction` but
1. this was previously considered a too radical change, 2. we currently don't have the necessary information (ToolChain, OffloadKind) to take that decision, 3. this might break in subtle places that compare the type with `TY_Object`. https://reviews.llvm.org/D40250 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits