[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]
Этот коммит содержится в:
1 родитель
2031beba9c
Коммит
883f902eaf
4 files changed
+14
-14
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user