[PATCH] D114740: Remove unneeded printString methods
Jayson Yan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 10 10:58:14 PST 2021
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG10602f2ae1ce: [NFC] Remove unneeded printString methods (authored by Jaysonyan).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114740/new/
https://reviews.llvm.org/D114740
Files:
llvm/include/llvm/Support/ScopedPrinter.h
Index: llvm/include/llvm/Support/ScopedPrinter.h
===================================================================
--- llvm/include/llvm/Support/ScopedPrinter.h
+++ llvm/include/llvm/Support/ScopedPrinter.h
@@ -327,14 +327,6 @@
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));
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114740.393540.patch
Type: text/x-patch
Size: 652 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211210/cbcfb829/attachment.bin>
More information about the llvm-commits
mailing list