[all-commits] [llvm/llvm-project] 1fbf74: [flang] Pass unmodified std::vector as const refer...

Peter Klausler via All-commits all-commits at lists.llvm.org
Tue Jun 11 17:16:04 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fbf7486a5c187f0283174bbf92ee25519786ed3
      https://github.com/llvm/llvm-project/commit/1fbf7486a5c187f0283174bbf92ee25519786ed3
  Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
  Date:   2024-06-11 (Tue, 11 Jun 2024)

  Changed paths:
    M flang/lib/Semantics/expression.cpp

  Log Message:
  -----------
  [flang] Pass unmodified std::vector as const reference (#95050)

cppcheck recommends that a std::vector argument be passed as a const
reference rather than by value.

Fixes https://github.com/llvm/llvm-project/issues/94929.



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