[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
This commit is contained in:
Evgeny Mankov
2018-11-01 16:57:57 +03:00
bovenliggende 1c093592fa
commit eff5d3fc1b
4 gewijzigde bestanden met toevoegingen van 14 en 14 verwijderingen
+1 -1
Bestand weergeven
@@ -11,4 +11,4 @@ llvm::StringRef unquoteStr(llvm::StringRef s);
/**
* If `s` starts with `prefix`, remove it. Otherwise, does nothing.
*/
void removePrefixIfPresent(std::string &s, std::string prefix);
void removePrefixIfPresent(std::string &s, const std::string& prefix);