[clang] [clang-format] Handle templates in qualified typenames (PR #143194)

Björn Schäpers via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 12 01:57:49 PDT 2025


================
@@ -3651,6 +3674,21 @@ static FormatToken *getFunctionName(const AnnotatedLine &Line,
       continue;
     }
 
+    // Skip past template typename declarations that may precede the
+    // constructor/destructor name
----------------
HazardyKnusperkeks wrote:

```suggestion
    // Skip past template typename declarations that may precede the
    // constructor/destructor name.
```
Comments end in full stop.

https://github.com/llvm/llvm-project/pull/143194


More information about the cfe-commits mailing list