]> granicus.if.org Git - llvm/commitdiff
[XRay][tools] Fixup for pedantic and permissive errors/warnings
authorDean Michael Berris <dberris@google.com>
Mon, 24 Apr 2017 06:15:53 +0000 (06:15 +0000)
committerDean Michael Berris <dberris@google.com>
Mon, 24 Apr 2017 06:15:53 +0000 (06:15 +0000)
Remove extraneous semicolons and fully qualify the Trace type.

Follow-up to D29320.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301161 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-xray/xray-graph-diff.h
tools/llvm-xray/xray-graph.h

index 7a21cce483f9a76367962542325fc773864528be..5abec91d858258c976f0f9b9244a7484103d071a 100644 (file)
@@ -49,7 +49,7 @@ public:
     std::array<std::reference_wrapper<const GraphRenderer::GraphT>, N> G;
 
   public:
-    template <typename... Ts> Factory(Ts &... Args) : G{{Args...}} {};
+    template <typename... Ts> Factory(Ts &... Args) : G{{Args...}} {}
 
     Expected<GraphDiffRenderer> getGraphDiffRenderer();
   };
@@ -66,7 +66,7 @@ public:
                         StatType VertexColor = StatType::NONE,
                         int TruncLen = 40);
 
-  const GraphT &getGraph() { return G; };
+  const GraphT &getGraph() { return G; }
 };
 } // namespace xray
 } // namespace llvm
index 81c2e0e3ed4f49230ed2ee764c2e401670550a79..36362873178f9213d43f5253717b1598f11c3622 100644 (file)
@@ -149,7 +149,7 @@ public:
     bool KeepGoing;
     bool DeduceSiblingCalls;
     std::string InstrMap;
-    Trace Trace;
+    ::llvm::xray::Trace Trace;
     Expected<GraphRenderer> getGraphRenderer();
   };