[clang] [Clang] use colon char instead of token name (PR #144068)

Ross Kirsling via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 13 07:48:36 PDT 2025


rkirsling wrote:

I believe I'd need somebody to hit the merge button for me regardless, so I think we can just merge whichever one and close the other. 😅 The two approaches are mostly the same, I just figured that the surrounding code was consistent in using a literal `":"`, while there doesn't seem to be a precedent for using `tok::getPunctuatorSpelling` with a constant.

Either way, sorry to cause a run-around!

https://github.com/llvm/llvm-project/pull/144068


More information about the cfe-commits mailing list