aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/variable.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-10-13 06:07:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-10-13 06:53:56 +0200
commit7935281661a3fd50454432fae1bbf4152758137a (patch)
tree27d2304426bbdb6cde8cb6f7ea165ebc4e9baded /libbuild2/variable.hxx
parent3ba17db6300d7e0cfc4fa001b5a8eb91bf417ea3 (diff)
Add visibility, overridable variable attributes
Diffstat (limited to 'libbuild2/variable.hxx')
-rw-r--r--libbuild2/variable.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbuild2/variable.hxx b/libbuild2/variable.hxx
index 9206cbb..cc4792e 100644
--- a/libbuild2/variable.hxx
+++ b/libbuild2/variable.hxx
@@ -106,6 +106,9 @@ namespace build2
scope, // This scope (no outer scopes).
target, // Target and target type/pattern-specific.
prereq // Prerequisite-specific.
+
+ // Note: remember to update the visibility attribute parsing if adding
+ // any new values here.
};
// VC14 reports ambiguity but seems to work if we don't provide any.