NamedDecl::getName() asserts the name must be an identifier.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clangd/unittests/RenameTests.cpp | ||
---|---|---|
949 | This case seems a little *too* special: you might consider -(int) foo:(int)x; or so to make it clearer why this isn't an ordinary name. I'd also make the comment a bit more specific: "Token is an identifier, but declaration name isn't a simple identifier". |
This case seems a little *too* special: you might consider -(int) foo:(int)x; or so to make it clearer why this isn't an ordinary name.
I'd also make the comment a bit more specific: "Token is an identifier, but declaration name isn't a simple identifier".