================
@@ -89,6 +89,31 @@ class TextTokenRetokenizer {
     }
   }
 
+  /// Extract a template type
+  bool lexTemplate(SmallString<32> &WordText) {
----------------
AaronBallman wrote:

This should work okay for simple (most) cases, but we should have tests showing 
the boundaries, e.g., `Foo<(1 > 0)>` or a typo like `Foo<Bar<T>` etc.

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

Reply via email to