[all-commits] [llvm/llvm-project] 2d7bfc: ELF: Use dyn_cast to access sym field.

Peter Collingbourne via All-commits all-commits at lists.llvm.org
Tue May 5 18:09:18 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d7bfcdd868a8c29ee567ef7eb5029fe825d175f
      https://github.com/llvm/llvm-project/commit/2d7bfcdd868a8c29ee567ef7eb5029fe825d175f
  Author: Peter Collingbourne <pcc at google.com>
  Date:   2026-05-05 (Tue, 05 May 2026)

  Changed paths:
    M lld/ELF/Arch/TargetImpl.h

  Log Message:
  -----------
  ELF: Use dyn_cast to access sym field.

dyn_cast_or_null is unnecessary because this field is non-null.

Reviewers: MaskRay

Pull Request: https://github.com/llvm/llvm-project/pull/195785



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