[PATCH] D93839: [clang-format] PR48594 BraceWrapping: SplitEmptyRecord ignored for templates

Leonard Chan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 26 13:18:04 PST 2021


leonardchan added a comment.

In D93839#2523703 <https://reviews.llvm.org/D93839#2523703>, @curdeius wrote:

> That's definitely an unintended behaviour. Please file a bug and possibly mark it as release blocker for LLVM 12. Either a fix will be there soon, or we'll revert.
>
> FYI, simple reproduce:
>
>   verifyFormat("#include <stdint.h>\n"
>                "namespace rep {}",
>                Style);
>
> The problem doesn't happen with `#include "stdint.h"`.

Thanks for looking into this. I filed https://bugs.llvm.org/show_bug.cgi?id=48891.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93839/new/

https://reviews.llvm.org/D93839



More information about the cfe-commits mailing list