aboutsummaryrefslogtreecommitdiff
path: root/build2/variable.ixx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-01-20 13:46:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-02-03 14:35:45 +0200
commit934f2a9a90c5cad3cdc8a66b50c17827a3ddbcee (patch)
treef35f106e5369e98350327c79080c571195234c0b /build2/variable.ixx
parent280f4a5bf787587227ca193cd59c6bd74091db70 (diff)
Get rid of action rule override semantics
Instead we now have two more or less separate match states for outer and inner parts of an action.
Diffstat (limited to 'build2/variable.ixx')
-rw-r--r--build2/variable.ixx10
1 files changed, 10 insertions, 0 deletions
diff --git a/build2/variable.ixx b/build2/variable.ixx
index fd6b7b2..dcc1304 100644
--- a/build2/variable.ixx
+++ b/build2/variable.ixx
@@ -237,6 +237,16 @@ namespace build2
typify (v, t, var);
}
+ void
+ typify (value&, const value_type&, const variable*, memory_order);
+
+ inline void
+ typify (value& v, const value_type& t, const variable* var)
+ {
+ typify (v, t, var, memory_order_relaxed);
+ }
+
+
inline vector_view<const name>
reverse (const value& v, names& storage)
{