[clang] [Clang] [P2996] Support reflecting arbitrary types and aliases (PR #232074)
Corentin Jabot via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 30 03:29:25 PDT 2026
================
@@ -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
More information about the cfe-commits
mailing list