]> granicus.if.org Git - clang/commit
Fix formatting regression introduced by r174307.
authorDaniel Jasper <djasper@google.com>
Tue, 5 Feb 2013 09:34:14 +0000 (09:34 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 5 Feb 2013 09:34:14 +0000 (09:34 +0000)
commit5b7e7b0ec77f49c1b24deffc9b7032ca16ca9f0d
tree49c95610ac2906102d42d9c68551dd62c32fb9b3
parent8fcbb8dfbc28b6279d22144e10ade401a6c03e9e
Fix formatting regression introduced by r174307.

In preprocessor definitions, we would not parse all the tokens and thus
not annotate them anymore. This led to a wrong formatting of comments
in google style:

  #endif // HEADER_GUARD  -- requires two spaces

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