This allows us to copy the parameter name from the definition (as a comment)
or insert /*unused*/ in both places.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
clang-tidy/google/NamedParameterCheck.cpp | ||
---|---|---|
81 ↗ | (On Diff #12151) | I'd make NewName a StringRef which stores the name or "unused", and add " /*" and "*/" when issuing a fixit. |