aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-10-29 14:17:30 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-10-29 14:17:30 +0200
commite5d4c47040e526f0302a53c75ccf1f8c3f5981a1 (patch)
tree04fbc5c0838952a002c42c83599f74cc5a0ee9cd /libbuild2/context.hxx
parentbeedc17766c58799eae1919cb471f686b8286363 (diff)
Add forward declaration header for build state types
Diffstat (limited to 'libbuild2/context.hxx')
-rw-r--r--libbuild2/context.hxx21
1 files changed, 1 insertions, 20 deletions
diff --git a/libbuild2/context.hxx b/libbuild2/context.hxx
index 75147ef..08b023e 100644
--- a/libbuild2/context.hxx
+++ b/libbuild2/context.hxx
@@ -6,6 +6,7 @@
#define LIBBUILD2_CONTEXT_HXX
#include <libbuild2/types.hxx>
+#include <libbuild2/forward.hxx>
#include <libbuild2/utility.hxx>
// NOTE: this file is included by pretty much every other build state header
@@ -20,26 +21,6 @@
namespace build2
{
- class context;
-
- class scope;
- class scope_map;
- class target_set;
- class target_type_map;
-
- class value;
- using values = small_vector<value, 1>;
-
- struct variable;
- class variable_pool;
- struct variable_override;
- using variable_overrides = vector<variable_override>;
- class variable_override_cache;
-
- class function_map;
-
- struct opspec;
-
class loaded_modules_lock;
class LIBBUILD2_SYMEXPORT run_phase_mutex