clang-format: Don't remove newline if macro ends in access specifier.
authorDaniel Jasper <djasper@google.com>
Mon, 9 Mar 2015 08:13:55 +0000 (08:13 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 9 Mar 2015 08:13:55 +0000 (08:13 +0000)
commitac5c97e36b589926d6883cf4a246ec2ba94d35ee
tree0c2f55a3ca16eb6fd46d17875028a6222165e3a4
parent65b07b8e1b73816dc7f339e2c461f1bc72443319
clang-format: Don't remove newline if macro ends in access specifier.

I.e.:

  #define A public:

  // The new line before this line would be removed.
  int a;

llvm-svn: 231636
clang/lib/Format/UnwrappedLineFormatter.cpp
clang/unittests/Format/FormatTest.cpp