thieta added inline comments.

================
Comment at: clang/include/clang/Driver/Options.td:834
 def Xoffload_linker : JoinedAndSeparate<["-"], "Xoffload-linker">,
-  HelpText<"Pass <arg> to the offload linkers or the ones idenfied by 
-<triple>">, 
+  HelpText<"Pass <arg> to the offload linkers or the ones idenfied by 
-<triple>">,
   MetaVarName<"<triple> <arg>">, Group<Link_Group>;
----------------
Whops. My editor strikes again and removes a trailing space. Let me know if I 
should edit this out of this commit.


================
Comment at: clang/lib/Driver/Driver.cpp:5629
+  if ((JA.getType() == types::TY_Object || JA.getType() == types::TY_LTO_BC ||
+       JA.getType() == types::TY_AST || JA.getType() == types::TY_Plist) &&
       C.getArgs().hasArg(options::OPT__SLASH_Fo, options::OPT__SLASH_o)) {
----------------
I do wonder if this limitation here is really wanted. It makes clang-cl behave 
a bit different from clang/clang++. I can also split this part out in it's own 
commit if we feel like it's necessary.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128409/new/

https://reviews.llvm.org/D128409

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to