================ @@ -255,20 +257,18 @@ class InferPedantic { GMap; DiagGroupParentMap &DiagGroupParents; - const std::vector<Record*> &Diags; - const std::vector<Record*> DiagGroups; + ArrayRef<const Record *> Diags; ---------------- AaronBallman wrote:
Are we sure this isn't going to cause lifetime issues because `ArrayRef` does not own its memory? https://github.com/llvm/llvm-project/pull/108209 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits