SWDEV-539836 Do not parse private/internal members (#56)

[ROCm/roctracer commit: 074d9d95ec]
This commit is contained in:
Bhardwaj, Gopesh
2025-06-27 20:47:30 +05:30
committed by GitHub
orang tua 337cbeba6f
melakukan 639064b28c
@@ -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")