[all-commits] [llvm/llvm-project] 16492a: [BOLT][NFC] Rename {MachO, }RewriteInstance::create...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Thu Feb 2 12:30:59 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16492a6143aba599beaac71752f612751ab3af09
      https://github.com/llvm/llvm-project/commit/16492a6143aba599beaac71752f612751ab3af09
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2023-02-02 (Thu, 02 Feb 2023)

  Changed paths:
    M bolt/include/bolt/Rewrite/MachORewriteInstance.h
    M bolt/include/bolt/Rewrite/RewriteInstance.h
    M bolt/lib/Rewrite/MachORewriteInstance.cpp
    M bolt/lib/Rewrite/RewriteInstance.cpp
    M bolt/tools/driver/llvm-bolt.cpp
    M bolt/tools/heatmap/heatmap.cpp
    M bolt/tools/llvm-bolt-fuzzer/llvm-bolt-fuzzer.cpp

  Log Message:
  -----------
  [BOLT][NFC] Rename {MachO,}RewriteInstance::create methods

Follow the code style of fallible constructors in [LLVM Programmer's Manual]
(https://llvm.org/docs/ProgrammersManual.html#fallible-constructors)
and rename `RewriteInstance::createRewriteInstance` to `RewriteInstance::create`

Reviewed By: #bolt, rafauler

Differential Revision: https://reviews.llvm.org/D143119




More information about the All-commits mailing list