[clang] [Clang] [NFC] Introduce factory functions for `Token` (PR #229254)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 6 02:01:58 PDT 2026
================
@@ -192,6 +192,34 @@ class Token {
Loc = SourceLocation().getRawEncoding();
}
+ static Token Create(tok::TokenKind Kind, SourceLocation Loc,
----------------
cor3ntin wrote:
We have a lot more capitalized functions than not, this is consistent with existing style
https://github.com/llvm/llvm-project/pull/229254
More information about the cfe-commits
mailing list