This will let us (in a separate patch) allocate deferred diagnostics in
the ASTContext's PartialDiagnostic arena.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
clang/lib/CodeGen/CodeGenModule.cpp | ||
---|---|---|
512–513 ↗ | (On Diff #73575) | The ASTContext outlives CodeGenModule, but the diagnostic allocator in the ASTContext does not. As written, this suggests that CGM outlives ASTContext, which isn't right. |