[all-commits] [llvm/llvm-project] 3af474: Changes to print-changed classes in preparation fo...

jamieschmeiser via All-commits all-commits at lists.llvm.org
Tue Oct 19 07:59:00 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3af474c0a15a642e5d73981d5cdf465bbdfc3d51
      https://github.com/llvm/llvm-project/commit/3af474c0a15a642e5d73981d5cdf465bbdfc3d51
  Author: Jamie Schmeiser <schmeise at ca.ibm.com>
  Date:   2021-10-19 (Tue, 19 Oct 2021)

  Changed paths:
    M llvm/include/llvm/Passes/StandardInstrumentations.h
    M llvm/lib/Passes/StandardInstrumentations.cpp

  Log Message:
  -----------
  Changes to print-changed classes in preparation for DotCfg change printer

Summary:
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==. The only intentional functional change was to add the exe name
as the first parameter to llvm::sys::ExecuteAndWait

Author: Jamie Schmeiser <schmeise at ca.ibm.com>
Reviewed By: aeubanks (Arthur Eubanks)
Differential Revision: https://reviews.llvm.org/D110737




More information about the All-commits mailing list