clang
3.7.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
work
release_test
rc4
llvm.src
tools
clang
lib
StaticAnalyzer
Checkers
ClangCheckers.cpp
Go to the documentation of this file.
1
//===--- ClangCheckers.h - Provides builtin checkers ------------*- 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
#include "
clang/StaticAnalyzer/Checkers/ClangCheckers.h
"
11
#include "
clang/StaticAnalyzer/Core/CheckerRegistry.h
"
12
13
// FIXME: This is only necessary as long as there are checker registration
14
// functions that do additional work besides mgr.registerChecker<CLASS>().
15
// The only checkers that currently do this are:
16
// - NSAutoreleasePoolChecker
17
// - NSErrorChecker
18
// - ObjCAtSyncChecker
19
// It's probably worth including this information in Checkers.td to minimize
20
// boilerplate code.
21
#include "
ClangSACheckers.h
"
22
23
using namespace
clang;
24
using namespace
ento;
25
26
void
ento::registerBuiltinCheckers
(
CheckerRegistry
®istry) {
27
#define GET_CHECKERS
28
#define CHECKER(FULLNAME,CLASS,DESCFILE,HELPTEXT,GROUPINDEX,HIDDEN) \
29
registry.addChecker(register##CLASS, FULLNAME, HELPTEXT);
30
#include "Checkers.inc"
31
#undef GET_CHECKERS
32
}
clang::ento::CheckerRegistry
Definition:
CheckerRegistry.h:80
CheckerRegistry.h
ClangCheckers.h
ClangSACheckers.h
clang::ento::registerBuiltinCheckers
void registerBuiltinCheckers(CheckerRegistry ®istry)
Definition:
ClangCheckers.cpp:26
Generated on Mon Aug 31 2015 10:45:13 for clang by
1.8.6