summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2015-11-19 22:11:10 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2015-11-19 22:11:10 +0000
commit6b8affc94f9f5076ab5a1773459988b21711ad75 (patch)
tree0e843d6657818001d8dcdec8b31c97a2ef143a93 /lib
parentbd6edbcf1af237e7242413aa8c529ba4ff7eeacc (diff)
downloadcompiler-rt-6b8affc94f9f5076ab5a1773459988b21711ad75.tar.gz
Tell clang-format that (most) sanitizers are written using Google style guide.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@253608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/asan/.clang-format1
-rw-r--r--lib/dfsan/.clang-format1
-rw-r--r--lib/interception/.clang-format1
-rw-r--r--lib/lsan/.clang-format1
-rw-r--r--lib/msan/.clang-format1
-rw-r--r--lib/safestack/.clang-format1
-rw-r--r--lib/sanitizer_common/.clang-format1
-rw-r--r--lib/tsan/.clang-format1
8 files changed, 8 insertions, 0 deletions
diff --git a/lib/asan/.clang-format b/lib/asan/.clang-format
new file mode 100644
index 000000000..f6cb8ad93
--- /dev/null
+++ b/lib/asan/.clang-format
@@ -0,0 +1 @@
+BasedOnStyle: Google
diff --git a/lib/dfsan/.clang-format b/lib/dfsan/.clang-format
new file mode 100644
index 000000000..f6cb8ad93
--- /dev/null
+++ b/lib/dfsan/.clang-format
@@ -0,0 +1 @@
+BasedOnStyle: Google
diff --git a/lib/interception/.clang-format b/lib/interception/.clang-format
new file mode 100644
index 000000000..f6cb8ad93
--- /dev/null
+++ b/lib/interception/.clang-format
@@ -0,0 +1 @@
+BasedOnStyle: Google
diff --git a/lib/lsan/.clang-format b/lib/lsan/.clang-format
new file mode 100644
index 000000000..f6cb8ad93
--- /dev/null
+++ b/lib/lsan/.clang-format
@@ -0,0 +1 @@
+BasedOnStyle: Google
diff --git a/lib/msan/.clang-format b/lib/msan/.clang-format
new file mode 100644
index 000000000..f6cb8ad93
--- /dev/null
+++ b/lib/msan/.clang-format
@@ -0,0 +1 @@
+BasedOnStyle: Google
diff --git a/lib/safestack/.clang-format b/lib/safestack/.clang-format
new file mode 100644
index 000000000..f6cb8ad93
--- /dev/null
+++ b/lib/safestack/.clang-format
@@ -0,0 +1 @@
+BasedOnStyle: Google
diff --git a/lib/sanitizer_common/.clang-format b/lib/sanitizer_common/.clang-format
new file mode 100644
index 000000000..f6cb8ad93
--- /dev/null
+++ b/lib/sanitizer_common/.clang-format
@@ -0,0 +1 @@
+BasedOnStyle: Google
diff --git a/lib/tsan/.clang-format b/lib/tsan/.clang-format
new file mode 100644
index 000000000..f6cb8ad93
--- /dev/null
+++ b/lib/tsan/.clang-format
@@ -0,0 +1 @@
+BasedOnStyle: Google