aboutsummaryrefslogtreecommitdiff
path: root/build2/cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-02-29 11:21:46 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-02-29 11:21:46 +0200
commit6fa958ee23d0beb62f687d3d9137c774b4960197 (patch)
tree497e66e89cb6f65a24fd7e192ef8c5032974c82c /build2/cli
parent3cf3b73ffc6881d5428a735736a347f6e143b366 (diff)
Rename level[1-6]() to l[1-6]()
Diffstat (limited to 'build2/cli')
-rw-r--r--build2/cli/module.cxx2
-rw-r--r--build2/cli/rule.cxx14
2 files changed, 8 insertions, 8 deletions
diff --git a/build2/cli/module.cxx b/build2/cli/module.cxx
index e4f2716..018947a 100644
--- a/build2/cli/module.cxx
+++ b/build2/cli/module.cxx
@@ -37,7 +37,7 @@ namespace build2
bool optional)
{
tracer trace ("cli::init");
- level5 ([&]{trace << "for " << base.out_path ();});
+ l5 ([&]{trace << "for " << base.out_path ();});
// Make sure the cxx module has been loaded since we need its
// targets types (?xx{}). Note that we don't try to load it
diff --git a/build2/cli/rule.cxx b/build2/cli/rule.cxx
index b584ccc..82217c7 100644
--- a/build2/cli/rule.cxx
+++ b/build2/cli/rule.cxx
@@ -66,8 +66,8 @@ namespace build2
//
if (!match_stem (t.name, p.name ()))
{
- level4 ([&]{trace << ".cli file stem '" << p.name () << "' "
- << "doesn't match target " << t;});
+ l4 ([&]{trace << ".cli file stem '" << p.name () << "' "
+ << "doesn't match target " << t;});
return r;
}
@@ -78,7 +78,7 @@ namespace build2
if (!r)
{
- level4 ([&]{trace << "no .cli source file for target " << t;});
+ l4 ([&]{trace << "no .cli source file for target " << t;});
return r;
}
@@ -140,8 +140,8 @@ namespace build2
g->prerequisites.emplace_back (p.as_prerequisite (trace));
}
else
- level4 ([&]{trace << ".cli file stem '" << p.name () << "' "
- << "doesn't match target " << t;});
+ l4 ([&]{trace << ".cli file stem '" << p.name () << "' "
+ << "doesn't match target " << t;});
break;
}
}
@@ -158,8 +158,8 @@ namespace build2
//
if (t.is_a<cxx::ixx> () && g->i == nullptr)
{
- level4 ([&]{trace << "generation of inline file " << t
- << " is disabled with --suppress-inline";});
+ l4 ([&]{trace << "generation of inline file " << t
+ << " is disabled with --suppress-inline";});
g = nullptr;
}
}