aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-08-01 11:41:40 +0100
committerGitHub <noreply@github.com>2017-08-01 11:41:40 +0100
commit7bbdc50d7815848da36929cb4ba3e6bed3a653b6 (patch)
tree20c247978714f4f7c45f4df315b0dc0dc44a4c4a
parent20c5c5c231803fd6092a045cc00ed7d6c68c87a4 (diff)
downloadYAGE-7bbdc50d7815848da36929cb4ba3e6bed3a653b6.tar.gz
YAGE-7bbdc50d7815848da36929cb4ba3e6bed3a653b6.zip
Create clang-tidy-rules
-rw-r--r--clang-tidy-rules41
1 files changed, 41 insertions, 0 deletions
diff --git a/clang-tidy-rules b/clang-tidy-rules
new file mode 100644
index 00000000..6583e9da
--- /dev/null
+++ b/clang-tidy-rules
@@ -0,0 +1,41 @@
+[Includes]
+cert-dcl21-cpp
+cert-dcl50-cpp
+cert-dcl58-cpp
+cert-err34-c
+cert-flp30-c
+misc-static-assert
+misc-new-delete-overloads
+misc-throw-by-value-catch-by-reference
+misc-non-copyable-objects
+misc-move-constructor-init
+cppcoreguidelines-interfaces-global-init
+cppcoreguidelines-slicing
+cppcoreguidelines-special-member-functions
+cppcoreguidelines-no-malloc
+cppcoreguidelines-pro-bounds-array-to-pointer-decay
+cppcoreguidelines-pro-bounds-constant-array-index
+cppcoreguidelines-pro-type-cstyle-cast
+cppcoreguidelines-pro-type-member-init
+google-build-explicit-make-pair
+google-build-using-namespace
+google-default-arguments
+google-explicit-constructor
+google-global-names-in-headers
+readability-braces-around-statements
+readability-function-size
+readability-redundant-smartptr-get
+llvm-namespace-comment
+llvm-header-guard
+llvm-twine-local
+misc-argument-comment
+misc-assert-side-effect
+misc-bool-pointer-implicit-conversion
+misc-dangling-handle
+misc-definitions-in-headers
+misc-fold-init-type
+misc-forward-declaration-namespace
+misc-forwarding-reference-overload
+
+[Maybe Includes]
+google-runtime-member-string-references