[libc-commits] [libc] ae8b638 - [libc][benchmark] Fix change in JSon API

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Mon Feb 14 07:55:49 PST 2022


Author: Guillaume Chatelet
Date: 2022-02-14T15:55:27Z
New Revision: ae8b63866d765cb10760c3c625531e9ed48183f8

URL: https://github.com/llvm/llvm-project/commit/ae8b63866d765cb10760c3c625531e9ed48183f8
DIFF: https://github.com/llvm/llvm-project/commit/ae8b63866d765cb10760c3c625531e9ed48183f8.diff

LOG: [libc][benchmark] Fix change in JSon API

Added: 
    

Modified: 
    libc/benchmarks/automemcpy/lib/ResultAnalyzerMain.cpp

Removed: 
    


################################################################################
diff  --git a/libc/benchmarks/automemcpy/lib/ResultAnalyzerMain.cpp b/libc/benchmarks/automemcpy/lib/ResultAnalyzerMain.cpp
index 47e3200f9dccb..6a657e432c18f 100644
--- a/libc/benchmarks/automemcpy/lib/ResultAnalyzerMain.cpp
+++ b/libc/benchmarks/automemcpy/lib/ResultAnalyzerMain.cpp
@@ -94,7 +94,7 @@ JsonFile parseJsonResultFile(StringRef Filename) {
   json::Path::Root Root;
   JsonFile JF;
   if (!fromJSON(JsonValue, JF, Root))
-    ExitOnErr(Root.get_error());
+    ExitOnErr(Root.getError());
   return JF;
 }
 


        


More information about the libc-commits mailing list