[clang] 06404d5 - [Clang][OpenMP] Fix windows buildbot failure for D105191
Saiyedul Islam via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 6 22:55:41 PDT 2021
Author: Saiyedul Islam
Date: 2021-10-07T05:54:56Z
New Revision: 06404d5488ea505b00f711393973db3ae32d01e9
URL: https://github.com/llvm/llvm-project/commit/06404d5488ea505b00f711393973db3ae32d01e9
DIFF: https://github.com/llvm/llvm-project/commit/06404d5488ea505b00f711393973db3ae32d01e9.diff
LOG: [Clang][OpenMP] Fix windows buildbot failure for D105191
Fixes 4c4117089599cb5b6c6fa5635c28462ffd1bddf4.
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 65dfe0ae0221d..8f0082dcadc56 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 (uint ArgIndex = 0; ArgIndex < TCArgs.size(); ArgIndex++) {
+ for (unsigned 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