[PATCH] D33899: Allow VersionPrinter to print to arbitrary raw_ostreams

Dimitry Andric via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 6 14:14:23 PDT 2017


dim updated this revision to Diff 101622.
dim added a comment.

Use a `std::function object` instead of a plain function pointer.


https://reviews.llvm.org/D33899

Files:
  include/llvm/Support/CommandLine.h
  include/llvm/Support/TargetRegistry.h
  lib/Support/CommandLine.cpp
  lib/Support/TargetRegistry.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33899.101622.patch
Type: text/x-patch
Size: 4932 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170606/b92b0fd5/attachment.bin>


More information about the llvm-commits mailing list