diff options
author | Sean Callanan <scallanan@apple.com> | 2011-11-02 01:38:59 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2011-11-02 01:38:59 +0000 |
commit | dbb583992a189fbacaaadc833ca89c4be28a1d8a (patch) | |
tree | be3de3054fb46b87e8d4a0a2f44dc66fdb3ce058 /lldb/source/Expression/ClangExpressionDeclMap.cpp | |
parent | 800f223b12931aa4618bd7732ba96389d4ccff2a (diff) | |
download | bcm5719-llvm-dbb583992a189fbacaaadc833ca89c4be28a1d8a.tar.gz bcm5719-llvm-dbb583992a189fbacaaadc833ca89c4be28a1d8a.zip |
Sometimes the debug information includes artifically-
generated special member functions (constructors,
destructors, etc.) for classes that don't really have
them. We needed to mark these as artificial to reflect
the debug information; this bug does that for
constructors and destructors.
The "etc." case (certain assignment operators, mostly)
remains to be fixed.
llvm-svn: 143526
Diffstat (limited to 'lldb/source/Expression/ClangExpressionDeclMap.cpp')
-rw-r--r-- | lldb/source/Expression/ClangExpressionDeclMap.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangExpressionDeclMap.cpp b/lldb/source/Expression/ClangExpressionDeclMap.cpp index 6c760a720c6..3d5b02400e2 100644 --- a/lldb/source/Expression/ClangExpressionDeclMap.cpp +++ b/lldb/source/Expression/ClangExpressionDeclMap.cpp @@ -3017,6 +3017,7 @@ ClangExpressionDeclMap::AddOneType(NameSearchContext &context, const bool is_inline = false; const bool is_explicit = false; const bool is_attr_used = false; + const bool is_artificial = false; ClangASTContext::AddMethodToCXXRecordType (parser_ast_context, copied_type, @@ -3027,7 +3028,8 @@ ClangExpressionDeclMap::AddOneType(NameSearchContext &context, is_static, is_inline, is_explicit, - is_attr_used); + is_attr_used, + is_artificial); } context.AddTypeDecl(copied_type); |