From: Dean Michael Berris Date: Mon, 24 Apr 2017 06:15:53 +0000 (+0000) Subject: [XRay][tools] Fixup for pedantic and permissive errors/warnings X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=01b880a954364f03ee42087a67a29bf289f1f1a5;p=platform%2Fupstream%2Fllvm.git [XRay][tools] Fixup for pedantic and permissive errors/warnings Remove extraneous semicolons and fully qualify the Trace type. Follow-up to D29320. llvm-svn: 301161 --- diff --git a/llvm/tools/llvm-xray/xray-graph-diff.h b/llvm/tools/llvm-xray/xray-graph-diff.h index 7a21cce..5abec91 100644 --- a/llvm/tools/llvm-xray/xray-graph-diff.h +++ b/llvm/tools/llvm-xray/xray-graph-diff.h @@ -49,7 +49,7 @@ public: std::array, N> G; public: - template Factory(Ts &... Args) : G{{Args...}} {}; + template Factory(Ts &... Args) : G{{Args...}} {} Expected 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 diff --git a/llvm/tools/llvm-xray/xray-graph.h b/llvm/tools/llvm-xray/xray-graph.h index 81c2e0e..3636287 100644 --- a/llvm/tools/llvm-xray/xray-graph.h +++ b/llvm/tools/llvm-xray/xray-graph.h @@ -149,7 +149,7 @@ public: bool KeepGoing; bool DeduceSiblingCalls; std::string InstrMap; - Trace Trace; + ::llvm::xray::Trace Trace; Expected getGraphRenderer(); };