[all-commits] [llvm/llvm-project] b63247: [AST][RecoveryExpr] Fix a crash on c89/c90 invalid...

Ding Fei via All-commits all-commits at lists.llvm.org
Tue Apr 16 07:38:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b63247627c9e87e898dec5bf0bea255b3f0eec5c
      https://github.com/llvm/llvm-project/commit/b63247627c9e87e898dec5bf0bea255b3f0eec5c
  Author: Ding Fei <fding at feysh.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaExpr.cpp
    A clang/test/Sema/recover-expr-gh88008-nocrash.c

  Log Message:
  -----------
  [AST][RecoveryExpr] Fix a crash on c89/c90 invalid InitListExpr (#88008) (#88014)

Use refactored `CheckForConstantInitializer()` to skip checking expr
with error.

---------

Co-authored-by: Aaron Ballman <aaron at aaronballman.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list