llvm/llvm-project
Ver no GitHubinclude/clang/Tooling/Refactoring/Rename/RenamingAction.h:79]: (performance)
Open
#34.652 aberto em 14 de nov. de 2017
bugzillaclang:toolingconfirmedgood first issue
Métricas do repositório
- Stars
- (26.378 stars)
- Métricas de merge de PR
- (Mesclagem média 1d 2h) (1.000 fundiu PRs em 30d)
Description
| Bugzilla Link | 35304 |
| Version | trunk |
| OS | Linux |
| Reporter | LLVM Bugzilla Contributor |
| CC | @JoeLoser |
Extended Description
trunk/llvm/tools/clang/include/clang/Tooling/Refactoring/Rename/RenamingAction.h:79]: (performance) Function parameter 'NewQualifiedName' should be passed by reference.
Source code is
QualifiedRenameRule(const NamedDecl *ND, std::string NewQualifiedName)
Maybe better code
QualifiedRenameRule(const NamedDecl *ND, const std::string & NewQualifiedName)