[PATCH] D156027: [clang][Interp] Rework how initializers work
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 25 22:02:12 PDT 2023
tbaeder added a comment.
Note that this patch also supercedes:
1. https://reviews.llvm.org/D153616
2. https://reviews.llvm.org/D153653
3. https://reviews.llvm.org/D147591
since it handles those cases more generally.
================
Comment at: clang/lib/AST/Interp/Context.cpp:131
if (T->isFunctionPointerType() || T->isFunctionReferenceType() ||
- T->isFunctionType())
+ T->isFunctionType() || T->isSpecificBuiltinType(BuiltinType::BoundMember))
return PT_FnPtr;
----------------
I've removed this change in https://reviews.llvm.org/D144164 since it didn't seem necessary, but it //is// necessary after applying this patch.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D156027/new/
https://reviews.llvm.org/D156027
More information about the cfe-commits
mailing list