[all-commits] [llvm/llvm-project] cd5c55: [Clang][NFC] Use move in std::vector local in Hand...

Shafik Yaghmour via All-commits all-commits at lists.llvm.org
Thu Jun 5 07:44:25 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd5c55510b9e4224bbb1d27b8c29547eec2c4ee5
      https://github.com/llvm/llvm-project/commit/cd5c55510b9e4224bbb1d27b8c29547eec2c4ee5
  Author: Shafik Yaghmour <shafik.yaghmour at intel.com>
  Date:   2025-06-05 (Thu, 05 Jun 2025)

  Changed paths:
    M clang/lib/Frontend/FrontendAction.cpp

  Log Message:
  -----------
  [Clang][NFC] Use move in std::vector local in HandleTranslationUnit (#142851)

Static analysis flagged this since we could move MergedRanges since it
is a std::vector, a local and unused after that line. So there is a
potential saving.



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