[all-commits] [llvm/llvm-project] c524f1: No longer crash when a consteval function returns ...

Aaron Ballman via All-commits all-commits at lists.llvm.org
Thu Nov 4 06:41:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c524f1a0764da0c8d1775b2860dfc33901ca9c8f
      https://github.com/llvm/llvm-project/commit/c524f1a0764da0c8d1775b2860dfc33901ca9c8f
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2021-11-04 (Thu, 04 Nov 2021)

  Changed paths:
    M clang/lib/CodeGen/CGExprAgg.cpp
    M clang/test/CodeGenCXX/cxx20-consteval-crash.cpp

  Log Message:
  -----------
  No longer crash when a consteval function returns a structure

Ensure that the destination slot exists in this case. This addresses PR51484.




More information about the All-commits mailing list