[Lldb-commits] [clang] [clang-tools-extra] [lldb] Reland: [clang] preserve class type sugar when taking pointer to member (PR #132401)

via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 15 11:06:34 PDT 2025


eaeltsin wrote:

No, the problem seems to be in serialization/deserialization, there must be some mismatch between `ASTStmtWriter::VisitSubstNonTypeTemplateParmExpr` and `ASTStmtReader::VisitSubstNonTypeTemplateParmExpr`.

More precisely, I'm seeing that `ASTStmtWriter::VisitSubstNonTypeTemplateParmExpr` outputs a record of 5 elements, while `ASTStmtReader::VisitSubstNonTypeTemplateParmExpr` gets a record of 4 elements as input, and thus triggers assertion when reading the source location.


https://github.com/llvm/llvm-project/pull/132401


More information about the lldb-commits mailing list