Previously, function(nullptr) would have been fixed with function({}). This unfortunately can change overload resolution and even become ambiguous. T(nullptr) was already being fixed with T(""), so this change just brings function calls in line with that.
Details
Details
- Reviewers
- None
- Commits
- rGa5684114445a: [clang-tidy] Update bugprone-stringview-nullptr to consistently prefer the…
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo