njames93 added inline comments.
================ Comment at: clang/include/clang/Basic/DiagnosticSemaKinds.td:7459-7460 "capture-default specified">; + def note_lambda_variable_capture_fixit : Note< + "capture variable %0 by %select{value|reference}1">; + def note_lambda_default_capture_fixit : Note< ---------------- Does the variable name need attaching to the note, given the note is attached to a fix-it containing the name of the variable already? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D96975/new/ https://reviews.llvm.org/D96975 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits