[all-commits] [llvm/llvm-project] 5c9a84: [clang][Interp][NFC] Use const references to Floating

Timm Bäder via All-commits all-commits at lists.llvm.org
Thu May 4 01:04:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5c9a84960de2260f149ee15313998593255a78df
      https://github.com/llvm/llvm-project/commit/5c9a84960de2260f149ee15313998593255a78df
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2023-05-04 (Thu, 04 May 2023)

  Changed paths:
    M clang/lib/AST/Interp/Floating.h

  Log Message:
  -----------
  [clang][Interp][NFC] Use const references to Floating

in the static functions. Since a Floating is backed by an APFloat, we
don't want to copy that around if it's not necessary.




More information about the All-commits mailing list