================ @@ -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 { ---------------- njames93 wrote:
That's a good idea for a follow up :) 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