kuilpd wrote: @Michael137 I implemented your suggestion of asserting ASTNodeUPs and returning them by reference from functions like `GetIndex()`. But I also changed ASTNodes everywhere in DIL to be passed by reference instead of a pointer, so that we don't have to worry about nullptr there as well. Does it make sense or is it an overkill?
https://github.com/llvm/llvm-project/pull/173240 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
