forked from OSchip/llvm-project
Fix clang-tidy readability-redundant-smartptr-get in MLIR ModuleTranslation.cpp (NFC)
This commit is contained in:
parent
651c73b8d1
commit
18eb681821
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue