[HIPIFY] Code cleanup and formatting

This commit is contained in:
Evgeny Mankov committed 2018-10-15 15:27:37 +03:00
1 parent 4ab45ef878
commit ee3a5cc722
12 files changed
+684 -843

No files matched your search

+4 -4
View File
@@ -4,11 +4,11 @@
#include "llvm/ADT/StringRef.h"
/**
* Remove double-quotes from the start/end of a string, if present.
*/
* Remove double-quotes from the start/end of a string, if present.
*/
llvm::StringRef unquoteStr(llvm::StringRef s);
/**
* If `s` starts with `prefix`, remove it. Otherwise, does nothing.
*/
* If `s` starts with `prefix`, remove it. Otherwise, does nothing.
*/
void removePrefixIfPresent(std::string &s, std::string prefix);