Details
Details
Diff Detail
Diff Detail
Event Timeline
| clang-tidy/readability/RedundantStringInitCheck.cpp | ||
|---|---|---|
| 27 | nit: ast_matchers:: can be omitted. | |
| 55 | ditto | |
| test/clang-tidy/readability-redundant-string-init.cpp | ||
| 2 | Please add test cases with:
#define M(x) x
M({ std::string a = ""; })
#define M2 { std::string b = ""; }
M2;
M2; | |
| test/clang-tidy/readability-redundant-string-init.cpp | ||
|---|---|---|
| 69 | Please add a CHECK-FIXES to ensure the macro definition hasn't changed and that the macro invocations below are intact. | |
Comment Actions
Sorry for arriving late to party :-)
Thank you for great check! I found a quite lot of such problems in my code base, but I'd like to make suggestion for further improvements: PR26756.
nit: ast_matchers:: can be omitted.