================
@@ -45,6 +45,20 @@ class DiskBackedIndexStorage : public BackgroundIndexStorage 
{
     if (EC != OK) {
       elog("Failed to create directory {0} for index storage: {1}",
            DiskShardRoot, EC.message());
+    } else {
----------------
kadircet wrote:

nit: just return early after logging the error

https://github.com/llvm/llvm-project/pull/170003
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to