[PATCH] D31870: [XRay][tools] Fix an accounting bug in llvm-xray account
Dean Michael Berris via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 30 17:57:54 PDT 2017
dberris marked an inline comment as done.
dberris added inline comments.
================
Comment at: tools/llvm-xray/xray-account.cc:412
+namespace llvm {
+template <> struct format_provider<llvm::xray::RecordTypes> {
+ static void format(const llvm::xray::RecordTypes &T, raw_ostream &Stream,
----------------
eizan wrote:
> This struct doesn't appear to be used anywhere. Do we need it?
Ah, yes -- this is a specialization of a type used by the `llvm::format(...)` library for specifically the RecordTypes enum class.
https://reviews.llvm.org/D31870
More information about the llvm-commits
mailing list