]> granicus.if.org Git - clang/commit
Always format entire macro definitions.
authorDaniel Jasper <djasper@google.com>
Fri, 10 May 2013 13:00:49 +0000 (13:00 +0000)
committerDaniel Jasper <djasper@google.com>
Fri, 10 May 2013 13:00:49 +0000 (13:00 +0000)
commit89b3a7f76ffe333aa61ab63826834883236caf96
treeed694ae5050b3d5921bfebdd42215623b1f57111
parentdd256314cf391063329e504f0ece46ee51bbfa2a
Always format entire macro definitions.

Thereby, the macro is consistently formatted (including the trailing
escaped newlines) even if clang-format is invoked only on single lines
of the macro.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181590 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/Format.cpp
unittests/Format/FormatTest.cpp