================
@@ -148,6 +158,32 @@ class AnnotatingParser {
     }
   }
 
+  const FormatStyle::FunctionDeclarationWithKeywords *
+  findFunctionWithKeywordedParameters() const {
+    const FormatToken *TokBeforeFirstLParent{};
+    for (const FormatToken *T = Line.First; T != Line.Last; T = T->Next) {
+      if (T->TokenText == StringRef("(", 1)) {
----------------
zeule wrote:

I have to check `T->Tok`, which `Kind` is `tok::l_paren`, rather than `T` 
itself. Thank you!

https://github.com/llvm/llvm-project/pull/131605
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to