Both std::string and char * implicitly convert to StringRef so
the overloaded method using std::string and char* are unneeded.
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D114740
startLine() << Label << ": " << Value << "\n";
}
- void printString(StringRef Label, const std::string &Value) {
- printString(Label, StringRef(Value));
- }
-
- void printString(StringRef Label, const char *Value) {
- printString(Label, StringRef(Value));
- }
-
template <typename T>
void printNumber(StringRef Label, StringRef Str, T Value) {
printNumberImpl(Label, Str, to_string(Value));