1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[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
This commit is contained in:
Dean Michael Berris 2017-04-24 06:15:53 +00:00
parent 4e65f702e9
commit 2cd18f19be
2 changed files with 3 additions and 3 deletions

View 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

View File

@ -149,7 +149,7 @@ public:
bool KeepGoing;
bool DeduceSiblingCalls;
std::string InstrMap;
Trace Trace;
::llvm::xray::Trace Trace;
Expected<GraphRenderer> getGraphRenderer();
};