[clang] [Clang][Comments] Add argument parsing for @throw @throws @exception (PR #84726)

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 6 06:01:48 PDT 2024


================
@@ -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


More information about the cfe-commits mailing list