================
@@ -1700,13 +1706,13 @@ ValueObjectSP ValueObject::GetSyntheticChildAtOffset(
     return synthetic_child_sp;
 
   if (!can_create)
-    return {};
+    return ValueObjectSP();
----------------
JDevlieghere wrote:

I'm possibly biased as the author of the [modernize-return-braced-init-list 
clang tidy 
check](https://clang.llvm.org/extra/clang-tidy/checks/modernize/return-braced-init-list.html)
 but I'm curious why you think this is more readable? 

https://github.com/llvm/llvm-project/pull/75865
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to