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