[clang] 3eb44f4 - Revert "[Clang][OpenMP] Fix windows buildbot failure for D105191"
Saiyedul Islam via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 7 07:13:56 PDT 2021
Author: Saiyedul Islam
Date: 2021-10-07T14:13:24Z
New Revision: 3eb44f4d28df3d9e9528b8b9f8f6b93ab4c2af67
URL: https://github.com/llvm/llvm-project/commit/3eb44f4d28df3d9e9528b8b9f8f6b93ab4c2af67
DIFF: https://github.com/llvm/llvm-project/commit/3eb44f4d28df3d9e9528b8b9f8f6b93ab4c2af67.diff
LOG: Revert "[Clang][OpenMP] Fix windows buildbot failure for D105191"
This reverts commit 06404d5488ea505b00f711393973db3ae32d01e9.
Added:
Modified:
clang/lib/Driver/ToolChains/Clang.cpp
Removed:
################################################################################
diff --git a/clang/lib/Driver/ToolChains/Clang.cpp b/clang/lib/Driver/ToolChains/Clang.cpp
index 8f0082dcadc56..65dfe0ae0221d 100644
--- a/clang/lib/Driver/ToolChains/Clang.cpp
+++ b/clang/lib/Driver/ToolChains/Clang.cpp
@@ -7839,7 +7839,7 @@ void OffloadBundler::ConstructJobMultipleOutputs(
StringRef GPUArchName;
if (Dep.DependentOffloadKind == Action::OFK_OpenMP) {
// Extract GPUArch from -march argument in TC argument list.
- for (unsigned ArgIndex = 0; ArgIndex < TCArgs.size(); ArgIndex++) {
+ for (uint ArgIndex = 0; ArgIndex < TCArgs.size(); ArgIndex++) {
StringRef ArchStr = StringRef(TCArgs.getArgString(ArgIndex));
auto Arch = ArchStr.startswith_insensitive("-march=");
if (Arch) {
More information about the cfe-commits
mailing list