[all-commits] [llvm/llvm-project] 5b189d: [clang] Fix designated initializers inside templat...

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Mon Oct 23 01:44:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b189d6f5606b051667b363f7430a7b990afab34
      https://github.com/llvm/llvm-project/commit/5b189d6f5606b051667b363f7430a7b990afab34
  Author: Mariya Podchishchaeva <mariya.podchishchaeva at intel.com>
  Date:   2023-10-23 (Mon, 23 Oct 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/TreeTransform.h
    M clang/test/SemaCXX/cxx2b-designated-initializers.cpp

  Log Message:
  -----------
  [clang] Fix designated initializers inside templates (#69712)

Skip anonymous members when rebuilding `DesignatedInitExpr` since
designated inits for them are meant to be created during
`InitListChecker::CheckDesignatedInitializer` routine.

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




More information about the All-commits mailing list