This patch introduces a // expected-maybe-not-diagnostics that silence warnings about missing // expected-no-diagnostic, but doesn't conflict with neither // expected-error directives nor // expected-no-diagnostics.
I go into details in the Discourse thread about why we need this, and why we need this in the form implemented.
Thanks for adding documentation.
I feel that this edit makes the behavior a little clearer, and it clarifies what happens when "expected-no-diagnostics" and "expected-maybe-no-diagnostics" are combined.
Also, the original text had:
That reads to me like it's ok to combine "expected-no-diagnostics" and "expected-*" directives specifying diagnostics. Hopefully this edit clarifies that point.