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 1/2] 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"; >From 76fbb642c630302353ae67a50df93db71e7f33cc Mon Sep 17 00:00:00 2001 From: Steven Wu <[email protected]> Date: Mon, 3 Nov 2025 12:13:40 -0800 Subject: [PATCH 2/2] darker check fix Created using spr 1.3.7 --- llvm/test/lit.cfg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py index b78dc10ff6ad5..bca196e80640b 100644 --- a/llvm/test/lit.cfg.py +++ b/llvm/test/lit.cfg.py @@ -789,7 +789,7 @@ def host_unwind_supports_jit(): config.available_features.add("expensive_checks") if config.have_ondisk_cas: - config.available_features.add('ondisk_cas') + config.available_features.add("ondisk_cas") if "MemoryWithOrigins" in config.llvm_use_sanitizer: config.available_features.add("use_msan_with_origins") _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
