================
@@ -203,6 +202,10 @@ for more information) that will find the pattern in the 
AST that we want to
 inspect. The results of the matching are passed to the ``check`` method, which
 can further inspect them and report diagnostics.
 
+By default, the new check applies only to C++ code. If it should apply under 
+different language options, be sure to update the 
``isLanguageVersionSupported``
----------------
carlosgalvezp wrote:

Would it be better to document that one can specify the language when running 
`add_new_check.py --language`? Possibly earlier in this document when it 
describes what this script does.


https://github.com/llvm/llvm-project/pull/129209
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to