================
@@ -624,7 +624,7 @@ let Class = PropertyTypeCase<APValue, "Reflection"> in {
   def : Property<"reflectionType", QualType> {
     let Conditional = [{ reflectionKind == ReflectionKind::Type }];
     let Read = [{
-      QualType::getFromOpaquePtr(node.getReflectionOpaqueOperand())
+      static_cast<const TypeSourceInfo 
*>(node.getReflectionOpaqueOperand())->getType()
     }];
   }
----------------
cor3ntin wrote:

Agreed

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

Reply via email to