[PATCH] D114223: Make ScopedPrinter interface virtual

Jayson Yan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 18 22:05:51 PST 2021


Jaysonyan created this revision.
Jaysonyan added reviewers: leonardchan, phosek, jhenderson.
Herald added subscribers: dexonsmith, mgrang.
Jaysonyan requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Make the interface provided by `ScopedPrinter` virtual to support a future `JSONScopedPrinter` which will supply it's own implementation.

This change is split off from D114052 <https://reviews.llvm.org/D114052>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114223

Files:
  llvm/include/llvm/Support/ScopedPrinter.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114223.388388.patch
Type: text/x-patch
Size: 12379 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211119/a30de695/attachment-0001.bin>


More information about the llvm-commits mailing list