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
Event Timeline
clang-tidy/google/NamedParameterCheck.cpp | ||
---|---|---|
81 | I'd make NewName a StringRef which stores the name or "unused", and add " /*" and "*/" when issuing a fixit. |
I'd make NewName a StringRef which stores the name or "unused", and add " /*" and "*/" when issuing a fixit.