[all-commits] [llvm/llvm-project] effbf0: PR52183: Don't emit code for a void-typed constant...

Richard Smith via All-commits all-commits at lists.llvm.org
Thu Oct 14 20:56:18 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: effbf0bdd039237542ac5e9afe1f23c9386010e2
      https://github.com/llvm/llvm-project/commit/effbf0bdd039237542ac5e9afe1f23c9386010e2
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2021-10-14 (Thu, 14 Oct 2021)

  Changed paths:
    M clang/lib/CodeGen/CGExprConstant.cpp
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/test/CodeGenCXX/cxx2a-consteval.cpp

  Log Message:
  -----------
  PR52183: Don't emit code for a void-typed constant expression.

This is unnecessary in general, and wrong when the expression invokes a
consteval function.




More information about the All-commits mailing list