aprantl added inline comments.
================
Comment at: clang/lib/CodeGen/CGDebugInfo.cpp:2640
if (!D || !D->isCompleteDefinition())
- return FwdDecl;
+ return {FwdDecl, nullptr};
----------------
I'm curious if this works if we encounter a forward declaration, early exit
here, then encounter a use of the type, and then the definition, since
completeClass effectively also ignores the preferred name?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145803/new/
https://reviews.llvm.org/D145803
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits