[all-commits] [llvm/llvm-project] cfd36a: [WebAssembly] Use ArrayRef/SmallVectorImpl in para...

Heejin Ahn via All-commits all-commits at lists.llvm.org
Wed Mar 29 12:48:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cfd36aa5b7738363653c66fc2f6fcde32bc8f829
      https://github.com/llvm/llvm-project/commit/cfd36aa5b7738363653c66fc2f6fcde32bc8f829
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2023-03-29 (Wed, 29 Mar 2023)

  Changed paths:
    M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.cpp
    M llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmTypeCheck.h
    M llvm/lib/Target/WebAssembly/Utils/WebAssemblyTypeUtilities.cpp
    M llvm/lib/Target/WebAssembly/Utils/WebAssemblyTypeUtilities.h
    M llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h

  Log Message:
  -----------
  [WebAssembly] Use ArrayRef/SmallVectorImpl in parameters (NFC)

It is recommended to use `SmallVectorImpl`/`ArrayRef` over
`SmallVector<TypeName, N>` for function parameters:
https://llvm.org/docs/ProgrammersManual.html#llvm-adt-smallvector-h

Reviewed By: dschuff

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




More information about the All-commits mailing list