[clang] [clang][ssaf] Implement JSONFormat (PR #180021)

Aviral Goel via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 11 11:49:25 PST 2026


================
@@ -127,11 +127,6 @@ class JSONFormatTest : public ::testing::Test {
     OS.close();
 
     auto Result = JSONFormat(vfs::getRealFileSystem()).readTUSummary(FilePath);
-    if (!Result) {
-      std::string Message = llvm::toString(Result.takeError());
-      llvm::outs() << Message << "\n\n";
-      return {llvm::createStringError(std::move(Message))};
-    }
     return Result;
----------------
aviralg wrote:

Sure. Removed!

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


More information about the cfe-commits mailing list