Correctly format macro with unfinished template declaration.
authorDaniel Jasper <djasper@google.com>
Tue, 19 Feb 2013 17:14:38 +0000 (17:14 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 19 Feb 2013 17:14:38 +0000 (17:14 +0000)
commit0047596cb0d3db50e8e8f0c9bbf7189a536ae722
treed4116225e99f864a5e34b33886c99b66a3723bb7
parent2c197e09397ee071c678ba77c2451166264b55f7
Correctly format macro with unfinished template declaration.

We can now format:
  #define A template <typename T>

Before this created a segfault :-/.

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