[HIPIFY][fix] Fix typo and functions' string arguments

+ Fix typo with missing comma in counterNames array
+ Change std::string argument to const std::string& argument in all functions


[ROCm/hip commit: eff5d3fc1b]
このコミットが含まれているのは:
Evgeny Mankov
2018-11-01 16:57:57 +03:00
コミット 883f902eaf
4個のファイルの変更14行の追加14行の削除
+1 -1
ファイルの表示
@@ -7,7 +7,7 @@ llvm::StringRef unquoteStr(llvm::StringRef s) {
return s;
}
void removePrefixIfPresent(std::string &s, std::string prefix) {
void removePrefixIfPresent(std::string &s, const std::string& prefix) {
if (s.find(prefix) != 0) {
return;
}