[compiler-rt] r258449 - .clang-tidy for sanitizer package to override root llvm style
Alexander Kornienko via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 22 10:40:36 PST 2016
On Fri, Jan 22, 2016 at 12:21 AM, Mike Aizatsky via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
> Author: aizatsky
> Date: Thu Jan 21 17:21:31 2016
> New Revision: 258449
>
> URL: http://llvm.org/viewvc/llvm-project?rev=258449&view=rev
> Log:
> .clang-tidy for sanitizer package to override root llvm style
>
> Summary:
> sanitizer-common follows Google code style, override
> clang-tidy config.
>
> Differential Revision: http://reviews.llvm.org/D16373
>
> Added:
> compiler-rt/trunk/lib/sanitizer_common/.clang-tidy
>
> Added: compiler-rt/trunk/lib/sanitizer_common/.clang-tidy
> URL:
> http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/.clang-tidy?rev=258449&view=auto
>
> ==============================================================================
> --- compiler-rt/trunk/lib/sanitizer_common/.clang-tidy (added)
> +++ compiler-rt/trunk/lib/sanitizer_common/.clang-tidy Thu Jan 21 17:21:31
> 2016
> @@ -0,0 +1,12 @@
> +Checks:
> '-*,clang-diagnostic-*,llvm-*,misc-*,readability-identifier-naming'
> +CheckOptions:
> + - key: readability-identifier-naming.ClassCase
> + value: CamelCase
> + - key: readability-identifier-naming.EnumCase
> + value: CamelCase
> + - key: readability-identifier-naming.FunctionCase
> + value: CamelCase
> + - key: readability-identifier-naming.UnionCase
> + value: CamelCase
> + - key: readability-identifier-naming.VariableCase
> + value: lowerCase
>
>
The last one should be "lower_case", I guess (see clang-tidy/readability/
IdentifierNamingCheck.cpp:91).
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160122/9d6d080f/attachment.html>
More information about the llvm-commits
mailing list