[PATCH] D119213: [GlobalISel][TableGen] Fully qualify calls to llvm::format that have ::std:: types as paramters
Charlie Barto via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 24 13:07:24 PST 2022
barcharcraz updated this revision to Diff 411221.
barcharcraz added a comment.
I've removed the global qualification on ::llvm::format
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119213/new/
https://reviews.llvm.org/D119213
Files:
llvm/utils/TableGen/GlobalISel/GIMatchDag.cpp
Index: llvm/utils/TableGen/GlobalISel/GIMatchDag.cpp
===================================================================
--- llvm/utils/TableGen/GlobalISel/GIMatchDag.cpp
+++ llvm/utils/TableGen/GlobalISel/GIMatchDag.cpp
@@ -48,7 +48,7 @@
<< Assignment.first << ")";
Separator = ", ";
}
- OS << format("|%p|", &N);
+ OS << llvm::format("|%p|", &N);
writePorts("d", N->getOperandInfo());
OS << "}\"";
if (N->isMatchRoot())
@@ -82,7 +82,7 @@
writePorts("s", N->getOperandInfo());
OS << "|" << N->getName() << "|";
N->printDescription(OS);
- OS << format("|%p|", &N);
+ OS << llvm::format("|%p|", &N);
writePorts("d", N->getOperandInfo());
OS << "}\",style=dotted]\n";
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119213.411221.patch
Type: text/x-patch
Size: 745 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220224/4c587e2c/attachment.bin>
More information about the llvm-commits
mailing list