[all-commits] [llvm/llvm-project] 16dfd3: [llvm] Fix C++23 error in ParentMapContext (#163553)

Victor Vianna via All-commits all-commits at lists.llvm.org
Wed Oct 15 08:26:07 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16dfd317f38ebfc0bd39a5e20e2a8851daa4f8b8
      https://github.com/llvm/llvm-project/commit/16dfd317f38ebfc0bd39a5e20e2a8851daa4f8b8
  Author: Victor Vianna <victor.vianna10 at gmail.com>
  Date:   2025-10-15 (Wed, 15 Oct 2025)

  Changed paths:
    M clang/lib/AST/ParentMapContext.cpp

  Log Message:
  -----------
  [llvm] Fix C++23 error in ParentMapContext (#163553)

ParentMapContext::ParentMapContext(ASTContext &Ctx) instantiates
~unique_ptr<ParentMapContext::ParentMap>, so it must be defined after
that class is a complete type.

Co-authored-by: Victor Hugo Vianna Silva <victorvianna at google.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