[all-commits] [llvm/llvm-project] b6a5ae: [NFC][CLANG] Fix issue with dereference null retur...

smanna12 via All-commits all-commits at lists.llvm.org
Sun May 28 20:13:02 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b6a5aeadb5588dedc09eacc3b98b0278d6d53529
  Author: Manna, Soumi <soumi.manna at intel.com>
  Date:   2023-05-28 (Sun, 28 May 2023)

  Changed paths:
    M clang/lib/AST/ExprConstant.cpp

  Log Message:
  [NFC][CLANG] Fix issue with dereference null return value in EvaluateBuiltinClassifyType()

This patch uses cast instead of dyn_cast which will assert if the type doesn't match.

Reviewed By: erichkeane

Differential Revision: https://reviews.llvm.org/D151469

More information about the All-commits mailing list