[Lldb-commits] [PATCH] D83199: [lldb/DWARF] Add a utility function for (forceful) completion of types

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Jul 6 15:45:15 PDT 2020


teemperor accepted this revision.
teemperor added a comment.

LGTM too, thanks!



================
Comment at: lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp:1339
+  TypeSystemClang::CompleteTagDeclarationDefinition(type);
+  const auto *td = TypeSystemClang::GetQualType(type.GetOpaqueQualType())
+                       .getTypePtr()
----------------
shafik wrote:
> This has to be a `TagDecl` so why use `auto`?
`const TagDecl *td = ClangUtil::GetAsTagDecl(type);`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D83199/new/

https://reviews.llvm.org/D83199





More information about the lldb-commits mailing list