Fixes handling of empty lines in macros.
authorManuel Klimek <klimek@google.com>
Mon, 11 Feb 2013 12:33:24 +0000 (12:33 +0000)
committerManuel Klimek <klimek@google.com>
Mon, 11 Feb 2013 12:33:24 +0000 (12:33 +0000)
commit0c13795f68a3d2fe0bc31650260809ad8f160a3b
treefd19c182cd4fb1121815f48e829a12f59910d35a
parente2067788338f887024adc3df824252a03730147a
Fixes handling of empty lines in macros.

Now correctly formats:
 #define A \
   \
   b;
to
 #define A b;

Added the state whether an unwrapped line is a macro to the debug
output.

llvm-svn: 174878
clang/lib/Format/Format.cpp
clang/lib/Format/UnwrappedLineParser.cpp
clang/unittests/Format/FormatTest.cpp