summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2015-03-13 19:04:55 +0200
committerKonstantin Käfer <mail@kkaefer.com>2015-03-18 12:51:33 +0100
commitaa9adbb8f89e5ea573b8a494a25c769f7784f40b (patch)
tree7d6a302d3bdf604de4837e36ec1dbfd6a29feb6d /.clang-format
parentb5facd35bc766e32e00ebfccc8ea0721f243373a (diff)
downloadqtlocation-mapboxgl-aa9adbb8f89e5ea573b8a494a25c769f7784f40b.tar.gz
Scope the Tile worker thread to an Environment
We are also removing the code that is passing the Environment around and instead, we get now the Environment in the TileData using Environment::Get(). When processing the job, the work will be temporally registered to the Environment as "TileWorker_0/0/0" which can be used for logging in the future. At the end of the job, it gets unregistered automatically from the Environment.
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format4
1 files changed, 2 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format
index 109b562b59..ff0f39e73b 100644
--- a/.clang-format
+++ b/.clang-format
@@ -2,7 +2,7 @@ Standard: Cpp11
IndentWidth: 4
AccessModifierOffset: -4
UseTab: Never
-BinPackParameters: true
+BinPackParameters: false
AllowShortIfStatementsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortBlocksOnASingleLine: false
@@ -10,7 +10,7 @@ AllowShortFunctionsOnASingleLine: false
ConstructorInitializerAllOnOneLineOrOnePerLine: true
AlwaysBreakTemplateDeclarations: true
NamespaceIndentation: None
-PointerBindsToType: false
+PointerBindsToType: true
SpacesInParentheses: false
BreakBeforeBraces: Attach
ColumnLimit: 100