forked from OSchip/llvm-project
Replace dyn_cast<>() with isa<>() when the result isn't used (NFC)
Fixed warning reported by some GCC version.
This commit is contained in:
parent
f9bb101d39
commit
a09bb6d77b
|
@ -315,7 +315,7 @@ void tblgen::Operator::populateTypeInferenceInfo(
|
|||
continue;
|
||||
}
|
||||
|
||||
if (auto *attr = getArg(*mi).dyn_cast<NamedAttribute *>()) {
|
||||
if (getArg(*mi).isa<NamedAttribute *>()) {
|
||||
// TODO: Handle attributes.
|
||||
continue;
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue