[llvm] 2072ec1 - [LLVM] Remove warning print when merging fails

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 17 05:44:23 PST 2024


Author: Joseph Huber
Date: 2024-12-17T07:44:17-06:00
New Revision: 2072ec1ff957cb08a054e5ce7a1e916232d3bc6b

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

LOG: [LLVM] Remove warning print when merging fails

Summary:
This message is only confusing and shouldn't have been added in the
first place.

Added: 
    

Modified: 
    llvm/utils/merge-json.py

Removed: 
    


################################################################################
diff  --git a/llvm/utils/merge-json.py b/llvm/utils/merge-json.py
index bf0d651fe5f52b..f5b9dcf11c4cdc 100644
--- a/llvm/utils/merge-json.py
+++ b/llvm/utils/merge-json.py
@@ -33,7 +33,6 @@ def main():
                 data = json.load(f)
                 merged_data.extend(data)
         except (IOError, json.JSONDecodeError) as e:
-            print("Failed to parse {json_file}: {e}", file=sys.stderr)
             continue
 
     # Deduplicate by converting each entry to a tuple of sorted key-value pairs


        


More information about the llvm-commits mailing list