[clang] [Clang][Comments] Add argument parsing for @throw @throws @exception (PR #84726)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 3 01:10:41 PDT 2024
================
@@ -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();
----------------
cor3ntin wrote:
It would be nice to modify `consumeChar` to return the consumed char
https://github.com/llvm/llvm-project/pull/84726
More information about the cfe-commits
mailing list