[all-commits] [llvm/llvm-project] 17414e: [clang][Interp] Fix returning nullptr from functio...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Oct 10 02:19:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17414eae242b77fe40ce671793bce5fb2e6a3a04
      https://github.com/llvm/llvm-project/commit/17414eae242b77fe40ce671793bce5fb2e6a3a04
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2023-10-10 (Tue, 10 Oct 2023)

  Changed paths:
    M clang/lib/AST/Interp/Interp.h
    M clang/test/AST/Interp/functions.cpp

  Log Message:
  -----------
  [clang][Interp] Fix returning nullptr from functions (#67229)

isLive() is false for null pointers, so we need to special-case this
here.




More information about the All-commits mailing list