summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/clang.complete-type-being-laid-out.diff
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/clang.complete-type-being-laid-out.diff')
-rw-r--r--lldb/scripts/clang.complete-type-being-laid-out.diff15
1 files changed, 0 insertions, 15 deletions
diff --git a/lldb/scripts/clang.complete-type-being-laid-out.diff b/lldb/scripts/clang.complete-type-being-laid-out.diff
deleted file mode 100644
index 388ac5484f9..00000000000
--- a/lldb/scripts/clang.complete-type-being-laid-out.diff
+++ /dev/null
@@ -1,15 +0,0 @@
-Index: lib/AST/RecordLayoutBuilder.cpp
-===================================================================
---- lib/AST/RecordLayoutBuilder.cpp (revision 146622)
-+++ lib/AST/RecordLayoutBuilder.cpp (working copy)
-@@ -2062,6 +2062,10 @@
- // as soon as we begin to parse the definition. That definition is
- // not a complete definition (which is what isDefinition() tests)
- // until we *finish* parsing the definition.
-+
-+ if (D->hasExternalLexicalStorage() && !D->getDefinition())
-+ getExternalSource()->CompleteType(const_cast<RecordDecl*>(D));
-+
- D = D->getDefinition();
- assert(D && "Cannot get layout of forward declarations!");
- assert(D->isCompleteDefinition() && "Cannot layout type before complete!");
OpenPOWER on IntegriCloud