[PATCH] D113188: Remove unused function from print-changed=dot-cfg code

Jamie Schmeiser via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 4 07:41:04 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG8720149d9bb1: Remove unused function from print-changed=dot-cfg code (authored by jamieschmeiser).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113188/new/

https://reviews.llvm.org/D113188

Files:
  llvm/lib/Passes/StandardInstrumentations.cpp


Index: llvm/lib/Passes/StandardInstrumentations.cpp
===================================================================
--- llvm/lib/Passes/StandardInstrumentations.cpp
+++ llvm/lib/Passes/StandardInstrumentations.cpp
@@ -1553,8 +1553,6 @@
 protected:
   // Return the string surrounded by HTML to make it the appropriate colour.
   std::string colourize(std::string S, IRChangeDiffType T) const;
-  // Return the string containing the colour to use as a Dot attribute.
-  std::string attribute(IRChangeDiffType T) const;
 
   void createNode(StringRef Label, const BlockDataT<DCData> &BD,
                   IRChangeDiffType T) {
@@ -1646,10 +1644,6 @@
   return "<FONT COLOR=\"" + Colours[T] + "\">" + S + "</FONT>";
 }
 
-std::string DotCfgDiff::attribute(IRChangeDiffType T) const {
-  return "color=" + Colours[T];
-}
-
 std::string DotCfgDiffDisplayGraph::attribute(IRChangeDiffType T) const {
   return "color=" + Colours[T];
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113188.384752.patch
Type: text/x-patch
Size: 936 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211104/c5391482/attachment.bin>


More information about the llvm-commits mailing list