[Lldb-commits] [PATCH] D138259: Add the ability to see when a type in incomplete.
Adrian Prantl via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 18 19:51:57 PST 2022
aprantl added inline comments.
================
Comment at: lldb/include/lldb/API/SBType.h:212
+ /// Returns true for types that were incomplete in the debug information but
+ /// should have been a complete. When the debugger constructs types, we must
+ /// have enough information to reconstruct a type in a language specific AST
----------------
a complete? (missing word)
================
Comment at: lldb/include/lldb/API/SBType.h:223
+ /// of the debug information in a debug session, possibly even in another
+ /// executable or shared library's debug information. If we require a full
+ /// definition for a type but we can't find ony, we must forcefully complete
----------------
Could you replace all instances of "we" with something more concrete? It sounds like this paragraph really describes behaviors of TypeSystemClang?
================
Comment at: lldb/include/lldb/API/SBType.h:237
+ /// need to be forcefully completed
+ bool IsTypeForcefullyCompleted();
+
----------------
Why not `IsIncomplete()`?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138259/new/
https://reviews.llvm.org/D138259
More information about the lldb-commits
mailing list