[PATCH] D107961: [clang-format] Distinguish K&R C function definition and attribute
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 13 09:49:05 PDT 2021
MyDeveloperDay added inline comments.
================
Comment at: clang/unittests/Format/FormatTest.cpp:8258
+ verifyFormat("bool f(int a, int) override;\n"
+ "Bar g(int a, Bar) final; // comment",
+ Style);
----------------
can you check with out the comment and without a having a type (I know it shocking code) but just want to be sure.
```
Bar g(int a, Bar) final;
Bar g(a, Bar) final;
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107961/new/
https://reviews.llvm.org/D107961
More information about the cfe-commits
mailing list