summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib')
-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