From 20c5c5c231803fd6092a045cc00ed7d6c68c87a4 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Fri, 28 Jul 2017 11:31:01 +0100 Subject: Update add_version_headers --- scripts/add_version_headers | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) 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 = """/* ---------------------------------------------------------------\ ------------- -- cgit From 7bbdc50d7815848da36929cb4ba3e6bed3a653b6 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Tue, 1 Aug 2017 11:41:40 +0100 Subject: Create clang-tidy-rules --- clang-tidy-rules | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 clang-tidy-rules 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 -- cgit From c636373725c75bd363327b8e908f4ee65e0f3b4e Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Tue, 1 Aug 2017 11:57:26 +0100 Subject: Update issues.org --- issues.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/issues.org b/issues.org index c0b1c287..e660e362 100644 --- a/issues.org +++ b/issues.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. -- cgit