Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
| clang-tidy/readability/RedundantStringInitCheck.cpp | ||
|---|---|---|
| 26 ↗ | (On Diff #48997) | nit: ast_matchers:: can be omitted. |
| 54 ↗ | (On Diff #48997) | ditto |
| test/clang-tidy/readability-redundant-string-init.cpp | ||
| 1 ↗ | (On Diff #48997) | 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 ↗ | (On Diff #49108) | 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.