[all-commits] [llvm/llvm-project] 024c3d: [clang][Interp][NFC] Refactor Program::getGlobal()

Timm Baeder via All-commits all-commits at lists.llvm.org
Mon Apr 22 06:29:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 024c3d0c079fd9297725c35082316f2ca29c9526
      https://github.com/llvm/llvm-project/commit/024c3d0c079fd9297725c35082316f2ca29c9526
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-04-22 (Mon, 22 Apr 2024)

  Changed paths:
    M clang/lib/AST/Interp/Program.cpp

  Log Message:
  -----------
  [clang][Interp][NFC] Refactor Program::getGlobal()

Move the iterator declarations into the if statements and return
std::nullopt explicitly.


  Commit: abca85b3f7d5d3a1ae8dfea37d41e913c67b9bab
      https://github.com/llvm/llvm-project/commit/abca85b3f7d5d3a1ae8dfea37d41e913c67b9bab
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-04-22 (Mon, 22 Apr 2024)

  Changed paths:
    M clang/lib/AST/Interp/Program.cpp
    M clang/test/AST/Interp/literals.cpp

  Log Message:
  -----------
  [clang][Interp] Remove faulty assertion

The assertion doesn't work if there are multiple declarations for
a variable involved.


  Commit: 5ef5eb66fb428aaf61fb51b709f065c069c11242
      https://github.com/llvm/llvm-project/commit/5ef5eb66fb428aaf61fb51b709f065c069c11242
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-04-22 (Mon, 22 Apr 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeStmtGen.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Opcodes.td
    M clang/test/SemaCXX/cxx23-assume.cpp

  Log Message:
  -----------
  [clang][Interp] Implement C++23 [[assume]] support


Compare: https://github.com/llvm/llvm-project/compare/36c8af66e08e...5ef5eb66fb42

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