diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-09-25 00:10:33 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-09-25 18:59:07 +0300 |
commit | cf95bc2bb2e51007f6bcdd468e4e8acf89cffe85 (patch) | |
tree | 82fb378c24033c6735e47918a198649fa19b823f /src | |
parent | 975a013d8f7b93cb491f8dd3d7dd2ea7aab507af (diff) | |
download | qtlocation-mapboxgl-cf95bc2bb2e51007f6bcdd468e4e8acf89cffe85.tar.gz |
[build] Disable clang-format on generated code
Nice to have, but would make maintain the templates a lot harder.
Diffstat (limited to 'src')
32 files changed, 128 insertions, 0 deletions
diff --git a/src/mbgl/style/layers/background_layer.cpp b/src/mbgl/style/layers/background_layer.cpp index 2b33b0b3d0..7a186a3354 100644 --- a/src/mbgl/style/layers/background_layer.cpp +++ b/src/mbgl/style/layers/background_layer.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/background_layer.hpp> @@ -249,3 +251,5 @@ Mutable<Layer::Impl> BackgroundLayer::mutableBaseImpl() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/background_layer_properties.cpp b/src/mbgl/style/layers/background_layer_properties.cpp index 63f6a7be68..749affe2e9 100644 --- a/src/mbgl/style/layers/background_layer_properties.cpp +++ b/src/mbgl/style/layers/background_layer_properties.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/background_layer_properties.hpp> @@ -31,3 +33,5 @@ const BackgroundLayer::Impl& BackgroundLayerProperties::layerImpl() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/background_layer_properties.hpp b/src/mbgl/style/layers/background_layer_properties.hpp index 56db696533..11328f78bb 100644 --- a/src/mbgl/style/layers/background_layer_properties.hpp +++ b/src/mbgl/style/layers/background_layer_properties.hpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #pragma once @@ -51,3 +53,5 @@ public: } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/circle_layer.cpp b/src/mbgl/style/layers/circle_layer.cpp index baabe5c8bf..2f68bcccf3 100644 --- a/src/mbgl/style/layers/circle_layer.cpp +++ b/src/mbgl/style/layers/circle_layer.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/circle_layer.hpp> @@ -602,3 +604,5 @@ Mutable<Layer::Impl> CircleLayer::mutableBaseImpl() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/circle_layer_properties.cpp b/src/mbgl/style/layers/circle_layer_properties.cpp index 03a4a8f56e..a72b7bed6c 100644 --- a/src/mbgl/style/layers/circle_layer_properties.cpp +++ b/src/mbgl/style/layers/circle_layer_properties.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/circle_layer_properties.hpp> @@ -29,3 +31,5 @@ const CircleLayer::Impl& CircleLayerProperties::layerImpl() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/circle_layer_properties.hpp b/src/mbgl/style/layers/circle_layer_properties.hpp index 1aaa3bb3e3..a5f7a584df 100644 --- a/src/mbgl/style/layers/circle_layer_properties.hpp +++ b/src/mbgl/style/layers/circle_layer_properties.hpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #pragma once @@ -89,3 +91,5 @@ public: } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/fill_extrusion_layer.cpp b/src/mbgl/style/layers/fill_extrusion_layer.cpp index b22f0a3075..2686f7d044 100644 --- a/src/mbgl/style/layers/fill_extrusion_layer.cpp +++ b/src/mbgl/style/layers/fill_extrusion_layer.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/fill_extrusion_layer.hpp> @@ -484,3 +486,5 @@ Mutable<Layer::Impl> FillExtrusionLayer::mutableBaseImpl() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/fill_extrusion_layer_properties.cpp b/src/mbgl/style/layers/fill_extrusion_layer_properties.cpp index ddfe9c8468..cd484ac3cc 100644 --- a/src/mbgl/style/layers/fill_extrusion_layer_properties.cpp +++ b/src/mbgl/style/layers/fill_extrusion_layer_properties.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/fill_extrusion_layer_properties.hpp> @@ -31,3 +33,5 @@ const FillExtrusionLayer::Impl& FillExtrusionLayerProperties::layerImpl() const } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/fill_extrusion_layer_properties.hpp b/src/mbgl/style/layers/fill_extrusion_layer_properties.hpp index 69b8a0bcb8..6936d5e0c4 100644 --- a/src/mbgl/style/layers/fill_extrusion_layer_properties.hpp +++ b/src/mbgl/style/layers/fill_extrusion_layer_properties.hpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #pragma once @@ -76,3 +78,5 @@ public: } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/fill_layer.cpp b/src/mbgl/style/layers/fill_layer.cpp index 2c3ee42fae..52f2b166b3 100644 --- a/src/mbgl/style/layers/fill_layer.cpp +++ b/src/mbgl/style/layers/fill_layer.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/fill_layer.hpp> @@ -436,3 +438,5 @@ Mutable<Layer::Impl> FillLayer::mutableBaseImpl() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/fill_layer_properties.cpp b/src/mbgl/style/layers/fill_layer_properties.cpp index de917177f6..f8f81c900d 100644 --- a/src/mbgl/style/layers/fill_layer_properties.cpp +++ b/src/mbgl/style/layers/fill_layer_properties.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/fill_layer_properties.hpp> @@ -31,3 +33,5 @@ const FillLayer::Impl& FillLayerProperties::layerImpl() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/fill_layer_properties.hpp b/src/mbgl/style/layers/fill_layer_properties.hpp index 4e1b6970fe..38ca506199 100644 --- a/src/mbgl/style/layers/fill_layer_properties.hpp +++ b/src/mbgl/style/layers/fill_layer_properties.hpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #pragma once @@ -71,3 +73,5 @@ public: } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/heatmap_layer.cpp b/src/mbgl/style/layers/heatmap_layer.cpp index a3cedd3747..86bb2d6de1 100644 --- a/src/mbgl/style/layers/heatmap_layer.cpp +++ b/src/mbgl/style/layers/heatmap_layer.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/heatmap_layer.hpp> @@ -337,3 +339,5 @@ Mutable<Layer::Impl> HeatmapLayer::mutableBaseImpl() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/heatmap_layer_properties.cpp b/src/mbgl/style/layers/heatmap_layer_properties.cpp index cc50073651..9070e479e6 100644 --- a/src/mbgl/style/layers/heatmap_layer_properties.cpp +++ b/src/mbgl/style/layers/heatmap_layer_properties.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/heatmap_layer_properties.hpp> @@ -29,3 +31,5 @@ const HeatmapLayer::Impl& HeatmapLayerProperties::layerImpl() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/heatmap_layer_properties.hpp b/src/mbgl/style/layers/heatmap_layer_properties.hpp index 634cbef1ed..089560276d 100644 --- a/src/mbgl/style/layers/heatmap_layer_properties.hpp +++ b/src/mbgl/style/layers/heatmap_layer_properties.hpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #pragma once @@ -58,3 +60,5 @@ public: } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/hillshade_layer.cpp b/src/mbgl/style/layers/hillshade_layer.cpp index 05dd009d25..710efe5844 100644 --- a/src/mbgl/style/layers/hillshade_layer.cpp +++ b/src/mbgl/style/layers/hillshade_layer.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/hillshade_layer.hpp> @@ -376,3 +378,5 @@ Mutable<Layer::Impl> HillshadeLayer::mutableBaseImpl() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/hillshade_layer_properties.cpp b/src/mbgl/style/layers/hillshade_layer_properties.cpp index 72acc235e2..09b3355d84 100644 --- a/src/mbgl/style/layers/hillshade_layer_properties.cpp +++ b/src/mbgl/style/layers/hillshade_layer_properties.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/hillshade_layer_properties.hpp> @@ -29,3 +31,5 @@ const HillshadeLayer::Impl& HillshadeLayerProperties::layerImpl() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/hillshade_layer_properties.hpp b/src/mbgl/style/layers/hillshade_layer_properties.hpp index e38e5bb5b3..745749b198 100644 --- a/src/mbgl/style/layers/hillshade_layer_properties.hpp +++ b/src/mbgl/style/layers/hillshade_layer_properties.hpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #pragma once @@ -64,3 +66,5 @@ public: } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/layer.cpp.ejs b/src/mbgl/style/layers/layer.cpp.ejs index eee2d0583e..0cd9a82d75 100644 --- a/src/mbgl/style/layers/layer.cpp.ejs +++ b/src/mbgl/style/layers/layer.cpp.ejs @@ -3,6 +3,8 @@ const layoutProperties = locals.layoutProperties; const paintProperties = locals.paintProperties; -%> +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/<%- type.replace('-', '_') %>_layer.hpp> @@ -317,3 +319,5 @@ Mutable<Layer::Impl> <%- camelize(type) %>Layer::mutableBaseImpl() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/layer_properties.cpp.ejs b/src/mbgl/style/layers/layer_properties.cpp.ejs index fcdcfda7be..6574950bec 100644 --- a/src/mbgl/style/layers/layer_properties.cpp.ejs +++ b/src/mbgl/style/layers/layer_properties.cpp.ejs @@ -3,6 +3,8 @@ const layoutProperties = locals.layoutProperties; const paintProperties = locals.paintProperties; -%> +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/<%- type.replace('-', '_') %>_layer_properties.hpp> @@ -40,3 +42,5 @@ const <%- camelize(type) %>Layer::Impl& <%- camelize(type) %>LayerProperties::la } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/layer_properties.hpp.ejs b/src/mbgl/style/layers/layer_properties.hpp.ejs index 4513146d6d..af67f14b90 100644 --- a/src/mbgl/style/layers/layer_properties.hpp.ejs +++ b/src/mbgl/style/layers/layer_properties.hpp.ejs @@ -3,6 +3,8 @@ const layoutProperties = locals.layoutProperties; const paintProperties = locals.paintProperties; -%> +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #pragma once @@ -84,3 +86,5 @@ public: } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/line_layer.cpp b/src/mbgl/style/layers/line_layer.cpp index c148a66407..bd29f7f6fd 100644 --- a/src/mbgl/style/layers/line_layer.cpp +++ b/src/mbgl/style/layers/line_layer.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/line_layer.hpp> @@ -737,3 +739,5 @@ Mutable<Layer::Impl> LineLayer::mutableBaseImpl() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/line_layer_properties.cpp b/src/mbgl/style/layers/line_layer_properties.cpp index 46b220661c..bae5146846 100644 --- a/src/mbgl/style/layers/line_layer_properties.cpp +++ b/src/mbgl/style/layers/line_layer_properties.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/line_layer_properties.hpp> @@ -31,3 +33,5 @@ const LineLayer::Impl& LineLayerProperties::layerImpl() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/line_layer_properties.hpp b/src/mbgl/style/layers/line_layer_properties.hpp index dac6cebae0..2ecbb10993 100644 --- a/src/mbgl/style/layers/line_layer_properties.hpp +++ b/src/mbgl/style/layers/line_layer_properties.hpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #pragma once @@ -123,3 +125,5 @@ public: } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/raster_layer.cpp b/src/mbgl/style/layers/raster_layer.cpp index b85d031938..fde1df838d 100644 --- a/src/mbgl/style/layers/raster_layer.cpp +++ b/src/mbgl/style/layers/raster_layer.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/raster_layer.hpp> @@ -449,3 +451,5 @@ Mutable<Layer::Impl> RasterLayer::mutableBaseImpl() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/raster_layer_properties.cpp b/src/mbgl/style/layers/raster_layer_properties.cpp index 77bdb62b8d..a08dfa5042 100644 --- a/src/mbgl/style/layers/raster_layer_properties.cpp +++ b/src/mbgl/style/layers/raster_layer_properties.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/raster_layer_properties.hpp> @@ -29,3 +31,5 @@ const RasterLayer::Impl& RasterLayerProperties::layerImpl() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/raster_layer_properties.hpp b/src/mbgl/style/layers/raster_layer_properties.hpp index 9ddd6cc790..889e24f041 100644 --- a/src/mbgl/style/layers/raster_layer_properties.hpp +++ b/src/mbgl/style/layers/raster_layer_properties.hpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #pragma once @@ -74,3 +76,5 @@ public: } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/symbol_layer.cpp b/src/mbgl/style/layers/symbol_layer.cpp index 35d75686af..af5daa4dc0 100644 --- a/src/mbgl/style/layers/symbol_layer.cpp +++ b/src/mbgl/style/layers/symbol_layer.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/symbol_layer.hpp> @@ -1803,3 +1805,5 @@ Mutable<Layer::Impl> SymbolLayer::mutableBaseImpl() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/symbol_layer_properties.cpp b/src/mbgl/style/layers/symbol_layer_properties.cpp index 5e50535377..87229c73f3 100644 --- a/src/mbgl/style/layers/symbol_layer_properties.cpp +++ b/src/mbgl/style/layers/symbol_layer_properties.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #include <mbgl/style/layers/symbol_layer_properties.hpp> @@ -29,3 +31,5 @@ const SymbolLayer::Impl& SymbolLayerProperties::layerImpl() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/layers/symbol_layer_properties.hpp b/src/mbgl/style/layers/symbol_layer_properties.hpp index 59d65b3c86..e44e7e404f 100644 --- a/src/mbgl/style/layers/symbol_layer_properties.hpp +++ b/src/mbgl/style/layers/symbol_layer_properties.hpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Edit scripts/generate-style-code.js, then run `make style-code`. #pragma once @@ -356,3 +358,5 @@ public: } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/light.cpp b/src/mbgl/style/light.cpp index b01f4220f2..be56a0d93b 100644 --- a/src/mbgl/style/light.cpp +++ b/src/mbgl/style/light.cpp @@ -1,3 +1,5 @@ +// clang-format off + // This file is generated. Do not edit. #include <mbgl/style/light.hpp> @@ -251,3 +253,5 @@ TransitionOptions Light::getPositionTransition() const { } // namespace style } // namespace mbgl + +// clang-format on diff --git a/src/mbgl/style/light.cpp.ejs b/src/mbgl/style/light.cpp.ejs index 579889ab0d..55cc013827 100644 --- a/src/mbgl/style/light.cpp.ejs +++ b/src/mbgl/style/light.cpp.ejs @@ -1,6 +1,8 @@ <% const properties = locals.properties; -%> +// clang-format off + // This file is generated. Do not edit. #include <mbgl/style/light.hpp> @@ -136,3 +138,5 @@ TransitionOptions Light::get<%- camelize(property.name) %>Transition() const { } // namespace style } // namespace mbgl + +// clang-format on |