[PATCH] D110737: Changes to print-changed classes in preparation for DotCfg change printer (https://reviews.llvm.org/D87202)

Jamie Schmeiser via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 29 10:35:35 PDT 2021


jamieschmeiser created this revision.
jamieschmeiser added reviewers: aeubanks, madhur13490, yrouban, ychen.
Herald added a subscriber: hiraditya.
jamieschmeiser requested review of this revision.
Herald added a project: LLVM.

Break out non-functional changes to the print-changed classes that are needed for reuse with
the DotCfg change printer in https://reviews.llvm.org/D87202.

Various changes to the change printers to facilitate reuse with the
upcoming DotCfg change printer.  This includes changing several of
the classes and their support classes to being templates.  Also,
some template parameter names were simplified to avoid confusion
with planned identifiers in the DotCfg change printer to come.  A
virtual function in the class for comparing functions was changed
to a lambda.  The virtual function same was replaced with calls to
operator==. There are no intentional functional changes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110737

Files:
  llvm/include/llvm/Passes/StandardInstrumentations.h
  llvm/lib/Passes/StandardInstrumentations.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110737.375950.patch
Type: text/x-patch
Size: 29477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210929/8a558098/attachment.bin>


More information about the llvm-commits mailing list