[all-commits] [llvm/llvm-project] 9c2843: [NFC] Make 'Triple&' param a 'const&' instead (#11...

Sirraide via All-commits all-commits at lists.llvm.org
Tue Oct 1 12:16:32 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c2843275e8bce09837767c0e453a68bc164116c
      https://github.com/llvm/llvm-project/commit/9c2843275e8bce09837767c0e453a68bc164116c
  Author: Sirraide <aeternalmail at gmail.com>
  Date:   2024-10-01 (Tue, 01 Oct 2024)

  Changed paths:
    M llvm/include/llvm/Object/Archive.h
    M llvm/lib/Object/Archive.cpp

  Log Message:
  -----------
  [NFC] Make 'Triple&' param a 'const&' instead (#110628)

There isn’t really a reason for it not to be a `const&` (afaict), and it
is a bit annoying because some APIs (e.g. `TargetMachine::getTargetTriple()`) 
return a `const Triple&`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list