]> granicus.if.org Git - clang/commit
operator<< on a DiagnosticBuilder should *always* output exactly one thing.
authorJohn McCall <rjmccall@apple.com>
Thu, 5 Aug 2010 04:58:04 +0000 (04:58 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 5 Aug 2010 04:58:04 +0000 (04:58 +0000)
commit67c4a0ca65dd72784a1778264938c8ba45506cea
tree1a9b3910227757912a777595b8211c4824da744f
parenta9c76216c9d055b7161fdbe78f531e5f7fcd4f1e
operator<< on a DiagnosticBuilder should *always* output exactly one thing.
Null template arguments are bad, but they're better than crashing with an
argument mismatch.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110312 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/TemplateBase.cpp