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.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@143526 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ClangExpressionDeclMap.cpp b/source/Expression/ClangExpressionDeclMap.cpp
index 6c760a7..3d5b024 100644
--- a/source/Expression/ClangExpressionDeclMap.cpp
+++ b/source/Expression/ClangExpressionDeclMap.cpp
@@ -3017,6 +3017,7 @@
         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 @@
                                                    is_static,
                                                    is_inline,
                                                    is_explicit,
-                                                   is_attr_used);
+                                                   is_attr_used,
+                                                   is_artificial);
     }
     
     context.AddTypeDecl(copied_type);