Lines Matching refs:checker
31 checker = table_entries[checker_]
32 checker_name = checker["CheckerName"]
33 package_ = checker["ParentPackage"]["def"]
38 hidden = (checker["Hidden"] != 0) or (package["Hidden"] != 0)
50 checker["FullPackageName"] = full_package_name
51 checker["AnchorUrl"] = anchor_url
52 documentable_checkers.append(checker)
64 def generate_documentation(checker, only_help_text=False): argument
65 with open(os.path.join(__location__, checker["FullPackageName"]+".rst"),"w") as f:
66 f.write(".. title:: clang-tidy - %s\n" % checker["FullPackageName"])
69 …uiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#%s\n" % checker["AnchorUrl"])
71 f.write("%s\n" % checker["FullPackageName"])
72 f.write("=" * len(checker["FullPackageName"]) + "\n")
75 f.write("%s\n" % checker["HelpText"])
77 f.write("The %s check is an alias, please see\n" % checker["FullPackageName"])
78 …lable Checkers <https://clang.llvm.org/docs/analyzer/checkers.html#%s>`_\n" % checker["AnchorUrl"])
92 for checker in checkers:
93 if((" %s" % checker["FullPackageName"]) not in checks):
94 checks.append(" %s" % checker["FullPackageName"])
138 for checker in checkers:
140 if(checker["Documentation"][1] == 0 and checker["Documentation"][0] == 0):
141 generate_documentation(checker, True)
143 generate_documentation(checker)
144 print("Generated documentation for: %s" % checker["FullPackageName"])