Skip to content

Commit 2d63354

Browse files
committed
Apply clang-tidy fixes for llvm-qualified-auto in OpenMPToLLVMIRTranslation.cpp (NFC)
1 parent f9735be commit 2d63354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1271,7 +1271,7 @@ convertOmpThreadprivate(Operation &opInst, llvm::IRBuilderBase &builder,
12711271
auto threadprivateOp = cast<omp::ThreadprivateOp>(opInst);
12721272

12731273
Value symAddr = threadprivateOp.sym_addr();
1274-
auto symOp = symAddr.getDefiningOp();
1274+
auto *symOp = symAddr.getDefiningOp();
12751275
if (!isa<LLVM::AddressOfOp>(symOp))
12761276
return opInst.emitError("Addressing symbol not found");
12771277
LLVM::AddressOfOp addressOfOp = dyn_cast<LLVM::AddressOfOp>(symOp);

0 commit comments

Comments
 (0)