[all-commits] [llvm/llvm-project] 2a7252: [NFC][LLVM] Pass/return SMLoc by value instead of ...

Rahul Joshi via All-commits all-commits at lists.llvm.org
Fri Sep 26 08:58:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a72522c52bb1f58609b6f53e8304542cfd3eb34
      https://github.com/llvm/llvm-project/commit/2a72522c52bb1f58609b6f53e8304542cfd3eb34
  Author: Rahul Joshi <rjoshi at nvidia.com>
  Date:   2025-09-26 (Fri, 26 Sep 2025)

  Changed paths:
    M llvm/include/llvm/Support/SMLoc.h
    M llvm/include/llvm/TableGen/Record.h
    M llvm/lib/MC/MCSFrame.cpp
    M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
    M llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
    M llvm/lib/Target/M68k/AsmParser/M68kAsmParser.cpp
    M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
    M llvm/utils/FileCheck/FileCheck.cpp

  Log Message:
  -----------
  [NFC][LLVM] Pass/return SMLoc by value instead of const reference (#160797)

SMLoc itself encapsulates just a pointer, so there is no need to pass or
return it by reference.



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