diff options
author | Nico Weber <nicolasweber@gmx.de> | 2016-01-22 15:11:54 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2016-01-22 15:11:54 +0000 |
commit | c4acee338097f7f2a6a70cdd38dc7eb1f97c040e (patch) | |
tree | 83dc24d9deaee4ab1af31446513c9b7dbed19ff9 /lldb/packages/Python/lldbsuite/test/expression_command/call-function | |
parent | 0ff939f251ff18774050d3170697bf61dfbc4dba (diff) | |
download | bcm5719-llvm-c4acee338097f7f2a6a70cdd38dc7eb1f97c040e.tar.gz bcm5719-llvm-c4acee338097f7f2a6a70cdd38dc7eb1f97c040e.zip |
Let RecursiveASTVisitor visit array index VarDecls
An implicit copy ctor creates loop VarDecls that hang off CXXCtorInitializer.
RecursiveASTVisitor used to not visit them, so that they didn't show up in the
parent map used by ASTMatchers, causing asserts() when the implicit
DeclRefExpr() in a CXXCtorInitializer referred to one of these VarDecls.
Fixes PR26227.
http://reviews.llvm.org/D16413
llvm-svn: 258503
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function')
0 files changed, 0 insertions, 0 deletions