When we import the definition for a Tagdecl, propagate its completeness too.
authorSean Callanan <scallanan@apple.com>
Sat, 26 Mar 2016 00:37:55 +0000 (00:37 +0000)
committerSean Callanan <scallanan@apple.com>
Sat, 26 Mar 2016 00:37:55 +0000 (00:37 +0000)
commitd0234c4593ad6a59f378317ebcfc0506a1a11c36
treef93a8c59149510aead5d12c79f929f5240d15d02
parent90b6f26b419202b0d483614f0fb9275683e7aad2
When we import the definition for a Tagdecl, propagate its completeness too.

The ASTImporter completes the full definiton for a TagDecl in several places,
including the type-deport logic.  When this happens, we should also propagate
the bit that says that this is a complete definition.  This makes (for example)
lambdas callable.

<rdar://problem/22864976>

llvm-svn: 264485
lldb/source/Symbol/ClangASTImporter.cpp