aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Semantics/mod-file.cpp
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2020-04-26 14:04:45 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2020-05-06 20:59:24 +0200
commitf21c704553a8af7012eaf1ab777e2aa1a55cc86d (patch)
treef023645f25e9c019fa1e53fa4ccc700d7ee6da62 /flang/lib/Semantics/mod-file.cpp
parent7fa5abd3437e94e0983a3baf323cac574d92fc03 (diff)
downloadllvm-f21c704553a8af7012eaf1ab777e2aa1a55cc86d.zip
llvm-f21c704553a8af7012eaf1ab777e2aa1a55cc86d.tar.gz
llvm-f21c704553a8af7012eaf1ab777e2aa1a55cc86d.tar.bz2
clang-format: Add ControlStatementsExceptForEachMacros option to SpaceBeforeParens
Summary: systemd recently added a clang-format file. One issue I encountered in using clang-format on systemd is that systemd does not add a space before the parens of their foreach macros but clang-format always adds a space. This does not seem to be configurable in clang-format. This revision adds the ControlStatementsExceptForEachMacros option to SpaceBeforeParens which puts a space before all control statement parens except ForEach macros. This drastically reduces the amount of changes when running clang-format on systemd's source code. Reviewers: MyDeveloperDay, krasimir, mitchell-stellar Reviewed By: MyDeveloperDay Subscribers: cfe-commits Tags: #clang-format, #clang Differential Revision: https://reviews.llvm.org/D78869
Diffstat (limited to 'flang/lib/Semantics/mod-file.cpp')
0 files changed, 0 insertions, 0 deletions