[all-commits] [llvm/llvm-project] 8a3fe3: [PATCH] [clang][frontend] Fix serialization for CX...

Paul Schwabauer via All-commits all-commits at lists.llvm.org
Fri Mar 28 03:34:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a3fe30a0a394ed3aa30ce4ba16e5a148a8bdd53
      https://github.com/llvm/llvm-project/commit/8a3fe30a0a394ed3aa30ce4ba16e5a148a8bdd53
  Author: Paul Schwabauer <pschwabauer at intevation.de>
  Date:   2025-03-28 (Fri, 28 Mar 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Serialization/ASTWriterDecl.cpp
    A clang/test/Modules/ComplexExplicitSpecifier.cpp

  Log Message:
  -----------
  [PATCH] [clang][frontend] Fix serialization for CXXConstructorDecl (refs llvm#132794) (#133077)

When retrieving the ExplicitSpecifier from a CXXConstructorDecl, one of
its canonical declarations is returned. To correctly write the
declaration record the ExplicitSpecifier of the current declaration must
be used.

Failing to do so results in a crash during deserialization.



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