1 //===--- CheckerBase.td - Checker TableGen classes ------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines the TableGen core definitions for checkers
12 //===----------------------------------------------------------------------===//
14 class CheckerGroup<string name> {
15 string GroupName = name;
17 class InGroup<CheckerGroup G> { CheckerGroup Group = G; }
19 class Package<string name> {
20 string PackageName = name;
22 Package ParentPackage;
25 class InPackage<Package P> { Package ParentPackage = P; }
27 // All checkers are an indirect subclass of this.
28 class Checker<string name = ""> {
29 string CheckerName = name;
33 Package ParentPackage;
37 class DescFile<string filename> { string DescFile = filename; }
38 class HelpText<string text> { string HelpText = text; }
39 class Hidden { bit Hidden = 1; }