diff options
| author | Krasimir Georgiev <krasimir@google.com> | 2017-03-07 14:07:43 +0000 |
|---|---|---|
| committer | Krasimir Georgiev <krasimir@google.com> | 2017-03-07 14:07:43 +0000 |
| commit | eb62118e6d8fe924abceea869ae4cc43534e1fb2 (patch) | |
| tree | 43e057da98fb37c5a51b01577bbb32095acfa17c /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
| parent | 30e6cbfcfca4836c2b3497d84ffc2043b548b2a6 (diff) | |
| download | llvm-eb62118e6d8fe924abceea869ae4cc43534e1fb2.zip llvm-eb62118e6d8fe924abceea869ae4cc43534e1fb2.tar.gz llvm-eb62118e6d8fe924abceea869ae4cc43534e1fb2.tar.bz2 | |
[clang-format] Support namespaces ending in semicolon
Summary:
This patch adds support for namespaces ending in semicolon to the namespace comment fixer.
source:
```
namespace A {
int i;
int j;
};
```
clang-format before:
```
namespace A {
int i;
int j;
} // namespace A;
```
clang-format after:
```
namespace A {
int i;
int j;
}; // namespace A
```
Reviewers: djasper
Reviewed By: djasper
Subscribers: cfe-commits, klimek
Differential Revision: https://reviews.llvm.org/D30688
llvm-svn: 297140
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions
