[all-commits] [llvm/llvm-project] b1e329: [clang][Interp][NFC] Explicitly define PrimType va...

Timm Baeder via All-commits all-commits at lists.llvm.org
Mon May 27 06:43:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1e329a3f54fbe55fa61c124f94cc6c8509e5423
      https://github.com/llvm/llvm-project/commit/b1e329a3f54fbe55fa61c124f94cc6c8509e5423
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang/lib/AST/Interp/PrimType.h

  Log Message:
  -----------
  [clang][Interp][NFC] Explicitly define PrimType values

So I don't have to count them down all the time.


  Commit: 6a197b35db0805e77d5103382b5b516ca0c2db1d
      https://github.com/llvm/llvm-project/commit/6a197b35db0805e77d5103382b5b516ca0c2db1d
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-05-27 (Mon, 27 May 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/test/AST/Interp/functions.cpp

  Log Message:
  -----------
  [clang][Interp] Fix returning references to functions

Previously, we pushed a pointer to the stack and later tried to use
it as if it was a function pointer, which doesn't work.


Compare: https://github.com/llvm/llvm-project/compare/a487616cbf54...6a197b35db08

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