[PATCH] D119213: [GlobalISel][TableGen] Fully qualify calls to llvm::format that have ::std:: types as paramters

Casey Carter via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 22 21:37:53 PDT 2022


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGaa5492e7b218: [GlobalISel][TableGen] Qualify calls to llvm::format that have ::std:: types as… (authored by barcharcraz, committed by CaseyCarter).

Repository:
  rG LLVM Github Monorepo

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.439261.patch
Type: text/x-patch
Size: 745 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220623/ee0e3121/attachment.bin>


More information about the llvm-commits mailing list