Make C++ constructors and destructors correctly within the clang types we
generate from DWARF.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@115268 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ClangExpressionDeclMap.cpp b/source/Expression/ClangExpressionDeclMap.cpp
index 43c4150..2c244bd 100644
--- a/source/Expression/ClangExpressionDeclMap.cpp
+++ b/source/Expression/ClangExpressionDeclMap.cpp
@@ -1119,11 +1119,12 @@
1,
false,
ClangASTContext::GetTypeQualifiers(copied_type));
-
+
const bool is_virtual = false;
const bool is_static = false;
const bool is_inline = false;
-
+ const bool is_explicit = false;
+
ClangASTContext::AddMethodToCXXRecordType (parser_ast_context,
copied_type,
"___clang_expr",
@@ -1131,7 +1132,8 @@
lldb::eAccessPublic,
is_virtual,
is_static,
- is_inline);
+ is_inline,
+ is_explicit);
}
context.AddTypeDecl(copied_type);