[all-commits] [llvm/llvm-project] 11e52e: [clang] Short-circuit trivial constructors when ev...

Timm Bäder via All-commits all-commits at lists.llvm.org
Wed Aug 3 01:41:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11e52ecf74e942b738fa8496960bbb2f0a7373de
      https://github.com/llvm/llvm-project/commit/11e52ecf74e942b738fa8496960bbb2f0a7373de
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2022-08-03 (Wed, 03 Aug 2022)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ExprConstant.cpp

  Log Message:
  -----------
  [clang] Short-circuit trivial constructors when evaluating arrays

VisitCXXConstructExpr() will later do something similar, but for large
arrays, we should try to do it once an not for every element.

Fixes #56774

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




More information about the All-commits mailing list