[clang] [clang][ast]: Add DynamicAllocLValue and TypeInfoLValue support to APValue::dump(). (PR #135178)
Timm Baeder via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 14 01:04:43 PDT 2025
================
@@ -738,6 +738,15 @@ void TextNodeDumper::Visit(const APValue &Value, QualType Ty) {
else if (const auto *BE = B.dyn_cast<const Expr *>()) {
OS << BE->getStmtClassName() << ' ';
dumpPointer(BE);
+ } else if (B.is<TypeInfoLValue>()) {
----------------
tbaederr wrote:
```suggestion
} else if (const auto BTI= B.dyn_casty<TypeInfoLValue>()) {
```
https://github.com/llvm/llvm-project/pull/135178
More information about the cfe-commits
mailing list