Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnkit Meel <ankitjmeel@gmail.com>2020-11-07 15:47:12 +0300
committerAnkit Meel <ankitjmeel@gmail.com>2020-11-07 16:18:13 +0300
commit4525049aa0cf818f6483dce589ac9791eb562338 (patch)
treebdf5258903fb8435bf38a1925c9c32f32c20616c /source/blender/depsgraph/intern/debug
parenta452fcb9a5495ecbbbaedb7e5c631814c7f4372a (diff)
Cleanup: Clang-tidy, modernize-concat-nested-namespaces
Diffstat (limited to 'source/blender/depsgraph/intern/debug')
-rw-r--r--source/blender/depsgraph/intern/debug/deg_debug.cc6
-rw-r--r--source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc6
-rw-r--r--source/blender/depsgraph/intern/debug/deg_debug_stats_gnuplot.cc6
3 files changed, 6 insertions, 12 deletions
diff --git a/source/blender/depsgraph/intern/debug/deg_debug.cc b/source/blender/depsgraph/intern/debug/deg_debug.cc
index b7310f3713e..47c97211886 100644
--- a/source/blender/depsgraph/intern/debug/deg_debug.cc
+++ b/source/blender/depsgraph/intern/debug/deg_debug.cc
@@ -32,8 +32,7 @@
#include "BKE_global.h"
-namespace blender {
-namespace deg {
+namespace blender::deg {
DepsgraphDebug::DepsgraphDebug()
: flags(G.debug), is_ever_evaluated(false), graph_evaluation_start_time_(0)
@@ -98,5 +97,4 @@ string color_end()
return string(TRUECOLOR_ANSI_COLOR_FINISH);
}
-} // namespace deg
-} // namespace blender
+} // namespace blender::deg
diff --git a/source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc b/source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc
index 04b25a36d6d..a0cbbbc163d 100644
--- a/source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc
+++ b/source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc
@@ -47,8 +47,7 @@ namespace dot = blender::dot;
/* ****************** */
/* Graphviz Debugging */
-namespace blender {
-namespace deg {
+namespace blender::deg {
/* Only one should be enabled, defines whether graphviz nodes
* get colored by individual types or classes.
@@ -510,8 +509,7 @@ static void deg_debug_graphviz_graph_relations(DotExportContext &ctx, const Deps
}
}
-} // namespace deg
-} // namespace blender
+} // namespace blender::deg
void DEG_debug_relations_graphviz(const Depsgraph *graph, FILE *fp, const char *label)
{
diff --git a/source/blender/depsgraph/intern/debug/deg_debug_stats_gnuplot.cc b/source/blender/depsgraph/intern/debug/deg_debug_stats_gnuplot.cc
index 42c1fcba1bb..0cdd627dd44 100644
--- a/source/blender/depsgraph/intern/debug/deg_debug_stats_gnuplot.cc
+++ b/source/blender/depsgraph/intern/debug/deg_debug_stats_gnuplot.cc
@@ -38,8 +38,7 @@
namespace deg = blender::deg;
-namespace blender {
-namespace deg {
+namespace blender::deg {
namespace {
struct DebugContext {
@@ -149,8 +148,7 @@ void deg_debug_stats_gnuplot(const DebugContext &ctx)
}
} // namespace
-} // namespace deg
-} // namespace blender
+} // namespace blender::deg
void DEG_debug_stats_gnuplot(const Depsgraph *depsgraph,
FILE *fp,