[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:
Evgeny Mankov
2019-10-10 18:25:26 +03:00
szülő adf925d497
commit 20be535ea7
2 fájl változott, egészen pontosan 4 új sor hozzáadva és 0 régi sor törölve
+2
Fájl megtekintése
@@ -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;