[all-commits] [llvm/llvm-project] e3993e: [clang][Interp] Implement __builtin_addressof (#77...
Timm Baeder via All-commits
all-commits at lists.llvm.org
Thu Jan 11 00:02:39 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e3993e044ec5925e59c131f798f823a9f16f0433
https://github.com/llvm/llvm-project/commit/e3993e044ec5925e59c131f798f823a9f16f0433
Author: Timm Baeder <tbaeder at redhat.com>
Date: 2024-01-11 (Thu, 11 Jan 2024)
Changed paths:
M clang/lib/AST/Interp/Interp.cpp
M clang/lib/AST/Interp/InterpBuiltin.cpp
M clang/test/AST/Interp/functions.cpp
Log Message:
-----------
[clang][Interp] Implement __builtin_addressof (#77303)
We don't need to do anything here, since the input is already a Pointer.
The only complexity is that we pre-classify the parameters as PT_Ptr,
but they might end up being of a different pointer type, e.g. PT_FnPtr.
More information about the All-commits
mailing list