diff options
author | David Majnemer <david.majnemer@gmail.com> | 2016-06-09 05:26:56 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2016-06-09 05:26:56 +0000 |
commit | 76a256260ed066d02b548c768d3c175f4902f484 (patch) | |
tree | 1a1f5469a06fe39a43557bd4942c27771dcdd509 /lldb/unittests/ScriptInterpreter/Python | |
parent | 2769bb5753618eabe700b223212c304aefc70d34 (diff) | |
download | llvm-76a256260ed066d02b548c768d3c175f4902f484.zip llvm-76a256260ed066d02b548c768d3c175f4902f484.tar.gz llvm-76a256260ed066d02b548c768d3c175f4902f484.tar.bz2 |
[Sema] Don't crash when a field w/ a mem-initializer clashes with a record name
It is possible for a field and a class to have the same name. In such
cases, performing lookup for the field might return a result set with
more than one entry. An overzealous assertion fired, causing us to
crash instead of using the non-class lookup result.
This fixes PR28060.
llvm-svn: 272247
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions