[clang] [clang-tools-extra] [clang] Hide the `DiagnosticOptions` pointer from `CompilerInvocation` (PR #106274)
Jan Svoboda via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 29 09:24:04 PDT 2024
jansvoboda11 wrote:
> yes turning diagnosticoptions to be a ThreadSafeRefCountedBase pointer should ensure we have similar guarantees. so LG from clangd side
Thanks for confirming!
> I am not sure about implications on using thread-aware structs in core parts of clang. so it might be worthwhile to get some opinions from clang maintainers as well.
Good point. @AaronBallman any thoughts?
https://github.com/llvm/llvm-project/pull/106274
More information about the cfe-commits
mailing list