[clang] [clang-format] Handle templated elaborated type specifier in function… (PR #77013)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 4 17:13:35 PST 2024
================
@@ -3914,7 +3914,15 @@ void UnwrappedLineParser::parseRecord(bool ParseAsExpr) {
// (this would still leave us with an ambiguity between template function
// and class declarations).
if (FormatTok->isOneOf(tok::colon, tok::less)) {
----------------
XDeme wrote:
I've updated the patch because I forgot about the case of template specializations.
Template specializations should be OK now.
https://github.com/llvm/llvm-project/pull/77013
More information about the cfe-commits
mailing list