diff options
author | Francois Ferrand <thetypz@gmail.com> | 2017-06-14 12:29:47 +0000 |
---|---|---|
committer | Francois Ferrand <thetypz@gmail.com> | 2017-06-14 12:29:47 +0000 |
commit | e56a829e0980baaeb5c72ce84835cba8467d19fa (patch) | |
tree | b3e94467f7646ffd0c7cef14f06e1bce97fe2019 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 1680ea4c1f334cfc5e43cfea368c9bb9510810d1 (diff) | |
download | bcm5719-llvm-e56a829e0980baaeb5c72ce84835cba8467d19fa.tar.gz bcm5719-llvm-e56a829e0980baaeb5c72ce84835cba8467d19fa.zip |
clang-format: Add CompactNamespaces option
Summary:
Add CompactNamespaces option, to pack namespace declarations on the
same line (somewhat similar to C++17 nested namespace definition).
With this option, consecutive namespace declarations are kept on the
same line:
namespace foo { namespace bar {
...
}} // namespace foo::bar
Reviewers: krasimir, djasper, klimek
Reviewed By: djasper
Subscribers: kimgr, cfe-commits, klimek
Tags: #clang-tools-extra
Differential Revision: https://reviews.llvm.org/D32480
llvm-svn: 305384
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions