[PATCH] D111545: [Clang][NFC] Fix multiline comment prefixes in function headers
Saiyedul Islam via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 11 06:54:12 PDT 2021
saiislam created this revision.
saiislam added a reviewer: MyDeveloperDay.
Herald added subscribers: kerbowa, nhaehnle, jvesely.
saiislam requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Cleanup of D105191 <https://reviews.llvm.org/D105191> after latest clang-format changes.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D111545
Files:
clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
clang/lib/Driver/ToolChains/Cuda.cpp
Index: clang/lib/Driver/ToolChains/Cuda.cpp
===================================================================
--- clang/lib/Driver/ToolChains/Cuda.cpp
+++ clang/lib/Driver/ToolChains/Cuda.cpp
@@ -744,8 +744,8 @@
addOpenMPDeviceRTL(getDriver(), DriverArgs, CC1Args, BitcodeSuffix,
getTriple());
- AddStaticDeviceLibsPostLinking(getDriver(), DriverArgs, CC1Args, "nvptx", GpuArch,
- /* bitcode SDL?*/ true, /* PostClang Link? */ true);
+ AddStaticDeviceLibsPostLinking(getDriver(), DriverArgs, CC1Args, "nvptx",
+ GpuArch, true, true);
}
}
Index: clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
===================================================================
--- clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
+++ clang/lib/Driver/ToolChains/AMDGPUOpenMP.cpp
@@ -115,9 +115,7 @@
}
AddStaticDeviceLibsLinking(C, *this, JA, Inputs, Args, CmdArgs, "amdgcn",
- SubArchName,
- /* bitcode SDL?*/ true,
- /* PostClang Link? */ false);
+ SubArchName, true, false);
// Add an intermediate output file.
CmdArgs.push_back("-o");
const char *OutputFileName =
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111545.378649.patch
Type: text/x-patch
Size: 1254 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211011/a71c8d05/attachment-0001.bin>
More information about the cfe-commits
mailing list