[PATCH] D26964: Handle more declarations in DeclContextPrinter to fix -print-decl-contexts crashes

2017-01-03 Thread Alex Lorenz via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL290880: Handle FriendDecl in DeclContextPrinter (authored by arphaman). Changed prior to commit: https://reviews.llvm.org/D26964?vs=78848=82864#toc Repository: rL LLVM

[PATCH] D26964: Handle more declarations in DeclContextPrinter to fix -print-decl-contexts crashes

2016-12-19 Thread Mehdi AMINI via Phabricator via cfe-commits
mehdi_amini accepted this revision. mehdi_amini added a comment. This revision is now accepted and ready to land. Testing is in line with the existing testing. It is not great, but at the same time is a development/debugging tool right? Repository: rL LLVM https://reviews.llvm.org/D26964

[PATCH] D26964: Handle more declarations in DeclContextPrinter to fix -print-decl-contexts crashes

2016-11-22 Thread Alex Lorenz via cfe-commits
arphaman created this revision. arphaman added reviewers: rsmith, mehdi_amini. arphaman added a subscriber: cfe-commits. arphaman set the repository for this revision to rL LLVM. This patch handles more declarations in DeclContextPrinter to avoid crashes when clang is given the