Eugene.Zelenko added a comment.

Isn't such analysis is path-sensitive and should be implemented in Static 
Analyzer?

Please mention this check in docs/ReleaseNotes.rst (in alphabetical order).



================
Comment at: 
docs/clang-tidy/checks/performance-inefficient-vector-operation.rst:6
+
+Finds possible inefficient vector push_back operation that causes unnecessary
+memory reallocation.
----------------
I think will be good idea to use std::vector, and enclose it and push_back in 
``.


https://reviews.llvm.org/D31757



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to