mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 19:49:36 +00:00
Apply clang-tidy fixes for llvm-else-after-return in OpPythonBindingGen.cpp (NFC)
This commit is contained in:
parent
d8c46eb612
commit
5d93d2a9eb
@ -904,8 +904,7 @@ static void emitDefaultOpBuilder(const Operator &op, raw_ostream &os) {
|
||||
return (nattr->attr.isOptional() || nattr->attr.hasDefaultValue());
|
||||
if (auto *ntype = a.dyn_cast<NamedTypeConstraint *>())
|
||||
return ntype->isOptional();
|
||||
else
|
||||
return false;
|
||||
return false;
|
||||
};
|
||||
|
||||
// StringRefs in functionArgs refer to strings allocated by builderArgs.
|
||||
|
Loading…
Reference in New Issue
Block a user