[all-commits] [llvm/llvm-project] 5ea647: [CodeGen] Assert that EmittedDeferredDecls is empty

Jonas Hahnfeld via All-commits all-commits at lists.llvm.org
Mon Jul 31 04:40:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ea647dea6355304b641bf7bc407db497c6d9d21
      https://github.com/llvm/llvm-project/commit/5ea647dea6355304b641bf7bc407db497c6d9d21
  Author: Jonas Hahnfeld <jonas.hahnfeld at cern.ch>
  Date:   2023-07-31 (Mon, 31 Jul 2023)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp

  Log Message:
  -----------
  [CodeGen] Assert that EmittedDeferredDecls is empty

Its contents are transferred into DeferredDecls in Release(), so it
should be empty in moveLazyEmissionStates(). This matches the code
downstream in Cling.

Differential Revision: https://reviews.llvm.org/D156660




More information about the All-commits mailing list