]> granicus.if.org Git - clang/commit
Handle ClassTemplateSpecializationDecl in DeclContextPrinter
authorAlex Lorenz <arphaman@gmail.com>
Tue, 3 Jan 2017 12:11:17 +0000 (12:11 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 3 Jan 2017 12:11:17 +0000 (12:11 +0000)
commit7fd9da9badd629c0a67441fe6696e0c7e850a491
tree6d871c5f0b71b0ff03286600127a54d8986b7ebe
parent4e71c53f555dd0bc7605420f83e33617430872b8
Handle ClassTemplateSpecializationDecl in DeclContextPrinter

This commit fixes a crash that occurs when -print-decl-contexts AST consumer
tries to print an unhandled declaration.

rdar://19467234

Differential Revision: https://reviews.llvm.org/D26964

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@290884 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/ASTConsumers.cpp
test/Coverage/cxx-language-features.inc