summaryrefslogtreecommitdiff
path: root/utils/TableGen/ClangSACheckersEmitter.h
blob: 6bd163547329953aee6420be017fd449b3e9fcc4 (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 "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