From cd0b925dc2c9e416a52af69e611487f591a03a83 Mon Sep 17 00:00:00 2001 From: Jacques Pienaar Date: Thu, 28 Mar 2019 16:13:32 -0700 Subject: [PATCH] Remove extra qualification PiperOrigin-RevId: 240875432 --- mlir/lib/Transforms/ViewFunctionGraph.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mlir/lib/Transforms/ViewFunctionGraph.cpp b/mlir/lib/Transforms/ViewFunctionGraph.cpp index 46e47a4..1f2ab69 100644 --- a/mlir/lib/Transforms/ViewFunctionGraph.cpp +++ b/mlir/lib/Transforms/ViewFunctionGraph.cpp @@ -24,15 +24,13 @@ using namespace mlir; namespace llvm { // Specialize DOTGraphTraits to produce more readable output. -template <> -struct llvm::DOTGraphTraits : public DefaultDOTGraphTraits { +template <> struct DOTGraphTraits : public DefaultDOTGraphTraits { using DefaultDOTGraphTraits::DefaultDOTGraphTraits; static std::string getNodeLabel(Block *Block, Function *); }; -std::string llvm::DOTGraphTraits::getNodeLabel(Block *Block, - Function *) { +std::string DOTGraphTraits::getNodeLabel(Block *Block, Function *) { // Reuse the print output for the node labels. std::string outStreamStr; raw_string_ostream os(outStreamStr); -- 2.7.4