aboutsummaryrefslogtreecommitdiff
path: root/odb/validator.hxx
blob: 8c18c9f2d2d8d2b350e7bc78e9fcb9fbcca36417 (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
// file      : odb/validator.hxx
// copyright : Copyright (c) 2009-2018 Code Synthesis Tools CC
// license   : GNU GPL v3; see accompanying LICENSE file

#ifndef ODB_VALIDATOR_HXX
#define ODB_VALIDATOR_HXX

#include <odb/options.hxx>
#include <odb/features.hxx>
#include <odb/semantics/unit.hxx>

class validator_failed {};

// The first pass is performed after processing pass 1 but before
// processing pass 2. The second -- after pass 2.
//
void
validate (options const&,
          features&,
          semantics::unit&,
          semantics::path const&,
          unsigned short pass);

#endif // ODB_VALIDATOR_HXX