[Lldb-commits] [lldb] [lldb][TypeSynthetic][NFC] Make SyntheticChildrenFrontend::Update() return an enum (PR #80167)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 1 12:36:06 PST 2024


================
@@ -1305,6 +1305,13 @@ enum CompletionType {
   eTerminatorCompletion = (1ul << 27)
 };
 
+/// Specifies if children need to be re-computed
+/// after a call to \ref SyntheticChildrenFrontEnd::Update.
+enum class ChildCacheState {
+  eRefetch = 0, ///< Children need to be recomputed dynamically.
+  eReuse = 1,   ///< Children will never change and don't need to be recomputed.
----------------
clayborg wrote:

After thinking about this, I believe you are correct, it probably means "you can re-use what I gave the last time you called update"


https://github.com/llvm/llvm-project/pull/80167


More information about the lldb-commits mailing list