[all-commits] [llvm/llvm-project] 32d7aa: [clang] Fix a clang crash on invalid code in C++20...

Haojian Wu via All-commits all-commits at lists.llvm.org
Fri Dec 23 03:41:58 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32d7aae04fdb58e65a952f281ff2f2c3f396d98f
      https://github.com/llvm/llvm-project/commit/32d7aae04fdb58e65a952f281ff2f2c3f396d98f
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2022-12-23 (Fri, 23 Dec 2022)

  Changed paths:
    M clang/lib/Sema/SemaInit.cpp
    M clang/test/SemaCXX/recovery-expr-type.cpp

  Log Message:
  -----------
  [clang] Fix a clang crash on invalid code in C++20 mode.

This crash is a combination of recovery-expr + new SemaInit.cpp code
introduced by by https://reviews.llvm.org/D129531.

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




More information about the All-commits mailing list