[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
Этот коммит содержится в:
Evgeny Mankov
2018-11-01 16:57:57 +03:00
родитель 9fdc1cb875
Коммит 48abb4a36b
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;
}