================

----------------
owenca wrote:

Add something like the following before `if (FormatTok->is(tok::colon))`:
```suggestion
    if (FormatTok->is(TT_AttributeMacro)) {
      nextToken();
      continue;
    }

    if (IsCpp && FormatTok->is(tok::l_square)) {
      if (handleCppAttributes())
        continue;
      return false;
    }

    if (FormatTok->is(tok::colon))
```

https://github.com/llvm/llvm-project/pull/227461
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to