https://github.com/cachemeifyoucan updated 
https://github.com/llvm/llvm-project/pull/114104

>From 63c4928ed65fb2a83a4a25f3c098af7d931fc0af Mon Sep 17 00:00:00 2001
From: Steven Wu <[email protected]>
Date: Mon, 3 Nov 2025 12:09:19 -0800
Subject: [PATCH] clang-format

Created using spr 1.3.7
---
 llvm/tools/llvm-cas/llvm-cas.cpp | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/llvm/tools/llvm-cas/llvm-cas.cpp b/llvm/tools/llvm-cas/llvm-cas.cpp
index b1e4f606211b5..e59313eb808e8 100644
--- a/llvm/tools/llvm-cas/llvm-cas.cpp
+++ b/llvm/tools/llvm-cas/llvm-cas.cpp
@@ -175,13 +175,12 @@ int main(int Argc, char **Argv) {
   return validateObject(*CAS, ID);
 }
 
-static Expected<std::unique_ptr<MemoryBuffer>>
-openBuffer(StringRef DataPath) {
+static Expected<std::unique_ptr<MemoryBuffer>> openBuffer(StringRef DataPath) {
   if (DataPath.empty())
     return createStringError(inconvertibleErrorCode(), "--data missing");
-  return errorOrToExpected(
-      DataPath == "-" ? llvm::MemoryBuffer::getSTDIN()
-                      : llvm::MemoryBuffer::getFile(DataPath));
+  return errorOrToExpected(DataPath == "-"
+                               ? llvm::MemoryBuffer::getSTDIN()
+                               : llvm::MemoryBuffer::getFile(DataPath));
 }
 
 int dump(ObjectStore &CAS) {
@@ -311,7 +310,7 @@ int validateIfNeeded(StringRef Path, bool CheckHash, bool 
Force,
     Exec = ExecStorage;
   }
   ValidationResult Result = 
ExitOnErr(validateOnDiskUnifiedCASDatabasesIfNeeded(
-        Path, CheckHash, AllowRecovery, Force, Exec));
+      Path, CheckHash, AllowRecovery, Force, Exec));
   switch (Result) {
   case ValidationResult::Valid:
     outs() << "validated successfully\n";

_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to