b10902118 wrote: https://github.com/llvm/llvm-project/issues/169824#issuecomment-3587708882 > > While there is no actual position for destructor, I think it is reasonable > > to be at the same location of the corresponding constructor because it is > > decided there. > > That sounds reasonable to me for variables with automatic or static storage > duration.
Oh I excluded static variables because I was thinking of call graph, but their distructor will be invoked when the program terminates. I am not sure how to handle this. https://github.com/llvm/llvm-project/pull/171860 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
