Merge pull request #1520 from emankov/hipify-clang

[HIPIFY][perl] Add "important" notice
이 커밋은 다음에 포함됨:
Evgeny Mankov 작성하고 GitHub가 2019-10-10 18:29:01 +03:00를 커밋함
커밋 f363044153
2 파일이 변경됨
+4

검색과 일치하는 파일 없음

+2
파일 보기
@@ -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;
+2
파일 보기
@@ -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;