Fix clang-tidy readability-redundant-smartptr-get in MLIR ModuleTranslation.cpp (NFC)

This commit is contained in:
Mehdi Amini 2022-01-08 20:06:50 +00:00
parent 651c73b8d1
commit 18eb681821
1 changed files with 1 additions and 1 deletions

View File

@ -629,7 +629,7 @@ LogicalResult ModuleTranslation::convertGlobals() {
llvm::Function *f = lookupFunction(
std::get<0>(symbolAndPriority).cast<FlatSymbolRefAttr>().getValue());
appendGlobalFn(
*llvmModule.get(), f,
*llvmModule, f,
std::get<1>(symbolAndPriority).cast<IntegerAttr>().getInt(),
/*Data=*/nullptr);
}