[all-commits] [llvm/llvm-project] 740861: [clang] Fix a crash issue that caused by handling ...

yronglin via All-commits all-commits at lists.llvm.org
Tue Dec 10 04:57:15 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 740861d69c2d2988ed69bc264df73bc5ae9d9e49
      https://github.com/llvm/llvm-project/commit/740861d69c2d2988ed69bc264df73bc5ae9d9e49
  Author: yronglin <yronglin777 at gmail.com>
  Date:   2024-12-10 (Tue, 10 Dec 2024)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Parse/ParseCXXInlineMethods.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/lib/Sema/SemaInit.cpp
    M clang/test/AST/ast-dump-recovery.cpp
    M clang/test/SemaCXX/cxx1y-initializer-aggregates.cpp

  Log Message:
  -----------
  [clang] Fix a crash issue that caused by handling of fields with initializers in nested anonymous unions (#113049)

Fixes: https://github.com/llvm/llvm-project/issues/112560

This PR create an RecoveryExpr for invalid in-class-initializer.

---------

Signed-off-by: yronglin <yronglin777 at gmail.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