[PATCH] D21847: [Driver][OpenMP] Build jobs for OpenMP offloading actions for targets using gcc tool chains.

Alexey Bataev via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 29 21:21:32 PDT 2016


ABataev added inline comments.

================
Comment at: lib/Driver/Tools.cpp:297
@@ +296,3 @@
+  StringRef Name = llvm::sys::path::filename(Output.getFilename());
+  StringRef Prefix = Name.rsplit('.').first;
+  if (C.getDriver().isSaveTempsEnabled()) {
----------------
Use llvm::sys::path::replace_extension()


http://reviews.llvm.org/D21847





More information about the cfe-commits mailing list