]> granicus.if.org Git - clang/commit
Handle AccessSpecDecl in DeclContextPrinter
authorAlex Lorenz <arphaman@gmail.com>
Tue, 3 Jan 2017 12:12:36 +0000 (12:12 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 3 Jan 2017 12:12:36 +0000 (12:12 +0000)
commit44df50df1f5458b0d1b59d5e0654986d0d5720d8
treee66d21d14a27e1f9c8a84b4070d82a7942fe0a59
parent7fd9da9badd629c0a67441fe6696e0c7e850a491
Handle AccessSpecDecl 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@290885 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/ASTConsumers.cpp
test/Coverage/cxx-language-features.inc