================ @@ -89,6 +89,31 @@ class TextTokenRetokenizer { } } + /// Extract a template type + bool lexTemplate(SmallString<32> &WordText) { + unsigned IncrementCounter = 0; + while (!isEnd()) { + const char C = peek(); + WordText.push_back(C); + consumeChar(); ---------------- hdoc wrote:
I would prefer to do that as a separate refactor PR, I think it's outside the scope of this change. https://github.com/llvm/llvm-project/pull/84726 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits