================
@@ -812,6 +813,7 @@ class ASTContext : public RefCountedBase<ASTContext> {
   mutable DeclarationNameTable DeclarationNames;
   IntrusiveRefCntPtr<ExternalASTSource> ExternalSource;
   ASTMutationListener *Listener = nullptr;
+  SmallVector<PartialDiagnosticAt> *MSConstExprDiag = nullptr;
----------------
efriedma-quic wrote:

How many steps would it be to pass this down explicitly instead of going 
through ASTContext?  I think I'd prefer to pass down explicitly; it's more 
code, but implicit stacks like this are really terrible to reason about.

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

Reply via email to