[all-commits] [llvm/llvm-project] 5589f2: [clang][Interp] Merge FunctionPointer into Pointer

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Jul 23 07:14:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5589f2977117ec4685018472ca5f01355424bab9
      https://github.com/llvm/llvm-project/commit/5589f2977117ec4685018472ca5f01355424bab9
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-07-23 (Tue, 23 Jul 2024)

  Changed paths:
    M clang/lib/AST/Interp/FunctionPointer.h
    M clang/lib/AST/Interp/Interp.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/Pointer.cpp
    M clang/lib/AST/Interp/Pointer.h

  Log Message:
  -----------
  [clang][Interp] Merge FunctionPointer into Pointer

Back when I introduced the FunctionPointer class, I assumed that we
can always know that a Pointer is not a FunctionPointer. With the
DecayPtr op, that changed somewhat, but the information whether a
Pointer was created through a FunctionPointer was lost.

However, we need this information, especially when we're in the
codegen stage.



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