summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/ViewFunctionGraph.cpp
diff options
context:
space:
mode:
authorJacques Pienaar <jpienaar@google.com>2019-03-28 16:13:32 -0700
committerjpienaar <jpienaar@google.com>2019-03-29 17:52:36 -0700
commitcd0b925dc2c9e416a52af69e611487f591a03a83 (patch)
tree9749d485d1d1e8cc24ced6048ee525aab9b79991 /mlir/lib/Transforms/ViewFunctionGraph.cpp
parent85bbde483dbbbe50ee465808a086fe3fceac7f2a (diff)
downloadbcm5719-llvm-cd0b925dc2c9e416a52af69e611487f591a03a83.tar.gz
bcm5719-llvm-cd0b925dc2c9e416a52af69e611487f591a03a83.zip
Remove extra qualification
PiperOrigin-RevId: 240875432
Diffstat (limited to 'mlir/lib/Transforms/ViewFunctionGraph.cpp')
-rw-r--r--mlir/lib/Transforms/ViewFunctionGraph.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/mlir/lib/Transforms/ViewFunctionGraph.cpp b/mlir/lib/Transforms/ViewFunctionGraph.cpp
index 46e47a4ab1b..1f2ab69409e 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<Function *> : public DefaultDOTGraphTraits {
+template <> struct DOTGraphTraits<Function *> : public DefaultDOTGraphTraits {
using DefaultDOTGraphTraits::DefaultDOTGraphTraits;
static std::string getNodeLabel(Block *Block, Function *);
};
-std::string llvm::DOTGraphTraits<Function *>::getNodeLabel(Block *Block,
- Function *) {
+std::string DOTGraphTraits<Function *>::getNodeLabel(Block *Block, Function *) {
// Reuse the print output for the node labels.
std::string outStreamStr;
raw_string_ostream os(outStreamStr);
OpenPOWER on IntegriCloud