[all-commits] [llvm/llvm-project] be0fa6: [clang][AST] Fix generation with multiple external...

Jonas Hahnfeld via All-commits all-commits at lists.llvm.org
Mon Sep 7 04:23:59 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be0fa604519d749fdd6e3f3b943f85a9cbdb13bf
      https://github.com/llvm/llvm-project/commit/be0fa604519d749fdd6e3f3b943f85a9cbdb13bf
  Author: Jonas Hahnfeld <jonas.hahnfeld at cern.ch>
  Date:   2026-09-07 (Mon, 07 Sep 2026)

  Changed paths:
    M clang/lib/AST/ExternalASTSource.cpp
    M clang/unittests/AST/ExternalASTSourceTest.cpp

  Log Message:
  -----------
  [clang][AST] Fix generation with multiple external sources (#219189)

ExternalASTSource::incrementGeneration returns the OldGeneration,
which must be taken into account in case it is delegated to the topmost
external source.

This obsoletes a long-standing downstream patch in Cling that was
previously submitted in https://reviews.llvm.org/D39714.

Test proposed by Vassil Vassilev, assisted by Claude.



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