Skip to content

Commit 867678d

Browse files
committed
Apply clang-tidy fixes for llvm-qualified-auto in Target.cpp (NFC)
1 parent 1f97219 commit 867678d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Target/LLVM/NVVM/Target.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ NVPTXSerializer::compileToBinary(const std::string &ptxCode) {
328328
"--opt-level", optLevel});
329329

330330
bool useFatbin32 = false;
331-
for (auto cArg : cmdOpts.second) {
331+
for (const auto *cArg : cmdOpts.second) {
332332
// All `cmdOpts` are for `ptxas` except `-32` which passes `-32` to
333333
// `fatbinary`, indicating a 32-bit target. By default a 64-bit target is
334334
// assumed.

0 commit comments

Comments
 (0)