diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-05-10 18:49:22 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-05-12 18:07:36 +0300 |
commit | f709d7b0557d3e6d652d9b7d8380f1380962a327 (patch) | |
tree | b8a14327d501f1db0bad50e6f7182dd299a410e3 | |
parent | 24fa773faeb13e0977786970e4c76d14069a217e (diff) | |
download | qtlocation-mapboxgl-f709d7b0557d3e6d652d9b7d8380f1380962a327.tar.gz |
[tidy] llvm-namespace-comment
-rw-r--r-- | include/mbgl/map/query.hpp | 2 | ||||
-rw-r--r-- | platform/glfw/main.cpp | 2 | ||||
-rw-r--r-- | src/mbgl/renderer/render_background_layer.cpp | 2 | ||||
-rw-r--r-- | src/mbgl/renderer/render_background_layer.hpp | 2 | ||||
-rw-r--r-- | src/mbgl/renderer/render_circle_layer.cpp | 2 | ||||
-rw-r--r-- | src/mbgl/renderer/render_circle_layer.hpp | 2 | ||||
-rw-r--r-- | src/mbgl/renderer/render_custom_layer.cpp | 2 | ||||
-rw-r--r-- | src/mbgl/renderer/render_custom_layer.hpp | 2 | ||||
-rw-r--r-- | src/mbgl/renderer/render_fill_layer.cpp | 2 | ||||
-rw-r--r-- | src/mbgl/renderer/render_layer.cpp | 2 | ||||
-rw-r--r-- | src/mbgl/renderer/render_source.cpp | 2 | ||||
-rw-r--r-- | src/mbgl/util/i18n.cpp | 2 | ||||
-rw-r--r-- | test/src/mbgl/test/getrss.hpp | 4 |
13 files changed, 14 insertions, 14 deletions
diff --git a/include/mbgl/map/query.hpp b/include/mbgl/map/query.hpp index 9fac60d71d..e114fa2ebd 100644 --- a/include/mbgl/map/query.hpp +++ b/include/mbgl/map/query.hpp @@ -30,4 +30,4 @@ public: optional<style::Filter> filter; }; -} +} // namespace mbgl diff --git a/platform/glfw/main.cpp b/platform/glfw/main.cpp index 59d2ce3ec6..83cafe50b9 100644 --- a/platform/glfw/main.cpp +++ b/platform/glfw/main.cpp @@ -19,7 +19,7 @@ namespace { GLFWView* view = nullptr; -} +} // namespace void quit_handler(int) { if (view) { diff --git a/src/mbgl/renderer/render_background_layer.cpp b/src/mbgl/renderer/render_background_layer.cpp index 485d4b16c6..8069209c71 100644 --- a/src/mbgl/renderer/render_background_layer.cpp +++ b/src/mbgl/renderer/render_background_layer.cpp @@ -34,4 +34,4 @@ bool RenderBackgroundLayer::hasTransition() const { return unevaluated.hasTransition(); } -} +} // namespace mbgl diff --git a/src/mbgl/renderer/render_background_layer.hpp b/src/mbgl/renderer/render_background_layer.hpp index b1f709953f..9174664a70 100644 --- a/src/mbgl/renderer/render_background_layer.hpp +++ b/src/mbgl/renderer/render_background_layer.hpp @@ -32,4 +32,4 @@ inline bool RenderLayer::is<RenderBackgroundLayer>() const { return type == style::LayerType::Background; } -} +} // namespace mbgl diff --git a/src/mbgl/renderer/render_circle_layer.cpp b/src/mbgl/renderer/render_circle_layer.cpp index f59c174dd3..e9ed465187 100644 --- a/src/mbgl/renderer/render_circle_layer.cpp +++ b/src/mbgl/renderer/render_circle_layer.cpp @@ -64,4 +64,4 @@ bool RenderCircleLayer::queryIntersectsFeature( return util::polygonIntersectsBufferedMultiPoint(translatedQueryGeometry.value_or(queryGeometry), feature.getGeometries(), circleRadius); } -} +} // namespace mbgl diff --git a/src/mbgl/renderer/render_circle_layer.hpp b/src/mbgl/renderer/render_circle_layer.hpp index 3b82b5c988..60d600faca 100644 --- a/src/mbgl/renderer/render_circle_layer.hpp +++ b/src/mbgl/renderer/render_circle_layer.hpp @@ -39,4 +39,4 @@ inline bool RenderLayer::is<RenderCircleLayer>() const { return type == style::LayerType::Circle; } -} +} // namespace mbgl diff --git a/src/mbgl/renderer/render_custom_layer.cpp b/src/mbgl/renderer/render_custom_layer.cpp index 66dd57b3d3..d89fa7bba2 100644 --- a/src/mbgl/renderer/render_custom_layer.cpp +++ b/src/mbgl/renderer/render_custom_layer.cpp @@ -26,4 +26,4 @@ std::unique_ptr<Bucket> RenderCustomLayer::createBucket(const BucketParameters&, return nullptr; } -} +} // namespace mbgl diff --git a/src/mbgl/renderer/render_custom_layer.hpp b/src/mbgl/renderer/render_custom_layer.hpp index c3af6c77b2..f6ef253481 100644 --- a/src/mbgl/renderer/render_custom_layer.hpp +++ b/src/mbgl/renderer/render_custom_layer.hpp @@ -27,4 +27,4 @@ inline bool RenderLayer::is<RenderCustomLayer>() const { return type == style::LayerType::Custom; } -} +} // namespace mbgl diff --git a/src/mbgl/renderer/render_fill_layer.cpp b/src/mbgl/renderer/render_fill_layer.cpp index 1af139cded..340ec85803 100644 --- a/src/mbgl/renderer/render_fill_layer.cpp +++ b/src/mbgl/renderer/render_fill_layer.cpp @@ -68,4 +68,4 @@ bool RenderFillLayer::queryIntersectsFeature( } -} +} // namespace mbgl diff --git a/src/mbgl/renderer/render_layer.cpp b/src/mbgl/renderer/render_layer.cpp index 6699f39144..ed8864149b 100644 --- a/src/mbgl/renderer/render_layer.cpp +++ b/src/mbgl/renderer/render_layer.cpp @@ -22,4 +22,4 @@ bool RenderLayer::needsRendering(float zoom) const { && baseImpl.maxZoom >= zoom; } -}
\ No newline at end of file +} // namespace mbgl
\ No newline at end of file diff --git a/src/mbgl/renderer/render_source.cpp b/src/mbgl/renderer/render_source.cpp index 643d92fe81..22043f9f3c 100644 --- a/src/mbgl/renderer/render_source.cpp +++ b/src/mbgl/renderer/render_source.cpp @@ -23,4 +23,4 @@ void RenderSource::onTileError(Tile& tile, std::exception_ptr error) { observer->onTileError(*this, tile.id, error); } -} +} // namespace mbgl diff --git a/src/mbgl/util/i18n.cpp b/src/mbgl/util/i18n.cpp index 8e56877a64..2d7667ff0f 100644 --- a/src/mbgl/util/i18n.cpp +++ b/src/mbgl/util/i18n.cpp @@ -310,7 +310,7 @@ const std::map<char16_t, char16_t> verticalPunctuation = { { u'{', u'︷' }, { u'|', u'―' }, { u'}', u'︸' }, { u'⦅', u'︵' }, { u'⦆', u'︶' }, { u'。', u'︒' }, { u'「', u'﹁' }, { u'」', u'﹂' }, }; -} +} // namespace namespace mbgl { namespace util { diff --git a/test/src/mbgl/test/getrss.hpp b/test/src/mbgl/test/getrss.hpp index a4420c4b5f..be45ae889a 100644 --- a/test/src/mbgl/test/getrss.hpp +++ b/test/src/mbgl/test/getrss.hpp @@ -41,5 +41,5 @@ size_t getPeakRSS(); */ size_t getCurrentRSS(); -} -} +} // namespace test +} // namespace mbgl |