]> granicus.if.org Git - clang/commit
Fix a crash in the AST dumper.
authorRichard Trieu <rtrieu@google.com>
Thu, 9 Jun 2016 22:03:04 +0000 (22:03 +0000)
committerRichard Trieu <rtrieu@google.com>
Thu, 9 Jun 2016 22:03:04 +0000 (22:03 +0000)
commit2486f3141fabe3242a40007893809c9c5bac2702
treef4c37e5a76b0ec5fb0766366a7fd0f956aab7d3b
parenteb6a2acb17dc88f80e07e356e19f51dec9227e79
Fix a crash in the AST dumper.

Boxed expressions in a template context may have a null method decl.  If so,
don't try to access the selector.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@272318 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTDumper.cpp
test/Misc/ast-dump-decl.mm