[HIPIFY][perl] Add "important" notice
# IMPORTANT: Do not change this file manually: it is generated by hipify-clang --perl
[ROCm/hip commit: 876af8f381]
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
# THE SOFTWARE.
|
||||
##
|
||||
|
||||
# IMPORTANT: Do not change this file manually: it is generated by hipify-clang --perl
|
||||
|
||||
#usage hipify-perl [OPTIONS] INPUT_FILE
|
||||
|
||||
use Getopt::Long;
|
||||
|
||||
@@ -60,6 +60,7 @@ namespace perl {
|
||||
"# THE SOFTWARE.\n"
|
||||
"##\n";
|
||||
|
||||
const string sImportant = "# IMPORTANT: Do not change this file manually: it is generated by hipify-clang --perl";
|
||||
const string tab = " ";
|
||||
const string tab_2 = tab + tab;
|
||||
const string tab_3 = tab_2 + tab;
|
||||
@@ -119,6 +120,7 @@ namespace perl {
|
||||
void generateHeader(unique_ptr<ostream>& streamPtr) {
|
||||
*streamPtr.get() << "#!/usr/bin/perl -w" << endl_2;
|
||||
*streamPtr.get() << sCopyright << endl;
|
||||
*streamPtr.get() << sImportant << endl_2;
|
||||
*streamPtr.get() << "#usage " << hipify_perl << " [OPTIONS] INPUT_FILE" << endl_2;
|
||||
*streamPtr.get() << "use Getopt::Long;" << endl;
|
||||
*streamPtr.get() << my << "$whitelist = \"\";" << endl;
|
||||
|
||||
Reference in New Issue
Block a user