[PATCH] D140956: [clang-format] Add an option for breaking after C++11 attributes
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 10 04:54:27 PST 2023
MyDeveloperDay added a comment.
Before
M=0 C=0 T=Unknown S=1 F=0 B=0 BK=0 P=0 Name=identifier L=25 PPK=2 FakeLParens= FakeRParens=0 II=0x1aa92d99900 Text='aaaaaaaaaaaaaaaaaaaaaaaaa'
M=0 C=0 T=TemplateOpener S=0 F=0 B=0 BK=0 P=30 Name=less L=26 PPK=2 FakeLParens= FakeRParens=0 II=0x0 Text='<'
M=0 C=1 T=Unknown S=0 F=0 B=0 BK=0 P=360 Name=identifier L=37 PPK=2 FakeLParens= FakeRParens=0 II=0x1aa92d99938 Text='bbbbbbbbbbb'
M=0 C=0 T=TemplateCloser S=0 F=0 B=0 BK=0 P=270 Name=greater L=38 PPK=2 FakeLParens= FakeRParens=0 II=0x0 Text='>'
M=0 C=1 T=PointerOrReference S=1 F=0 B=0 BK=0 P=210 Name=amp L=40 PPK=2 FakeLParens= FakeRParens=0 II=0x0 Text='&'
M=0 C=1 T=FunctionDeclarationName S=0 F=0 B=0 BK=0 P=220 Name=identifier L=78 PPK=2 FakeLParens= FakeRParens=0 II=0x1aa92d99988 Text='cccccccccccccccccccccccccccccccccccccc'
After
M=0 C=0 T=Unknown S=1 F=0 B=0 BK=0 P=0 Name=identifier L=25 PPK=2 FakeLParens= FakeRParens=0 II=0x206f1adc870 Text='aaaaaaaaaaaaaaaaaaaaaaaaa'
M=0 C=0 T=TemplateOpener S=0 F=0 B=0 BK=0 P=30 Name=less L=26 PPK=2 FakeLParens= FakeRParens=0 II=0x0 Text='<'
M=0 C=1 T=Unknown S=0 F=0 B=0 BK=0 P=360 Name=identifier L=37 PPK=2 FakeLParens= FakeRParens=0 II=0x206f1adc8a8 Text='bbbbbbbbbbb'
M=0 C=0 T=TemplateCloser S=0 F=0 B=0 BK=0 P=270 Name=greater L=38 PPK=2 FakeLParens= FakeRParens=0 II=0x0 Text='>'
M=0 C=0 T=PointerOrReference S=1 F=0 B=0 BK=0 P=210 Name=amp L=40 PPK=2 FakeLParens= FakeRParens=0 II=0x0 Text='&'
M=0 C=1 T=FunctionDeclarationName S=0 F=0 B=0 BK=0 P=220 Name=identifier L=78 PPK=2 FakeLParens= FakeRParens=0 II=0x206f1adc8f8 Text='cccccccccccccccccccccccccccccccccccccc'
Looks like the "C" (Can Break?) goes from 1->0
"M=0 C=0 T=PointerOrReference"
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140956/new/
https://reviews.llvm.org/D140956
More information about the cfe-commits
mailing list