[all-commits] [llvm/llvm-project] 743ff9: [clang-repl] Do not assert if we have weak referen...

Vassil Vassilev via All-commits all-commits at lists.llvm.org
Mon May 8 02:13:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 743ff9c8bad375d4cea0c44a89cdcc117ffc9bf3
      https://github.com/llvm/llvm-project/commit/743ff9c8bad375d4cea0c44a89cdcc117ffc9bf3
  Author: Vassil Vassilev <v.g.vassilev at gmail.com>
  Date:   2023-05-08 (Mon, 08 May 2023)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/test/Interpreter/execute-weak.cpp

  Log Message:
  -----------
  [clang-repl] Do not assert if we have weak references left.

Non-incremental Clang can also exit with the WeakRefReferences not empty upon
such example. This patch makes clang-repl consistent to what Clang does.

Differential revision: https://reviews.llvm.org/D148435




More information about the All-commits mailing list