summaryrefslogtreecommitdiffstats
path: root/dwarflint/lowlevel_checks.hh
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2010-09-07 23:08:05 +0200
committerPetr Machata <[email protected]>2010-09-07 23:08:05 +0200
commita5411525fce00015f6911094b1013f50b16426ae (patch)
treedb07f98ba2312896bebfac9bbfd51f3b061422c6 /dwarflint/lowlevel_checks.hh
parent5ed27fdb82c2b21ca7d7ee2bf7f888e425cd99f0 (diff)
dwarflint: Add a lowlevel_checks pass
- which is where low-level checks are explicitly requested - and what highlevel checks, also explicitly, depend on
Diffstat (limited to 'dwarflint/lowlevel_checks.hh')
-rw-r--r--dwarflint/lowlevel_checks.hh39
1 files changed, 39 insertions, 0 deletions
diff --git a/dwarflint/lowlevel_checks.hh b/dwarflint/lowlevel_checks.hh
new file mode 100644
index 00000000..9892b910
--- /dev/null
+++ b/dwarflint/lowlevel_checks.hh
@@ -0,0 +1,39 @@
+/* Scheduler for low_level checks
+ Copyright (C) 2010 Red Hat, Inc.
+ This file is part of Red Hat elfutils.
+
+ Red Hat elfutils is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by the
+ Free Software Foundation; version 2 of the License.
+
+ Red Hat elfutils is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with Red Hat elfutils; if not, write to the Free Software Foundation,
+ Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA.
+
+ Red Hat elfutils is an included package of the Open Invention Network.
+ An included package of the Open Invention Network is a package for which
+ Open Invention Network licensees cross-license their patents. No patent
+ license is granted, either expressly or impliedly, by designation as an
+ included package. Should you wish to participate in the Open Invention
+ Network licensing program, please visit www.openinventionnetwork.com
+ <http://www.openinventionnetwork.com>. */
+
+#ifndef DWARFLINT_LOWLEVEL_CHECKS_HH
+#define DWARFLINT_LOWLEVEL_CHECKS_HH
+
+#include "checks.hh"
+
+class lowlevel_checks
+ : public check<lowlevel_checks>
+{
+public:
+ static checkdescriptor const *descriptor ();
+ lowlevel_checks (checkstack &stack, dwarflint &lint);
+};
+
+#endif//DWARFLINT_LOWLEVEL_CHECKS_HH