clang-format: Understand 'typename' in placement new.
authorDaniel Jasper <djasper@google.com>
Wed, 30 Jul 2014 12:14:10 +0000 (12:14 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 30 Jul 2014 12:14:10 +0000 (12:14 +0000)
commit71646ec206721c32cb10cd6f66c10a3709c54be0
tree13305cbf9dfcce36cced39c7630d13d2e01515e9
parente7532e59c057a07a27a569cc249cc3a27ff22194
clang-format: Understand 'typename' in placement new.

Before:
  new (aaaaaaaaaaaaaaaaaaaaaaaaaa(
      aaaaaaaaaaaaaaaaaaaaaaa)) typename aaaaaaaaaaaaaaaaaaaaaaaa();

After:
  new (aaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaa))
      typename aaaaaaaaaaaaaaaaaaaaaaaa();

llvm-svn: 214300
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTest.cpp