diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-01 23:47:58 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-01 23:47:58 +0100 |
commit | 489c3550c3694ffc5f67c1527a3f021a01c8bbfc (patch) | |
tree | 3303e22526d346030fa78dabcebdcfd0a3f11f1f | |
parent | 31317175d72c62994b98a93e1b827633b4de9cb2 (diff) | |
parent | c636373725c75bd363327b8e908f4ee65e0f3b4e (diff) | |
download | YAGE-489c3550c3694ffc5f67c1527a3f021a01c8bbfc.tar.gz YAGE-489c3550c3694ffc5f67c1527a3f021a01c8bbfc.zip |
Merge branch 'develop' of github.com:ymherklotz/YAGE into develop
-rw-r--r-- | clang-tidy-rules | 41 | ||||
-rwxr-xr-x | scripts/add_version_headers | 22 | ||||
-rw-r--r-- | todolist.org | 2 |
3 files changed, 58 insertions, 7 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 diff --git a/scripts/add_version_headers b/scripts/add_version_headers index 3dbc1ed8..5de82a6c 100755 --- a/scripts/add_version_headers +++ b/scripts/add_version_headers @@ -1,6 +1,6 @@ #!/usr/bin/env python # ----------------------------------------------------------------------------- -# add_version_headers.py +# add_version_headers # # Add version header # @@ -8,15 +8,25 @@ # See file LICENSE for more details # ----------------------------------------------------------------------------- -import os -import re -import sys +"""\file add_version_headers +\brief Adds the version headers to every file. + +Add Version Headers +=================== + +This file adds the version headers to every file in the directory -"""@package Add version headers -Adds the version headers to every file. +Improvements +------------ + +Add the ability to input command line arguments. """ +import os +import re +import sys + header = """/* ---------------------------------------------------------------\ ------------- diff --git a/todolist.org b/todolist.org index c0b1c287..e660e362 100644 --- a/todolist.org +++ b/todolist.org @@ -4,7 +4,7 @@ #+EMAIL: ymherklotz@gmail.com #+OPTIONS: ':nil *:t -:t ::t <:t H:3 \n:nil ^:t arch:headline #+OPTIONS: author:t c:nil creator:comment d:(not "LOGBOOK") date:t -#+OPTIONS: e:t email:nil f:t inline:t num:t p:nil pri:nil stat:t +#+OPTIONS: e:t email:nil f:t inline:t num:nil p:nil pri:nil stat:t #+OPTIONS: tags:t tasks:t tex:t timestamp:t toc:t todo:t |:t #+CREATOR: Emacs 25.2.1 (Org mode 8.2.10) #+DESCRIPTION: This is a todo list for yage. |