summaryrefslogtreecommitdiffstats
path: root/include/clang/Analysis/PathSensitive/CheckerVisitor.def
blob: 4144d1a0a7345623dd82db5d0c62b82b0cff6758 (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
32
33
34
35
//===-- CheckerVisitor.def - Metadata for CheckerVisitor ----------------*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
//  This file defines the AST nodes accepted by the CheckerVisitor class.
//
//===---------------------------------------------------------------------===//

#ifndef PREVISIT
#define PREVISIT(NODE)
#endif

#ifndef POSTVISIT
#define POSTVISIT(NODE)
#endif

PREVISIT(ArraySubscriptExpr)
PREVISIT(BinaryOperator)
PREVISIT(CallExpr)
PREVISIT(CastExpr)
PREVISIT(DeclStmt)
PREVISIT(ObjCMessageExpr)
PREVISIT(ReturnStmt)

POSTVISIT(CallExpr)
POSTVISIT(BlockExpr)
POSTVISIT(BinaryOperator)

#undef PREVISIT
#undef POSTVISIT
OpenPOWER on IntegriCloud