[compiler-rt] r253608 - Tell clang-format that (most) sanitizers are written using Google style guide.

Duncan P. N. Exon Smith via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 20 11:43:07 PST 2015


> On 2015-Nov-19, at 14:11, Alexey Samsonov via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
> Author: samsonov
> Date: Thu Nov 19 16:11:10 2015
> New Revision: 253608
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=253608&view=rev
> Log:
> Tell clang-format that (most) sanitizers are written using Google style guide.

I'm guessing this isn't a change of policy, but I didn't know about it.
Why don't they use the LLVM style?  Is that documented in the coding
standards?  Should it be?

> 
> Added:
>    compiler-rt/trunk/lib/asan/.clang-format
>    compiler-rt/trunk/lib/dfsan/.clang-format
>    compiler-rt/trunk/lib/interception/.clang-format
>    compiler-rt/trunk/lib/lsan/.clang-format
>    compiler-rt/trunk/lib/msan/.clang-format
>    compiler-rt/trunk/lib/safestack/.clang-format
>    compiler-rt/trunk/lib/sanitizer_common/.clang-format
>    compiler-rt/trunk/lib/tsan/.clang-format
> 
> Added: compiler-rt/trunk/lib/asan/.clang-format
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/.clang-format?rev=253608&view=auto
> ==============================================================================
> --- compiler-rt/trunk/lib/asan/.clang-format (added)
> +++ compiler-rt/trunk/lib/asan/.clang-format Thu Nov 19 16:11:10 2015
> @@ -0,0 +1 @@
> +BasedOnStyle: Google
> 
> Added: compiler-rt/trunk/lib/dfsan/.clang-format
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/dfsan/.clang-format?rev=253608&view=auto
> ==============================================================================
> --- compiler-rt/trunk/lib/dfsan/.clang-format (added)
> +++ compiler-rt/trunk/lib/dfsan/.clang-format Thu Nov 19 16:11:10 2015
> @@ -0,0 +1 @@
> +BasedOnStyle: Google
> 
> Added: compiler-rt/trunk/lib/interception/.clang-format
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/interception/.clang-format?rev=253608&view=auto
> ==============================================================================
> --- compiler-rt/trunk/lib/interception/.clang-format (added)
> +++ compiler-rt/trunk/lib/interception/.clang-format Thu Nov 19 16:11:10 2015
> @@ -0,0 +1 @@
> +BasedOnStyle: Google
> 
> Added: compiler-rt/trunk/lib/lsan/.clang-format
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/lsan/.clang-format?rev=253608&view=auto
> ==============================================================================
> --- compiler-rt/trunk/lib/lsan/.clang-format (added)
> +++ compiler-rt/trunk/lib/lsan/.clang-format Thu Nov 19 16:11:10 2015
> @@ -0,0 +1 @@
> +BasedOnStyle: Google
> 
> Added: compiler-rt/trunk/lib/msan/.clang-format
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/msan/.clang-format?rev=253608&view=auto
> ==============================================================================
> --- compiler-rt/trunk/lib/msan/.clang-format (added)
> +++ compiler-rt/trunk/lib/msan/.clang-format Thu Nov 19 16:11:10 2015
> @@ -0,0 +1 @@
> +BasedOnStyle: Google
> 
> Added: compiler-rt/trunk/lib/safestack/.clang-format
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/safestack/.clang-format?rev=253608&view=auto
> ==============================================================================
> --- compiler-rt/trunk/lib/safestack/.clang-format (added)
> +++ compiler-rt/trunk/lib/safestack/.clang-format Thu Nov 19 16:11:10 2015
> @@ -0,0 +1 @@
> +BasedOnStyle: Google
> 
> Added: compiler-rt/trunk/lib/sanitizer_common/.clang-format
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/.clang-format?rev=253608&view=auto
> ==============================================================================
> --- compiler-rt/trunk/lib/sanitizer_common/.clang-format (added)
> +++ compiler-rt/trunk/lib/sanitizer_common/.clang-format Thu Nov 19 16:11:10 2015
> @@ -0,0 +1 @@
> +BasedOnStyle: Google
> 
> Added: compiler-rt/trunk/lib/tsan/.clang-format
> URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/.clang-format?rev=253608&view=auto
> ==============================================================================
> --- compiler-rt/trunk/lib/tsan/.clang-format (added)
> +++ compiler-rt/trunk/lib/tsan/.clang-format Thu Nov 19 16:11:10 2015
> @@ -0,0 +1 @@
> +BasedOnStyle: Google
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list