Extra parentheses around a new expression result in incorrect code
after applying fixes.
Details
Details
Diff Detail
Diff Detail
- Repository
- rCTE Clang Tools Extra
- Build Status
Buildable 23556 Build 23555: arc lint + arc unit
Event Timeline
Comment Actions
Thanks for fixing it. It looks much simpler than I thought originally.
Looks good, just a few nits.
clang-tidy/modernize/MakeSmartPtrCheck.cpp | ||
---|---|---|
246 | nit: I'd use auto to avoid this long type name, the type is clear to me, it is a lambda function. | |
250 | nit: we can easily avoid the recursive call by using while here, I think. |
nit: I'd use auto to avoid this long type name, the type is clear to me, it is a lambda function.