This revision was automatically updated to reflect the committed changes.
Closed by commit rL347575: [ASTImporter] Set MustBuildLookupTable on
PrimaryContext (authored by martong, committed by ).
Herald added a subscriber: llvm-commits.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54863/new/
https://reviews.llvm.org/D54863
Files:
lldb/trunk/source/Symbol/ClangASTImporter.cpp
Index: lldb/trunk/source/Symbol/ClangASTImporter.cpp
===================================================================
--- lldb/trunk/source/Symbol/ClangASTImporter.cpp
+++ lldb/trunk/source/Symbol/ClangASTImporter.cpp
@@ -1050,7 +1050,7 @@
TagDecl *to_tag_decl = dyn_cast<TagDecl>(to);
to_tag_decl->setHasExternalLexicalStorage();
- to_tag_decl->setMustBuildLookupTable();
+ to_tag_decl->getPrimaryContext()->setMustBuildLookupTable();
if (log)
log->Printf(
Index: lldb/trunk/source/Symbol/ClangASTImporter.cpp
===================================================================
--- lldb/trunk/source/Symbol/ClangASTImporter.cpp
+++ lldb/trunk/source/Symbol/ClangASTImporter.cpp
@@ -1050,7 +1050,7 @@
TagDecl *to_tag_decl = dyn_cast<TagDecl>(to);
to_tag_decl->setHasExternalLexicalStorage();
- to_tag_decl->setMustBuildLookupTable();
+ to_tag_decl->getPrimaryContext()->setMustBuildLookupTable();
if (log)
log->Printf(
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits