[HIPIFY] Introduce Verbose '-v' option as hipify's own

[ROCm/hip commit: ce28bc79ef]
This commit is contained in:
Evgeny Mankov
2019-01-30 15:19:06 +03:00
parent d318dd6ccc
commit 0ebdc54f79
3 changed files with 9 additions and 0 deletions
+3
View File
@@ -234,6 +234,9 @@ int main(int argc, const char **argv) {
Tool.appendArgumentsAdjuster(ct::getInsertArgumentAdjuster(s.c_str(), ct::ArgumentInsertPosition::END));
}
}
if (Verbose) {
Tool.appendArgumentsAdjuster(ct::getInsertArgumentAdjuster("-v", ct::ArgumentInsertPosition::END));
}
Tool.appendArgumentsAdjuster(ct::getClangSyntaxOnlyAdjuster());
Statistics& currentStat = Statistics::current();
// Hipify _all_ the things!