[HIPIFY][perl] Start to generate hipify-perl under an option -perl

+ Get rid of --o-perl-map option for Perl output filename: the output name now is always hipify-perl
+ Option --o-perl-map-dir renamed to --o-hipify-perl-dir

Cmd example for generating hipify-perl script to the particular directory:
hipify-clang -perl --o-hipify-perl-dir=../../bin
This commit is contained in:
Evgeny Mankov committed 2019-10-03 16:30:48 +03:00
1 parent cb565c1f91
commit b3cf982ee7
3 files changed
+11 -18

No files matched your search

+2 -7
View File
@@ -44,13 +44,8 @@ cl::opt<bool> GeneratePython("python",
cl::value_desc("python"),
cl::cat(ToolTemplateCategory));
cl::opt<std::string> OutputPerlMapFilename("o-perl-map",
cl::desc("Output filename for Perl map"),
cl::value_desc("filename"),
cl::cat(ToolTemplateCategory));
cl::opt<std::string> OutputPerlMapDir("o-perl-map-dir",
cl::desc("Output direcory for Perl map"),
cl::opt<std::string> OutputHipifyPerlDir("o-hipify-perl-dir",
cl::desc("Output direcory for hipify-perl script"),
cl::value_desc("directory"),
cl::cat(ToolTemplateCategory));