================ @@ -53,7 +55,18 @@ def adapt_cmake(module_path, check_name_camel): # Adds a header for the new check. -def write_header(module_path, module, namespace, check_name, check_name_camel): +def write_header( + module_path, module, namespace, check_name, check_name_camel, lang_restrict +): + if lang_restrict: + override_supported = """ + bool isLanguageVersionSupported(const LangOptions &LangOpts) const override { ---------------- PiotrZSL wrote:
would be nice to add also getCheckTraversalKind with a TK_IgnoreUnlessSpelledInSource used by default https://github.com/llvm/llvm-project/pull/100129 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits