carlosgalvezp wrote: This is not allowed by the relevant rule of the C++ Core Guidelines. We must be careful to implement exactly only what the rules say, nothing more. You can on course open a ticket to the C++ Core Guidelines asking them to change the rule text.
IMHO this case seems too niche and should be handled by a NOLINT instead. Otherwise, and off-by-default configuration option. https://github.com/llvm/llvm-project/pull/99477 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits