cor3ntin wrote:

> @AaronBallman should take a look at this. I don't have a problem with it, but 
> I'm suspicious of it, as using the ASTContext for allocation SEEMS like it 
> shouldn't be a 'const' thing to do .

Right. This is mutating the AST. I'm actually curious why 
`ASTAllocator::BumpAlloc` is mutable. Maybe it should not be.


https://github.com/llvm/llvm-project/pull/185401
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to