[all-commits] [llvm/llvm-project] b07ef4: [ELF] Rename Symbol::compare to shouldReplace. NFC

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Feb 28 10:25:38 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b07ef4d566c702ff5d71a8e6b1274a7b3c47eb4c
      https://github.com/llvm/llvm-project/commit/b07ef4d566c702ff5d71a8e6b1274a7b3c47eb4c
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-02-28 (Mon, 28 Feb 2022)

  Changed paths:
    M lld/ELF/Symbols.cpp
    M lld/ELF/Symbols.h

  Log Message:
  -----------
  [ELF] Rename Symbol::compare to shouldReplace. NFC

The return value is not a boolean instead of a tri-state.
Suggested by Peter Smith in D120640.




More information about the All-commits mailing list