Existing 'modernize-pass-by-value' check works only with non template values in initializers.
Now we also skip cases when the value has type 'TemplateSpecializedType' inside 'cxxConstructExpr'.
Details
Details
- Reviewers
aaron.ballman alexfh
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Happy to do so, but you may want to consider getting git access yourself as you've authored quite a few patches. For more information: https://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access
I've commit this on your behalf in 365c99fd7d5461be902a5cec54d773cb82b56101