summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.clang-format4
1 files changed, 4 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index 8515b05b85..1df4dd03b4 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1,5 +1,6 @@
---
Language: Cpp
+Standard: Cpp03
BasedOnStyle: Google
AllowShortFunctionsOnASingleLine: Empty
AllowShortIfStatementsOnASingleLine: false
@@ -9,3 +10,6 @@ BinPackParameters: false
BreakConstructorInitializersBeforeComma: true
DerivePointerAlignment: false
TabWidth: 2
+# Force pointers to the type for C++.
+DerivePointerAlignment: false
+PointerAlignment: Left