[all-commits] [llvm/llvm-project] 7e690d: [Clang][NFC] Introduce no local variable to avoid ...

Shafik Yaghmour via All-commits all-commits at lists.llvm.org
Wed May 14 07:31:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e690db5157bfda1a2be3a99d16e8875a2d42b96
      https://github.com/llvm/llvm-project/commit/7e690db5157bfda1a2be3a99d16e8875a2d42b96
  Author: Shafik Yaghmour <shafik.yaghmour at intel.com>
  Date:   2025-05-14 (Wed, 14 May 2025)

  Changed paths:
    M clang/lib/Sema/SemaConcept.cpp

  Log Message:
  -----------
  [Clang][NFC] Introduce no local variable to avoid use after move (#139784)

Static analysis flagged the use of Left.size() because we just moved out
of Left and that would be undefined behavior. Fix is to take the size
and store it in a local variable instead.



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