blob: 6bd163547329953aee6420be017fd449b3e9fcc4 [file] [log] [blame]
Argyrios Kyrtzidis50a47e92011-02-14 17:58:52 +00001//===- 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
19namespace llvm {
20
21class ClangSACheckersEmitter : public TableGenBackend {
22 RecordKeeper &Records;
23public:
24 explicit ClangSACheckersEmitter(RecordKeeper &R) : Records(R) {}
25
26 void run(raw_ostream &OS);
27};
28
29} // End llvm namespace
30
31#endif