Clang-tidy is reporting a warning of redundant string initialisation
on a string parameter initialized with empty string.
See bug: 27087
The reported example is:
#include <string> void fn(std::string a = "");
Differential D18829
[clang-tidy] Fix FP with readability-redundant-string-init for default arguments etienneb on Apr 6 2016, 8:38 AM. Authored by
Details
Clang-tidy is reporting a warning of redundant string initialisation See bug: 27087 The reported example is: #include <string> void fn(std::string a = "");
Diff Detail |