aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/dump.cxx
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/dump.cxx
parent3ba17db6300d7e0cfc4fa001b5a8eb91bf417ea3 (diff)
Add visibility, overridable variable attributes
Diffstat (limited to 'libbuild2/dump.cxx')
-rw-r--r--libbuild2/dump.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/dump.cxx b/libbuild2/dump.cxx
index b8ec74e..c28dd31 100644
--- a/libbuild2/dump.cxx
+++ b/libbuild2/dump.cxx
@@ -83,6 +83,10 @@ namespace build2
const variable& var (p.first);
const value& v (p.second);
+ // On one hand it might be helpful to print the visibility. On the
+ // other, it is always specified which means there will be a lot of
+ // noise. So probably not.
+ //
if (var.type != nullptr)
os << '[' << var.type->name << "] ";