[PATCH] D19865: [clang-tidy] - PerformanceUnnecesaryCopyInitialization - only trigger for decl stmts with single VarDecl.

Felix Berger via cfe-commits cfe-commits at lists.llvm.org
Tue May 3 07:54:26 PDT 2016


flx added a comment.

In http://reviews.llvm.org/D19865#419830, @alexfh wrote:

> Is it a workaround to avoid breaking the code by incorrect fixes?


Yes. We can't simply change the type of DeclStmt when we only look one of the VarDecls and how it is initialized.


Repository:
  rL LLVM

http://reviews.llvm.org/D19865





More information about the cfe-commits mailing list