[all-commits] [llvm/llvm-project] 5880c8: [Sema] Avoid crash in CheckEnumConstant with conta...

Sam McCall via All-commits all-commits at lists.llvm.org
Tue Nov 2 07:36:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5880c835bdbe50542a19c3e4065d1536db711443
      https://github.com/llvm/llvm-project/commit/5880c835bdbe50542a19c3e4065d1536db711443
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2021-11-02 (Tue, 02 Nov 2021)

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

  Log Message:
  -----------
  [Sema] Avoid crash in CheckEnumConstant with contains-error expressions

Fixes https://bugs.llvm.org/show_bug.cgi?id=51554

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




More information about the All-commits mailing list