jlebar added inline comments.

> rnk wrote in Sema.h:9258
> The ASTContext should outlive IRgen, since the AST is allocated in its arena. 
> Is there a separate diagnostic memory pool that I don't know about?

You're right, this is a silly bug.  Fixed in a separate patch, 
https://reviews.llvm.org/D25260 -- with that change we can do the natural thing 
here.

https://reviews.llvm.org/D25139



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to