[all-commits] [llvm/llvm-project] e81f9c: [AST][test] Add regression test forPointerExprEval...

jkorous-apple via All-commits all-commits at lists.llvm.org
Thu Jul 9 12:11:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e81f9cd2137f258fd1ec6a169db836387bcca84a
      https://github.com/llvm/llvm-project/commit/e81f9cd2137f258fd1ec6a169db836387bcca84a
  Author: Jan Korous <jkorous at apple.com>
  Date:   2020-07-09 (Thu, 09 Jul 2020)

  Changed paths:
    A clang/test/AST/regression-new-expr-crash.cpp

  Log Message:
  -----------
  [AST][test] Add regression test forPointerExprEvaluator::VisitCXXNewExpr

This assert was failing:
assert(CAT && "unexpected type for array initializer");

until this patch landed:
9a7eda1bece887ca9af085d79fe6e4fb8826dcda
PR45350: Handle unsized array CXXConstructExprs in constant evaluation




More information about the All-commits mailing list