================ @@ -9290,6 +9290,8 @@ def warn_unused_result_typedef_unsupported_spelling : Warning< def warn_unused_volatile : Warning< "expression result unused; assign into a variable to force a volatile load">, InGroup<DiagGroup<"unused-volatile-lvalue">>; +def note_nodiscard_specified_here : Note< ---------------- Mick235711 wrote:
That note currently reads: ``` def note_availability_specified_here : Note< "%0 has been explicitly marked " "%select{unavailable|deleted|deprecated}1 here">; ``` Currently, this is the combined note used for unavailable, deleted, and deprecated, and the flavor is chosen by a number (0/1/2) passed as the second argument. Probably, if we want to reuse this, that should be changed to a string parameter? https://github.com/llvm/llvm-project/pull/112289 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits