mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-01 22:53:29 +00:00
[mlir] Apply ClangTidy fix (NFC)
redundant get() call on smart pointer.
This commit is contained in:
parent
380fd8201d
commit
7d6fb14057
@ -926,7 +926,7 @@ public:
|
||||
// bytecode version from the version buffer if it wasn't already processed.
|
||||
// Return failure if either of those two actions could not be completed.
|
||||
if (failed(dialectEntry->getValue()->load(*this, getLoc().getContext())) ||
|
||||
dialectEntry->getValue()->loadedVersion.get() == nullptr)
|
||||
dialectEntry->getValue()->loadedVersion == nullptr)
|
||||
return failure();
|
||||
return dialectEntry->getValue()->loadedVersion.get();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user