6bd163547329953aee6420be017fd449b3e9fcc4
[oota-llvm.git] / utils / TableGen / ClangSACheckersEmitter.h
1 //===- ClangSACheckersEmitter.h - Generate Clang SA checkers tables -*- C++ -*-
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This tablegen backend emits Clang Static Analyzer checkers tables.
11 //
12 //===----------------------------------------------------------------------===//
13
14 #ifndef CLANGSACHECKERS_EMITTER_H
15 #define CLANGSACHECKERS_EMITTER_H
16
17 #include "TableGenBackend.h"
18
19 namespace llvm {
20
21 class ClangSACheckersEmitter : public TableGenBackend {
22     RecordKeeper &Records;
23 public:
24   explicit ClangSACheckersEmitter(RecordKeeper &R) : Records(R) {}
25
26   void run(raw_ostream &OS);
27 };
28
29 } // End llvm namespace
30
31 #endif