forked from OSchip/llvm-project
Fixed a bug which would trigger an assert() in LLDB;
we were setting a forward-declared Objective-C class type as being completed using an ExternalSemaSource, but this is neither legal nor necessary. llvm-svn: 123671
This commit is contained in:
parent
69e6206b19
commit
865267f9d4
|
@ -1083,8 +1083,8 @@ ClangASTContext::SetHasExternalStorage (clang_type_t clang_type, bool has_extern
|
|||
|
||||
if (class_interface_decl)
|
||||
{
|
||||
if (has_extern)
|
||||
class_interface_decl->setExternallyCompleted();
|
||||
//if (has_extern)
|
||||
// class_interface_decl->setExternallyCompleted();
|
||||
class_interface_decl->setHasExternalLexicalStorage (has_extern);
|
||||
//class_interface_decl->setHasExternalVisibleStorage (has_extern);
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue