From 6fa958ee23d0beb62f687d3d9137c774b4960197 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 29 Feb 2016 11:21:46 +0200 Subject: Rename level[1-6]() to l[1-6]() --- build2/cli/module.cxx | 2 +- build2/cli/rule.cxx | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'build2/cli') 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 () && 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; } } -- cgit v1.1