swift
76578ee7
- [cxx-interop] Minor refactoring: remove a redundant check
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
1 year ago
[cxx-interop] Minor refactoring: remove a redundant check `cast<CustomAttr>` never returns nullptr, it either returns a non-null `CustomAttr*` or traps. This if condition was triggering a clang-tidy warning, since it is redundant.
References
#75099 - [cxx-interop] Minor refactoring: remove a redundant check
Author
egorzhdan
Parents
14f39bec
Loading