From 074d9d95ec34197c7dd0c33f82272e692b9e3886 Mon Sep 17 00:00:00 2001 From: "Bhardwaj, Gopesh" Date: Fri, 27 Jun 2025 20:47:30 +0530 Subject: [PATCH] SWDEV-539836 Do not parse private/internal members (#56) --- script/gen_ostream_ops.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/script/gen_ostream_ops.py b/script/gen_ostream_ops.py index 9b45cb4e3e..dcc9914833 100755 --- a/script/gen_ostream_ops.py +++ b/script/gen_ostream_ops.py @@ -241,6 +241,8 @@ def gen_cppheader(infilepath, outfilepath, rank): continue if c == 'max_align_t' or c == '__fsid_t': # Skipping as it is defined in multiple domains continue + if c.startswith("_") or c.startswith("pthread_") or c.startswith("__pthread_"): + continue if len(cppHeader.classes[c]["properties"]["public"]) != 0: output_filename_h.write("inline static std::ostream& operator<<(std::ostream& out, const " + c + "& v)\n") output_filename_h.write("{\n")