================
@@ -90,6 +90,12 @@ static bool isCppAttribute(bool IsCpp, const FormatToken
&Tok) {
// The first square bracket is part of an ObjC array literal
if (Tok.Previous && Tok.Previous->is(tok::at))
return false;
+ // A C++ attribute specifier '[[...]]' never appears directly inside another
----------------
HazardyKnusperkeks wrote:
Way less, or even no comment.
https://github.com/llvm/llvm-project/pull/199103
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits