HomePhabricator

clang-format: Fix label-in-if statement in macros where it is actually used.

Authored by djasper on Apr 6 2016, 9:41 AM.

Description

clang-format: Fix label-in-if statement in macros where it is actually used.

Before:

#define A \
  if (a)  \
  label:  \
  f()

After:

#define A \
  if (a)  \
  label:  \
    f()

llvm-svn: 265557

Details