[all-commits] [llvm/llvm-project] 2a4992: Fix mistake in comment regarding dyn_cast_or_null ...

ofri frishman via All-commits all-commits at lists.llvm.org
Wed Sep 11 08:02:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a4992e9e34de6b74aa8c254fea867d1271b3e97
      https://github.com/llvm/llvm-project/commit/2a4992e9e34de6b74aa8c254fea867d1271b3e97
  Author: ofri frishman <32477595+ofri-frishman at users.noreply.github.com>
  Date:   2024-09-11 (Wed, 11 Sep 2024)

  Changed paths:
    M llvm/include/llvm/Support/Casting.h

  Log Message:
  -----------
  Fix mistake in comment regarding dyn_cast_or_null (#108026)

There was a mistake in a comment regarding dyn_cast_or_null deprication.
It was suggested to use cast_if_present instead of dyn_cast_or_null, but
that was probably a copy paste mistake, and dyn_cast_if_present is the
function that should be used instead of dyn_cast_or_null.

Authored-by: Ofri Frishman <ofri.frishman at mobileye.com>



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