Author: Timm Bäder Date: 2024-06-29T09:42:36+02:00 New Revision: 8d3abc92d663552b97de083e77d2cc76164d0dd4
URL: https://github.com/llvm/llvm-project/commit/8d3abc92d663552b97de083e77d2cc76164d0dd4 DIFF: https://github.com/llvm/llvm-project/commit/8d3abc92d663552b97de083e77d2cc76164d0dd4.diff LOG: [clang][Interp][NFC] Dump expression address Added: Modified: clang/lib/AST/Interp/Disasm.cpp Removed: ################################################################################ diff --git a/clang/lib/AST/Interp/Disasm.cpp b/clang/lib/AST/Interp/Disasm.cpp index 8204fd1bc040c..56c2b7032f6d5 100644 --- a/clang/lib/AST/Interp/Disasm.cpp +++ b/clang/lib/AST/Interp/Disasm.cpp @@ -205,7 +205,7 @@ LLVM_DUMP_METHOD void Descriptor::dump(llvm::raw_ostream &OS) const { if (const auto *ND = dyn_cast_if_present<NamedDecl>(asDecl())) ND->printQualifiedName(OS); else if (asExpr()) - OS << "expr (TODO)"; + OS << "Expr " << (const void *)asExpr(); } // Print a few interesting bits about the descriptor. _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits