[all-commits] [llvm/llvm-project] f581d1: [AArch64] AArch64AsmParser::tryParseImmRange - don...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Jun 21 08:07:46 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f581d197b7f9896f1a64922ef9928be911c96f4e
      https://github.com/llvm/llvm-project/commit/f581d197b7f9896f1a64922ef9928be911c96f4e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2024-06-21 (Fri, 21 Jun 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp

  Log Message:
  -----------
  [AArch64] AArch64AsmParser::tryParseImmRange - don't directly dereference pointers from dyn_cast

Static analysis was reporting that dyn_cast<> can return null on failure - use cast<> 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