diff options
author | Ewan Crawford <ewan@codeplay.com> | 2016-03-15 09:50:16 +0000 |
---|---|---|
committer | Ewan Crawford <ewan@codeplay.com> | 2016-03-15 09:50:16 +0000 |
commit | 27fc7a7b47bc9656b5af858432518e81b9d36482 (patch) | |
tree | 873b83ea75061f6811d58099ea1945174be4a6d6 /lldb/packages/Python/lldbsuite/test/expression_command | |
parent | 22dff0aafc380ff8162d12ea5a17e922b9d8cecc (diff) | |
download | bcm5719-llvm-27fc7a7b47bc9656b5af858432518e81b9d36482.tar.gz bcm5719-llvm-27fc7a7b47bc9656b5af858432518e81b9d36482.zip |
Fix expression evaluation for resolving anonymous aggregrate types with a typedefed name
This fixes a recently reported a bug(https://llvm.org/bugs/show_bug.cgi?id=26790) relating to the clang expression evaluator no longer being able to resolve calls to
functions with arguments to typedefed anonymous structs, unions, or enums after a cleanup to the expression parsing code in r260768
This fixes the issue by attaching the tagged name to the original clang::TagDecl object when generating the typedef in lldb::ClangAstContext::CreateTypeDef.
This also fixes the issue for anonymous typedefs for non-struct types (unions and enums) where we have a tag name.
Author: Luke Drummond <luke.drummond@codeplay.com>
Differential Revision: http://reviews.llvm.org/D18099
llvm-svn: 263544
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command')
0 files changed, 0 insertions, 0 deletions