================
@@ -1355,7 +1355,7 @@ class BlockPointerTypeLoc : public 
PointerLikeTypeLoc<BlockPointerTypeLoc,
 };
 
 struct MemberPointerLocInfo : public PointerLikeLocInfo {
-  TypeSourceInfo *ClassTInfo;
+  void *QualifierData = nullptr;
----------------
mizvekov wrote:

This is actually not just an issue with NestedSpecifierLoc.

TypeLoc provides access to the opaque data through this void pointer, through 
the getOpaqueData method.
I added a comment there, but chances are low somebody is going to do something 
about it anytime soon :)

There are far worse issues just on TypeLoc itself which are still there from 
the initial implementation 15 years ago.

https://github.com/llvm/llvm-project/pull/130537
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to