================
@@ -3476,6 +3493,95 @@ diagnostic verifier will pass. However, if the expected
error does not appear
or appears in a different location than expected, or if additional diagnostics
appear, the diagnostic verifier will fail and emit information as to why.
+Directive Syntax
+~~~~~~~~~~~~~~~~
+Syntax description of the directives is the following:
+
+.. parsed-literal::
+
+ `directive`
+ `prefix` ``-`` `diagnostic-kind` `regex-match`:sub:`opt`
`diagnostic-loc`:sub:`opt` `quantifier`:sub:`opt` ``{{``
`delimiter-open`:sub:`opt` `diagnostic-text` `delimiter-close`:sub:`opt` ``}}``
----------------
AaronBallman wrote:
I filed an issue here for potential follow-up work:
https://github.com/llvm/llvm-project/issues/183062
https://github.com/llvm/llvm-project/pull/179835
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits