summaryrefslogtreecommitdiff
path: root/clang/utils/TableGen/ClangSACheckersEmitter.h
blob: 5a0e14811124df08d9ff79e0fec3381efa653512 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
//===- ClangSACheckersEmitter.h - Generate Clang SA checkers tables -*- C++ -*-
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This tablegen backend emits Clang Static Analyzer checkers tables.
//
//===----------------------------------------------------------------------===//

#ifndef CLANGSACHECKERS_EMITTER_H
#define CLANGSACHECKERS_EMITTER_H

#include "llvm/TableGen/TableGenBackend.h"

namespace llvm {

class ClangSACheckersEmitter : public TableGenBackend {
    RecordKeeper &Records;
public:
  explicit ClangSACheckersEmitter(RecordKeeper &R) : Records(R) {}

  void run(raw_ostream &OS);
};

} // End llvm namespace

#endif