[all-commits] [llvm/llvm-project] 38a977: [clang-repl] Always clean up scope and context for...

Devajith via All-commits all-commits at lists.llvm.org
Wed Jul 23 08:03:28 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 38a977d00c4e22f4a2a21e5f577c57df2053872e
      https://github.com/llvm/llvm-project/commit/38a977d00c4e22f4a2a21e5f577c57df2053872e
  Author: Devajith <devajith.valaparambil.sreeramaswamy at cern.ch>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/test/Interpreter/fail.cpp

  Log Message:
  -----------
  [clang-repl] Always clean up scope and context for TopLevelStmtDecl (#150215)

This fixes an issue introduced by
https://github.com/llvm/llvm-project/pull/84150, where failing to pop
compound scope, function scope info, and decl context after a failed
statement could lead to an inconsistent internal state.



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