Skip to content

Commit

Permalink
[XRay][tools] Fixup for pedantic and permissive errors/warnings
Browse files Browse the repository at this point in the history
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
  • Loading branch information
deanberris committed Apr 24, 2017
1 parent ae0fbfb commit 0d479b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tools/llvm-xray/xray-graph-diff.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class GraphDiffRenderer {
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();
};
Expand All @@ -66,7 +66,7 @@ class GraphDiffRenderer {
StatType VertexColor = StatType::NONE,
int TruncLen = 40);

const GraphT &getGraph() { return G; };
const GraphT &getGraph() { return G; }
};
} // namespace xray
} // namespace llvm
Expand Down
2 changes: 1 addition & 1 deletion tools/llvm-xray/xray-graph.h
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class GraphRenderer {
bool KeepGoing;
bool DeduceSiblingCalls;
std::string InstrMap;
Trace Trace;
::llvm::xray::Trace Trace;
Expected<GraphRenderer> getGraphRenderer();
};

Expand Down

0 comments on commit 0d479b0

Please sign in to comment.