From 33cd64535d2307a2e7884ee0796e1aae42937aaf Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 19 Aug 2010 14:36:47 +0200 Subject: Add validator pass Detect members with anonymous types. --- odb/validator.hxx | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 odb/validator.hxx (limited to 'odb/validator.hxx') diff --git a/odb/validator.hxx b/odb/validator.hxx new file mode 100644 index 0000000..623001c --- /dev/null +++ b/odb/validator.hxx @@ -0,0 +1,25 @@ +// file : odb/validator.hxx +// author : Boris Kolpackov +// copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC +// license : GNU GPL v2; see accompanying LICENSE file + +#ifndef ODB_VALIDATOR_HXX +#define ODB_VALIDATOR_HXX + +#include +#include + +class validator +{ +public: + validator (); + + bool + validate (options const&, semantics::unit&, semantics::path const&); + +private: + validator (validator const&); + validator& operator= (validator const&); +}; + +#endif // ODB_VALIDATOR_HXX -- cgit v1.1