================
@@ -150,7 +150,7 @@ class VTableComponent {
 
   bool isRTTIKind() const { return isRTTIKind(getKind()); }
 
-  GlobalDecl getGlobalDecl() const {
+  GlobalDecl getGlobalDecl(bool HasVectorDeletingDtors) const {
----------------
Fznamznon wrote:

`VTableComponent` uses a single `int64_t` value to store its kind and offset. I 
don't think I can somehow alter it since there is already 8 kinds for 3 bits 
reserved for kind and I'm not sure I can touch the offset. That would probably 
mean adding one more member field to `VTableComponent` just for the sake of 
this check and looking at how it uses just 3 bits for storing its kind I 
hesitate adding anything there.

I think @rnk already thought about this in 
https://github.com/llvm/llvm-project/pull/126240#discussion_r1962107531 .

https://github.com/llvm/llvm-project/pull/165598
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to