summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2018-05-09 00:41:53 +0000
committerVitaly Buka <vitalybuka@google.com>2018-05-09 00:41:53 +0000
commit0590a5bd4b628dba640820b9e329260b5b28235a (patch)
tree6d9943fa1a8bfbd23162d517ba57817d9cc1e4ef
parent8244c9c48923365d349eb176cf1bcf7075855b39 (diff)
downloadbcm5719-llvm-0590a5bd4b628dba640820b9e329260b5b28235a.tar.gz
bcm5719-llvm-0590a5bd4b628dba640820b9e329260b5b28235a.zip
[sanitizer] Update .clang-format in compiler-rt
Historically style is Google, but we never used AllowShortIfStatementsOnASingleLine. llvm-svn: 331829
-rw-r--r--compiler-rt/lib/asan/.clang-format2
-rw-r--r--compiler-rt/lib/dfsan/.clang-format2
-rw-r--r--compiler-rt/lib/hwasan/.clang-format2
-rw-r--r--compiler-rt/lib/interception/.clang-format2
-rw-r--r--compiler-rt/lib/lsan/.clang-format2
-rw-r--r--compiler-rt/lib/msan/.clang-format2
-rw-r--r--compiler-rt/lib/safestack/.clang-format2
-rw-r--r--compiler-rt/lib/sanitizer_common/.clang-format2
-rw-r--r--compiler-rt/lib/tsan/.clang-format2
9 files changed, 18 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/.clang-format b/compiler-rt/lib/asan/.clang-format
index f6cb8ad931f..d96be21b2ff 100644
--- a/compiler-rt/lib/asan/.clang-format
+++ b/compiler-rt/lib/asan/.clang-format
@@ -1 +1,3 @@
BasedOnStyle: Google
+AllowShortIfStatementsOnASingleLine: false
+
diff --git a/compiler-rt/lib/dfsan/.clang-format b/compiler-rt/lib/dfsan/.clang-format
index f6cb8ad931f..d96be21b2ff 100644
--- a/compiler-rt/lib/dfsan/.clang-format
+++ b/compiler-rt/lib/dfsan/.clang-format
@@ -1 +1,3 @@
BasedOnStyle: Google
+AllowShortIfStatementsOnASingleLine: false
+
diff --git a/compiler-rt/lib/hwasan/.clang-format b/compiler-rt/lib/hwasan/.clang-format
index f6cb8ad931f..d96be21b2ff 100644
--- a/compiler-rt/lib/hwasan/.clang-format
+++ b/compiler-rt/lib/hwasan/.clang-format
@@ -1 +1,3 @@
BasedOnStyle: Google
+AllowShortIfStatementsOnASingleLine: false
+
diff --git a/compiler-rt/lib/interception/.clang-format b/compiler-rt/lib/interception/.clang-format
index f6cb8ad931f..d96be21b2ff 100644
--- a/compiler-rt/lib/interception/.clang-format
+++ b/compiler-rt/lib/interception/.clang-format
@@ -1 +1,3 @@
BasedOnStyle: Google
+AllowShortIfStatementsOnASingleLine: false
+
diff --git a/compiler-rt/lib/lsan/.clang-format b/compiler-rt/lib/lsan/.clang-format
index f6cb8ad931f..d96be21b2ff 100644
--- a/compiler-rt/lib/lsan/.clang-format
+++ b/compiler-rt/lib/lsan/.clang-format
@@ -1 +1,3 @@
BasedOnStyle: Google
+AllowShortIfStatementsOnASingleLine: false
+
diff --git a/compiler-rt/lib/msan/.clang-format b/compiler-rt/lib/msan/.clang-format
index f6cb8ad931f..d96be21b2ff 100644
--- a/compiler-rt/lib/msan/.clang-format
+++ b/compiler-rt/lib/msan/.clang-format
@@ -1 +1,3 @@
BasedOnStyle: Google
+AllowShortIfStatementsOnASingleLine: false
+
diff --git a/compiler-rt/lib/safestack/.clang-format b/compiler-rt/lib/safestack/.clang-format
index f6cb8ad931f..d96be21b2ff 100644
--- a/compiler-rt/lib/safestack/.clang-format
+++ b/compiler-rt/lib/safestack/.clang-format
@@ -1 +1,3 @@
BasedOnStyle: Google
+AllowShortIfStatementsOnASingleLine: false
+
diff --git a/compiler-rt/lib/sanitizer_common/.clang-format b/compiler-rt/lib/sanitizer_common/.clang-format
index f6cb8ad931f..d96be21b2ff 100644
--- a/compiler-rt/lib/sanitizer_common/.clang-format
+++ b/compiler-rt/lib/sanitizer_common/.clang-format
@@ -1 +1,3 @@
BasedOnStyle: Google
+AllowShortIfStatementsOnASingleLine: false
+
diff --git a/compiler-rt/lib/tsan/.clang-format b/compiler-rt/lib/tsan/.clang-format
index f6cb8ad931f..d96be21b2ff 100644
--- a/compiler-rt/lib/tsan/.clang-format
+++ b/compiler-rt/lib/tsan/.clang-format
@@ -1 +1,3 @@
BasedOnStyle: Google
+AllowShortIfStatementsOnASingleLine: false
+
OpenPOWER on IntegriCloud