Commit 747fd10
committed
[HIPIFY][Perl][fix] Streamline C++ File I/O and Output Streams in the
* Modernized file I/O by replacing the dynamic `unique_ptr` heap allocation with a standard stack-allocated `ofstream`.
* The generated `hipify-perl` is unchanged
**Key Changes:**
* Updated all internal helper functions to accept a standard `ostream &` instead of `unique_ptr<ostream> &`
* Completely eliminated the verbose `*streamPtr.get()` boilerplate throughout the generator
* Improved overall C++ readability, safety, and resource managementhipify-perl generator1 parent db6c7c5 commit 747fd10
1 file changed
+465
-465
lines changed
0 commit comments