From 4c78c69da023c830a50fa998521ccaf5b7babaec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20M=C3=BCller?= Date: Thu, 25 Jan 2018 22:02:21 +0100 Subject: [PATCH] Update copyright year --- CMakeLists.txt | 2 +- LICENSE.md | 2 +- example/CMakeLists.txt | 2 +- example/ast_printer.cpp | 2 +- example/comparison.cpp | 2 +- example/documentation_generator.cpp | 2 +- example/enum_category.cpp | 2 +- example/enum_to_string.cpp | 2 +- example/example_parser.hpp | 2 +- example/serialization.cpp | 2 +- include/cppast/code_generator.hpp | 2 +- include/cppast/compile_config.hpp | 6 ++--- include/cppast/cpp_alias_template.hpp | 2 +- include/cppast/cpp_array_type.hpp | 2 +- include/cppast/cpp_attribute.hpp | 2 +- include/cppast/cpp_class.hpp | 2 +- include/cppast/cpp_class_template.hpp | 2 +- include/cppast/cpp_decltype_type.hpp | 6 ++--- include/cppast/cpp_entity.hpp | 2 +- include/cppast/cpp_entity_container.hpp | 2 +- include/cppast/cpp_entity_index.hpp | 12 +++------ include/cppast/cpp_entity_kind.hpp | 2 +- include/cppast/cpp_entity_ref.hpp | 4 +-- include/cppast/cpp_enum.hpp | 2 +- include/cppast/cpp_expression.hpp | 2 +- include/cppast/cpp_file.hpp | 2 +- include/cppast/cpp_forward_declarable.hpp | 2 +- include/cppast/cpp_friend.hpp | 6 ++--- include/cppast/cpp_function.hpp | 6 ++--- include/cppast/cpp_function_template.hpp | 4 +-- include/cppast/cpp_function_type.hpp | 2 +- include/cppast/cpp_language_linkage.hpp | 2 +- include/cppast/cpp_member_function.hpp | 12 ++++----- include/cppast/cpp_member_variable.hpp | 2 +- include/cppast/cpp_namespace.hpp | 2 +- include/cppast/cpp_preprocessor.hpp | 2 +- include/cppast/cpp_static_assert.hpp | 2 +- .../cppast/cpp_storage_class_specifiers.hpp | 2 +- include/cppast/cpp_template.hpp | 2 +- include/cppast/cpp_template_parameter.hpp | 11 +++----- include/cppast/cpp_token.hpp | 2 +- include/cppast/cpp_type.hpp | 2 +- include/cppast/cpp_type_alias.hpp | 2 +- include/cppast/cpp_variable.hpp | 2 +- include/cppast/cpp_variable_base.hpp | 2 +- include/cppast/cpp_variable_template.hpp | 2 +- include/cppast/detail/assert.hpp | 2 +- include/cppast/detail/intrusive_list.hpp | 20 +++++--------- include/cppast/diagnostic.hpp | 2 +- include/cppast/diagnostic_logger.hpp | 6 ++--- include/cppast/libclang_parser.hpp | 2 +- include/cppast/parser.hpp | 2 +- include/cppast/visitor.hpp | 2 +- src/CMakeLists.txt | 2 +- src/code_generator.cpp | 2 +- src/cpp_alias_template.cpp | 2 +- src/cpp_attribute.cpp | 2 +- src/cpp_class.cpp | 2 +- src/cpp_class_template.cpp | 2 +- src/cpp_entity.cpp | 2 +- src/cpp_entity_index.cpp | 2 +- src/cpp_entity_kind.cpp | 2 +- src/cpp_enum.cpp | 2 +- src/cpp_expression.cpp | 2 +- src/cpp_file.cpp | 2 +- src/cpp_forward_declarable.cpp | 2 +- src/cpp_friend.cpp | 2 +- src/cpp_function.cpp | 2 +- src/cpp_function_template.cpp | 2 +- src/cpp_language_linkage.cpp | 2 +- src/cpp_member_function.cpp | 2 +- src/cpp_member_variable.cpp | 2 +- src/cpp_namespace.cpp | 2 +- src/cpp_preprocessor.cpp | 2 +- src/cpp_static_assert.cpp | 2 +- src/cpp_template_parameter.cpp | 2 +- src/cpp_token.cpp | 2 +- src/cpp_type.cpp | 2 +- src/cpp_type_alias.cpp | 2 +- src/cpp_variable.cpp | 2 +- src/cpp_variable_template.cpp | 2 +- src/diagnostic_logger.cpp | 2 +- src/libclang/class_parser.cpp | 2 +- src/libclang/cxtokenizer.cpp | 2 +- src/libclang/cxtokenizer.hpp | 2 +- src/libclang/debug_helper.cpp | 2 +- src/libclang/debug_helper.hpp | 2 +- src/libclang/enum_parser.cpp | 2 +- src/libclang/expression_parser.cpp | 2 +- src/libclang/friend_parser.cpp | 2 +- src/libclang/function_parser.cpp | 2 +- src/libclang/language_linkage_parser.cpp | 2 +- src/libclang/libclang_parser.cpp | 2 +- src/libclang/libclang_visitor.hpp | 2 +- src/libclang/namespace_parser.cpp | 2 +- src/libclang/parse_error.hpp | 2 +- src/libclang/parse_functions.cpp | 2 +- src/libclang/parse_functions.hpp | 2 +- src/libclang/preprocessor.cpp | 2 +- src/libclang/preprocessor.hpp | 2 +- src/libclang/raii_wrapper.hpp | 10 +++---- src/libclang/template_parser.cpp | 2 +- src/libclang/type_parser.cpp | 2 +- src/libclang/variable_parser.cpp | 2 +- src/visitor.cpp | 2 +- test/CMakeLists.txt | 2 +- test/code_generator.cpp | 2 +- test/cpp_alias_template.cpp | 7 +++-- test/cpp_attribute.cpp | 2 +- test/cpp_class.cpp | 25 +++++++++--------- test/cpp_class_template.cpp | 2 +- test/cpp_enum.cpp | 2 +- test/cpp_friend.cpp | 2 +- test/cpp_function.cpp | 2 +- test/cpp_function_template.cpp | 2 +- test/cpp_language_linkage.cpp | 2 +- test/cpp_member_function.cpp | 2 +- test/cpp_member_variable.cpp | 2 +- test/cpp_namespace.cpp | 2 +- test/cpp_preprocessor.cpp | 2 +- test/cpp_static_assert.cpp | 2 +- test/cpp_template_parameter.cpp | 2 +- test/cpp_token.cpp | 2 +- test/cpp_type_alias.cpp | 2 +- test/cpp_variable.cpp | 2 +- test/integration.cpp | 2 +- test/libclang_parser.cpp | 2 +- test/parser.cpp | 26 +++++-------------- test/test.cpp | 2 +- test/test_parser.hpp | 2 +- tool/CMakeLists.txt | 2 +- tool/main.cpp | 2 +- 132 files changed, 176 insertions(+), 219 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b6d37b8..166e5a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2017 Jonathan Müller +# Copyright (C) 2017-2018 Jonathan Müller # This file is subject to the license terms in the LICENSE file # found in the top-level directory of this distribution. diff --git a/LICENSE.md b/LICENSE.md index e557280..b68dfd4 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2017 Jonathan Müller +Copyright (c) 2017-2018 Jonathan Müller Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 784fd87..549873a 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2017 Jonathan Müller +# Copyright (C) 2017-2018 Jonathan Müller # This file is subject to the license terms in the LICENSE file # found in the top-level directory of this distribution. diff --git a/example/ast_printer.cpp b/example/ast_printer.cpp index 265669e..d8706b5 100644 --- a/example/ast_printer.cpp +++ b/example/ast_printer.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/example/comparison.cpp b/example/comparison.cpp index d566df0..bd38267 100644 --- a/example/comparison.cpp +++ b/example/comparison.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/example/documentation_generator.cpp b/example/documentation_generator.cpp index 3ed0d36..3defe02 100644 --- a/example/documentation_generator.cpp +++ b/example/documentation_generator.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/example/enum_category.cpp b/example/enum_category.cpp index 03c062d..f0a6098 100644 --- a/example/enum_category.cpp +++ b/example/enum_category.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/example/enum_to_string.cpp b/example/enum_to_string.cpp index ca4d481..87f7b28 100644 --- a/example/enum_to_string.cpp +++ b/example/enum_to_string.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/example/example_parser.hpp b/example/example_parser.hpp index b91c12c..a2763f3 100644 --- a/example/example_parser.hpp +++ b/example/example_parser.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/example/serialization.cpp b/example/serialization.cpp index cb26940..083e71f 100644 --- a/example/serialization.cpp +++ b/example/serialization.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/code_generator.hpp b/include/cppast/code_generator.hpp index ade030b..0ac8f92 100644 --- a/include/cppast/code_generator.hpp +++ b/include/cppast/code_generator.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/compile_config.hpp b/include/cppast/compile_config.hpp index 484fc35..c3794f9 100644 --- a/include/cppast/compile_config.hpp +++ b/include/cppast/compile_config.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. @@ -100,9 +100,7 @@ namespace cppast } protected: - compile_config(std::vector def_flags) : flags_(std::move(def_flags)) - { - } + compile_config(std::vector def_flags) : flags_(std::move(def_flags)) {} compile_config(const compile_config&) = default; compile_config& operator=(const compile_config&) = default; diff --git a/include/cppast/cpp_alias_template.hpp b/include/cppast/cpp_alias_template.hpp index 29d49a7..f1b6218 100644 --- a/include/cppast/cpp_alias_template.hpp +++ b/include/cppast/cpp_alias_template.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_array_type.hpp b/include/cppast/cpp_array_type.hpp index bea4ac1..7ac2550 100644 --- a/include/cppast/cpp_array_type.hpp +++ b/include/cppast/cpp_array_type.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_attribute.hpp b/include/cppast/cpp_attribute.hpp index 59070b0..9c25079 100644 --- a/include/cppast/cpp_attribute.hpp +++ b/include/cppast/cpp_attribute.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_class.hpp b/include/cppast/cpp_class.hpp index c4642fd..0a5d9a9 100644 --- a/include/cppast/cpp_class.hpp +++ b/include/cppast/cpp_class.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_class_template.hpp b/include/cppast/cpp_class_template.hpp index 2a32454..91f8d34 100644 --- a/include/cppast/cpp_class_template.hpp +++ b/include/cppast/cpp_class_template.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_decltype_type.hpp b/include/cppast/cpp_decltype_type.hpp index f475264..66baa85 100644 --- a/include/cppast/cpp_decltype_type.hpp +++ b/include/cppast/cpp_decltype_type.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. @@ -27,9 +27,7 @@ namespace cppast } private: - cpp_decltype_type(std::unique_ptr expr) : expr_(std::move(expr)) - { - } + cpp_decltype_type(std::unique_ptr expr) : expr_(std::move(expr)) {} cpp_type_kind do_get_kind() const noexcept override { diff --git a/include/cppast/cpp_entity.hpp b/include/cppast/cpp_entity.hpp index 73a1454..d51f059 100644 --- a/include/cppast/cpp_entity.hpp +++ b/include/cppast/cpp_entity.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_entity_container.hpp b/include/cppast/cpp_entity_container.hpp index 85c2ac8..83bd24c 100644 --- a/include/cppast/cpp_entity_container.hpp +++ b/include/cppast/cpp_entity_container.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_entity_index.hpp b/include/cppast/cpp_entity_index.hpp index d5dd545..abef531 100644 --- a/include/cppast/cpp_entity_index.hpp +++ b/include/cppast/cpp_entity_index.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. @@ -39,13 +39,9 @@ namespace cppast struct cpp_entity_id : type_safe::strong_typedef, type_safe::strong_typedef_op::equality_comparison { - explicit cpp_entity_id(const std::string& str) : cpp_entity_id(str.c_str()) - { - } + explicit cpp_entity_id(const std::string& str) : cpp_entity_id(str.c_str()) {} - explicit cpp_entity_id(const char* str) : strong_typedef(detail::id_hash(str)) - { - } + explicit cpp_entity_id(const char* str) : strong_typedef(detail::id_hash(str)) {} }; inline namespace literals @@ -138,7 +134,7 @@ namespace cppast } }; - mutable std::mutex mutex_; + mutable std::mutex mutex_; mutable std::unordered_map map_; mutable std::unordered_map>, hash> diff --git a/include/cppast/cpp_entity_kind.hpp b/include/cppast/cpp_entity_kind.hpp index 113ee05..f435e5b 100644 --- a/include/cppast/cpp_entity_kind.hpp +++ b/include/cppast/cpp_entity_kind.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_entity_ref.hpp b/include/cppast/cpp_entity_ref.hpp index 55d5943..5ede2fb 100644 --- a/include/cppast/cpp_entity_ref.hpp +++ b/include/cppast/cpp_entity_ref.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. @@ -109,7 +109,7 @@ namespace cppast } type_safe::variant> target_; - std::string name_; + std::string name_; }; /// \exclude diff --git a/include/cppast/cpp_enum.hpp b/include/cppast/cpp_enum.hpp index ee55ccc..4845d79 100644 --- a/include/cppast/cpp_enum.hpp +++ b/include/cppast/cpp_enum.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_expression.hpp b/include/cppast/cpp_expression.hpp index c9166d3..7a5a998 100644 --- a/include/cppast/cpp_expression.hpp +++ b/include/cppast/cpp_expression.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_file.hpp b/include/cppast/cpp_file.hpp index 942e4f5..cd26159 100644 --- a/include/cppast/cpp_file.hpp +++ b/include/cppast/cpp_file.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_forward_declarable.hpp b/include/cppast/cpp_forward_declarable.hpp index eb8c4e1..4e16899 100644 --- a/include/cppast/cpp_forward_declarable.hpp +++ b/include/cppast/cpp_forward_declarable.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_friend.hpp b/include/cppast/cpp_friend.hpp index d0b605c..4cd8010 100644 --- a/include/cppast/cpp_friend.hpp +++ b/include/cppast/cpp_friend.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. @@ -57,9 +57,7 @@ namespace cppast add_child(std::move(e)); } - cpp_friend(std::unique_ptr type) : cpp_entity(""), type_(std::move(type)) - { - } + cpp_friend(std::unique_ptr type) : cpp_entity(""), type_(std::move(type)) {} cpp_entity_kind do_get_entity_kind() const noexcept override; diff --git a/include/cppast/cpp_function.hpp b/include/cppast/cpp_function.hpp index 0bfc47b..2df46be 100644 --- a/include/cppast/cpp_function.hpp +++ b/include/cppast/cpp_function.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. @@ -111,9 +111,7 @@ namespace cppast { public: /// \effects Sets the name. - basic_builder(std::string name) : function(new T(name)) - { - } + basic_builder(std::string name) : function(new T(name)) {} /// \effects Adds a parameter. void add_parameter(std::unique_ptr parameter) diff --git a/include/cppast/cpp_function_template.hpp b/include/cppast/cpp_function_template.hpp index 53fc369..1edb365 100644 --- a/include/cppast/cpp_function_template.hpp +++ b/include/cppast/cpp_function_template.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. @@ -48,7 +48,7 @@ namespace cppast /// Builder for [cppast::cpp_function_template_specialization](). class builder - : public specialization_builder + : public specialization_builder { public: using specialization_builder::specialization_builder; diff --git a/include/cppast/cpp_function_type.hpp b/include/cppast/cpp_function_type.hpp index a7b9aa9..763d281 100644 --- a/include/cppast/cpp_function_type.hpp +++ b/include/cppast/cpp_function_type.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_language_linkage.hpp b/include/cppast/cpp_language_linkage.hpp index d0086b4..1e1e837 100644 --- a/include/cppast/cpp_language_linkage.hpp +++ b/include/cppast/cpp_language_linkage.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_member_function.hpp b/include/cppast/cpp_member_function.hpp index c743d7f..4b39255 100644 --- a/include/cppast/cpp_member_function.hpp +++ b/include/cppast/cpp_member_function.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. @@ -168,8 +168,8 @@ namespace cppast class builder : public cpp_member_function_base::basic_member_builder { public: - using cpp_member_function_base::basic_member_builder:: - basic_member_builder; + using cpp_member_function_base::basic_member_builder< + cpp_member_function>::basic_member_builder; }; private: @@ -199,8 +199,8 @@ namespace cppast } private: - using basic_member_builder::is_variadic; using basic_member_builder::add_parameter; + using basic_member_builder::is_variadic; }; /// \returns Whether or not the conversion is `explicit`. @@ -309,9 +309,7 @@ namespace cppast } private: - cpp_destructor(std::string name) : cpp_function_base(std::move(name)) - { - } + cpp_destructor(std::string name) : cpp_function_base(std::move(name)) {} cpp_entity_kind do_get_entity_kind() const noexcept override; diff --git a/include/cppast/cpp_member_variable.hpp b/include/cppast/cpp_member_variable.hpp index 89545ab..25d712b 100644 --- a/include/cppast/cpp_member_variable.hpp +++ b/include/cppast/cpp_member_variable.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_namespace.hpp b/include/cppast/cpp_namespace.hpp index 5d18274..0c8dca0 100644 --- a/include/cppast/cpp_namespace.hpp +++ b/include/cppast/cpp_namespace.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_preprocessor.hpp b/include/cppast/cpp_preprocessor.hpp index bcdb62f..58f2405 100644 --- a/include/cppast/cpp_preprocessor.hpp +++ b/include/cppast/cpp_preprocessor.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_static_assert.hpp b/include/cppast/cpp_static_assert.hpp index 1d6419f..0e9afcf 100644 --- a/include/cppast/cpp_static_assert.hpp +++ b/include/cppast/cpp_static_assert.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_storage_class_specifiers.hpp b/include/cppast/cpp_storage_class_specifiers.hpp index 6b9039e..040bd84 100644 --- a/include/cppast/cpp_storage_class_specifiers.hpp +++ b/include/cppast/cpp_storage_class_specifiers.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_template.hpp b/include/cppast/cpp_template.hpp index ce5a4f4..da430db 100644 --- a/include/cppast/cpp_template.hpp +++ b/include/cppast/cpp_template.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_template_parameter.hpp b/include/cppast/cpp_template_parameter.hpp index cb0a3c6..c489bf1 100644 --- a/include/cppast/cpp_template_parameter.hpp +++ b/include/cppast/cpp_template_parameter.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. @@ -275,9 +275,8 @@ namespace cppast /// \notes This constructor only participates in overload resolution if `T` is dervied from [cppast::cpp_expression](). /// \param 1 /// \exclude - template < - typename T, - typename = typename std::enable_if::value>::type> + template ::value>::type> cpp_template_argument(std::unique_ptr expr) : arg_(std::unique_ptr(std::move(expr))) { @@ -285,9 +284,7 @@ namespace cppast /// \effects Initializes it passing a template as argument. /// This corresponds to a [cppast::cpp_template_template_parameter](). - cpp_template_argument(cpp_template_ref templ) : arg_(std::move(templ)) - { - } + cpp_template_argument(cpp_template_ref templ) : arg_(std::move(templ)) {} type_safe::optional_ref type() const noexcept { diff --git a/include/cppast/cpp_token.hpp b/include/cppast/cpp_token.hpp index 47d1073..af90534 100644 --- a/include/cppast/cpp_token.hpp +++ b/include/cppast/cpp_token.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_type.hpp b/include/cppast/cpp_type.hpp index 19c707d..f822536 100644 --- a/include/cppast/cpp_type.hpp +++ b/include/cppast/cpp_type.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_type_alias.hpp b/include/cppast/cpp_type_alias.hpp index 48c89ac..6ddfea9 100644 --- a/include/cppast/cpp_type_alias.hpp +++ b/include/cppast/cpp_type_alias.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_variable.hpp b/include/cppast/cpp_variable.hpp index da3c0d1..0d7064e 100644 --- a/include/cppast/cpp_variable.hpp +++ b/include/cppast/cpp_variable.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_variable_base.hpp b/include/cppast/cpp_variable_base.hpp index 75c0d8d..9ac44a8 100644 --- a/include/cppast/cpp_variable_base.hpp +++ b/include/cppast/cpp_variable_base.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/cpp_variable_template.hpp b/include/cppast/cpp_variable_template.hpp index a74bf34..fe4e33e 100644 --- a/include/cppast/cpp_variable_template.hpp +++ b/include/cppast/cpp_variable_template.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/detail/assert.hpp b/include/cppast/detail/assert.hpp index 7af9903..66fc42d 100644 --- a/include/cppast/detail/assert.hpp +++ b/include/cppast/detail/assert.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/detail/intrusive_list.hpp b/include/cppast/detail/intrusive_list.hpp index ab68837..3627a10 100644 --- a/include/cppast/detail/intrusive_list.hpp +++ b/include/cppast/detail/intrusive_list.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. @@ -67,9 +67,7 @@ namespace cppast using difference_type = std::ptrdiff_t; using iterator_category = std::forward_iterator_tag; - intrusive_list_iterator() noexcept : cur_(nullptr) - { - } + intrusive_list_iterator() noexcept : cur_(nullptr) {} reference operator*() const noexcept { @@ -107,9 +105,7 @@ namespace cppast } private: - intrusive_list_iterator(T* ptr) : cur_(ptr) - { - } + intrusive_list_iterator(T* ptr) : cur_(ptr) {} T* cur_; @@ -124,17 +120,15 @@ namespace cppast intrusive_list() = default; //=== modifiers ===// - template < - typename Dummy = T, - typename = typename std::enable_if::value>::type> + template ::value>::type> void push_back(std::unique_ptr obj) noexcept { push_back_impl(std::move(obj)); } - template < - typename U, - typename = typename std::enable_if::value, U>::type> + template ::value, U>::type> void push_back(const U& parent, std::unique_ptr obj) noexcept { push_back_impl(std::move(obj)); diff --git a/include/cppast/diagnostic.hpp b/include/cppast/diagnostic.hpp index e73a994..46b66e2 100644 --- a/include/cppast/diagnostic.hpp +++ b/include/cppast/diagnostic.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/diagnostic_logger.hpp b/include/cppast/diagnostic_logger.hpp index 7748ac0..9a0c9c8 100644 --- a/include/cppast/diagnostic_logger.hpp +++ b/include/cppast/diagnostic_logger.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. @@ -18,9 +18,7 @@ namespace cppast { public: /// \effects Creates it either as verbose or not. - explicit diagnostic_logger(bool is_verbose = false) noexcept : verbose_(is_verbose) - { - } + explicit diagnostic_logger(bool is_verbose = false) noexcept : verbose_(is_verbose) {} diagnostic_logger(const diagnostic_logger&) = delete; diagnostic_logger& operator=(const diagnostic_logger&) = delete; diff --git a/include/cppast/libclang_parser.hpp b/include/cppast/libclang_parser.hpp index 90eba16..bd3fbe5 100644 --- a/include/cppast/libclang_parser.hpp +++ b/include/cppast/libclang_parser.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/parser.hpp b/include/cppast/parser.hpp index 67cbcd9..8e7ea0a 100644 --- a/include/cppast/parser.hpp +++ b/include/cppast/parser.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/include/cppast/visitor.hpp b/include/cppast/visitor.hpp index 72f4f11..28dba8b 100644 --- a/include/cppast/visitor.hpp +++ b/include/cppast/visitor.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 34aa886..b83bf1e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2017 Jonathan Müller +# Copyright (C) 2017-2018 Jonathan Müller # This file is subject to the license terms in the LICENSE file # found in the top-level directory of this distribution. diff --git a/src/code_generator.cpp b/src/code_generator.cpp index 41cb7f4..f05eaa0 100644 --- a/src/code_generator.cpp +++ b/src/code_generator.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_alias_template.cpp b/src/cpp_alias_template.cpp index 7f0f20c..02bbdc3 100644 --- a/src/cpp_alias_template.cpp +++ b/src/cpp_alias_template.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_attribute.cpp b/src/cpp_attribute.cpp index 85bb9aa..c20e636 100644 --- a/src/cpp_attribute.cpp +++ b/src/cpp_attribute.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_class.cpp b/src/cpp_class.cpp index 14cad8b..9b2baa6 100644 --- a/src/cpp_class.cpp +++ b/src/cpp_class.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_class_template.cpp b/src/cpp_class_template.cpp index 4556e43..706c7cf 100644 --- a/src/cpp_class_template.cpp +++ b/src/cpp_class_template.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_entity.cpp b/src/cpp_entity.cpp index 9b6d96f..9ab8569 100644 --- a/src/cpp_entity.cpp +++ b/src/cpp_entity.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_entity_index.cpp b/src/cpp_entity_index.cpp index 521e367..67cabf0 100644 --- a/src/cpp_entity_index.cpp +++ b/src/cpp_entity_index.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_entity_kind.cpp b/src/cpp_entity_kind.cpp index 5738800..fc0fc3f 100644 --- a/src/cpp_entity_kind.cpp +++ b/src/cpp_entity_kind.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_enum.cpp b/src/cpp_enum.cpp index f8c2f57..bca2526 100644 --- a/src/cpp_enum.cpp +++ b/src/cpp_enum.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_expression.cpp b/src/cpp_expression.cpp index a3585dd..ff7ccf7 100644 --- a/src/cpp_expression.cpp +++ b/src/cpp_expression.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_file.cpp b/src/cpp_file.cpp index a3cd9d6..5d15e34 100644 --- a/src/cpp_file.cpp +++ b/src/cpp_file.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_forward_declarable.cpp b/src/cpp_forward_declarable.cpp index c4976d9..c73a019 100644 --- a/src/cpp_forward_declarable.cpp +++ b/src/cpp_forward_declarable.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_friend.cpp b/src/cpp_friend.cpp index 2099f10..0907e93 100644 --- a/src/cpp_friend.cpp +++ b/src/cpp_friend.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_function.cpp b/src/cpp_function.cpp index a6d24e6..fd88b11 100644 --- a/src/cpp_function.cpp +++ b/src/cpp_function.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_function_template.cpp b/src/cpp_function_template.cpp index de121b0..c33d365 100644 --- a/src/cpp_function_template.cpp +++ b/src/cpp_function_template.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_language_linkage.cpp b/src/cpp_language_linkage.cpp index 457d91a..eace0cf 100644 --- a/src/cpp_language_linkage.cpp +++ b/src/cpp_language_linkage.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_member_function.cpp b/src/cpp_member_function.cpp index dcfdbc9..56cd8fa 100644 --- a/src/cpp_member_function.cpp +++ b/src/cpp_member_function.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_member_variable.cpp b/src/cpp_member_variable.cpp index 8aebf9b..48ac232 100644 --- a/src/cpp_member_variable.cpp +++ b/src/cpp_member_variable.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_namespace.cpp b/src/cpp_namespace.cpp index 79df2a4..bb88485 100644 --- a/src/cpp_namespace.cpp +++ b/src/cpp_namespace.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_preprocessor.cpp b/src/cpp_preprocessor.cpp index e7bc5f0..04329e3 100644 --- a/src/cpp_preprocessor.cpp +++ b/src/cpp_preprocessor.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_static_assert.cpp b/src/cpp_static_assert.cpp index 9952c40..f40329b 100644 --- a/src/cpp_static_assert.cpp +++ b/src/cpp_static_assert.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_template_parameter.cpp b/src/cpp_template_parameter.cpp index 61122ad..f2b18a0 100644 --- a/src/cpp_template_parameter.cpp +++ b/src/cpp_template_parameter.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_token.cpp b/src/cpp_token.cpp index 04d9ec5..8664f33 100644 --- a/src/cpp_token.cpp +++ b/src/cpp_token.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_type.cpp b/src/cpp_type.cpp index 8c98a8c..3bbe123 100644 --- a/src/cpp_type.cpp +++ b/src/cpp_type.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_type_alias.cpp b/src/cpp_type_alias.cpp index 389b637..d35d624 100644 --- a/src/cpp_type_alias.cpp +++ b/src/cpp_type_alias.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_variable.cpp b/src/cpp_variable.cpp index 49781a8..38f5f05 100644 --- a/src/cpp_variable.cpp +++ b/src/cpp_variable.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/cpp_variable_template.cpp b/src/cpp_variable_template.cpp index 95f9ca9..5b6e58c 100644 --- a/src/cpp_variable_template.cpp +++ b/src/cpp_variable_template.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/diagnostic_logger.cpp b/src/diagnostic_logger.cpp index 64fd823..73d097b 100644 --- a/src/diagnostic_logger.cpp +++ b/src/diagnostic_logger.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/class_parser.cpp b/src/libclang/class_parser.cpp index c020de5..4d0c8a8 100644 --- a/src/libclang/class_parser.cpp +++ b/src/libclang/class_parser.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/cxtokenizer.cpp b/src/libclang/cxtokenizer.cpp index 5ee8035..a3e5aeb 100644 --- a/src/libclang/cxtokenizer.cpp +++ b/src/libclang/cxtokenizer.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/cxtokenizer.hpp b/src/libclang/cxtokenizer.hpp index b2a277e..42d2dfa 100644 --- a/src/libclang/cxtokenizer.hpp +++ b/src/libclang/cxtokenizer.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/debug_helper.cpp b/src/libclang/debug_helper.cpp index ba4d38d..e973ded 100644 --- a/src/libclang/debug_helper.cpp +++ b/src/libclang/debug_helper.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/debug_helper.hpp b/src/libclang/debug_helper.hpp index 8f21616..756d0f9 100644 --- a/src/libclang/debug_helper.hpp +++ b/src/libclang/debug_helper.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/enum_parser.cpp b/src/libclang/enum_parser.cpp index 658d7c5..a49096d 100644 --- a/src/libclang/enum_parser.cpp +++ b/src/libclang/enum_parser.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/expression_parser.cpp b/src/libclang/expression_parser.cpp index 43079e0..faf49a0 100644 --- a/src/libclang/expression_parser.cpp +++ b/src/libclang/expression_parser.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/friend_parser.cpp b/src/libclang/friend_parser.cpp index 72583f7..5e54a84 100644 --- a/src/libclang/friend_parser.cpp +++ b/src/libclang/friend_parser.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/function_parser.cpp b/src/libclang/function_parser.cpp index 1861d6c..568a6fd 100644 --- a/src/libclang/function_parser.cpp +++ b/src/libclang/function_parser.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/language_linkage_parser.cpp b/src/libclang/language_linkage_parser.cpp index d07078a..d88c346 100644 --- a/src/libclang/language_linkage_parser.cpp +++ b/src/libclang/language_linkage_parser.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/libclang_parser.cpp b/src/libclang/libclang_parser.cpp index e518a5d..e85d7e2 100644 --- a/src/libclang/libclang_parser.cpp +++ b/src/libclang/libclang_parser.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/libclang_visitor.hpp b/src/libclang/libclang_visitor.hpp index 650cd5b..a51a050 100644 --- a/src/libclang/libclang_visitor.hpp +++ b/src/libclang/libclang_visitor.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/namespace_parser.cpp b/src/libclang/namespace_parser.cpp index 0dc5636..c78a0a6 100644 --- a/src/libclang/namespace_parser.cpp +++ b/src/libclang/namespace_parser.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/parse_error.hpp b/src/libclang/parse_error.hpp index ba7606b..a0e0707 100644 --- a/src/libclang/parse_error.hpp +++ b/src/libclang/parse_error.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/parse_functions.cpp b/src/libclang/parse_functions.cpp index b035b81..22d3cf0 100644 --- a/src/libclang/parse_functions.cpp +++ b/src/libclang/parse_functions.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/parse_functions.hpp b/src/libclang/parse_functions.hpp index 866d6c8..7814960 100644 --- a/src/libclang/parse_functions.hpp +++ b/src/libclang/parse_functions.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/preprocessor.cpp b/src/libclang/preprocessor.cpp index 01b8189..cc97ff6 100644 --- a/src/libclang/preprocessor.cpp +++ b/src/libclang/preprocessor.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/preprocessor.hpp b/src/libclang/preprocessor.hpp index 9cc66fc..e09015b 100644 --- a/src/libclang/preprocessor.hpp +++ b/src/libclang/preprocessor.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/raii_wrapper.hpp b/src/libclang/raii_wrapper.hpp index 17f3278..f93586f 100644 --- a/src/libclang/raii_wrapper.hpp +++ b/src/libclang/raii_wrapper.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. @@ -24,9 +24,7 @@ namespace cppast static_assert(std::is_pointer::value, ""); public: - raii_wrapper() noexcept : obj_(nullptr) - { - } + raii_wrapper() noexcept : obj_(nullptr) {} explicit raii_wrapper(T obj) noexcept : obj_(obj) { @@ -90,9 +88,7 @@ namespace cppast class cxstring { public: - explicit cxstring(CXString str) noexcept : str_(string(str)) - { - } + explicit cxstring(CXString str) noexcept : str_(string(str)) {} cxstring(cxstring&& other) noexcept : str_(other.str_) { diff --git a/src/libclang/template_parser.cpp b/src/libclang/template_parser.cpp index a38232a..eed3a07 100644 --- a/src/libclang/template_parser.cpp +++ b/src/libclang/template_parser.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/type_parser.cpp b/src/libclang/type_parser.cpp index 63e969b..c7eb90f 100644 --- a/src/libclang/type_parser.cpp +++ b/src/libclang/type_parser.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/libclang/variable_parser.cpp b/src/libclang/variable_parser.cpp index 8403ed0..7a17533 100644 --- a/src/libclang/variable_parser.cpp +++ b/src/libclang/variable_parser.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/src/visitor.cpp b/src/visitor.cpp index 73a2327..cea76c1 100644 --- a/src/visitor.cpp +++ b/src/visitor.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 9858f97..0475d8d 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2017 Jonathan Müller +# Copyright (C) 2017-2018 Jonathan Müller # This file is subject to the license terms in the LICENSE file # found in the top-level directory of this distribution. diff --git a/test/code_generator.cpp b/test/code_generator.cpp index 0005a0f..f20152d 100644 --- a/test/code_generator.cpp +++ b/test/code_generator.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/cpp_alias_template.cpp b/test/cpp_alias_template.cpp index cee6f8a..92d3fb5 100644 --- a/test/cpp_alias_template.cpp +++ b/test/cpp_alias_template.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. @@ -67,9 +67,8 @@ using h = g; } else if (alias.name() == "b") { - check_template_parameters(alias, - {{cpp_entity_kind::non_type_template_parameter_t, "I"}, - {cpp_entity_kind::template_type_parameter_t, "T"}}); + check_template_parameters(alias, {{cpp_entity_kind::non_type_template_parameter_t, "I"}, + {cpp_entity_kind::template_type_parameter_t, "T"}}); REQUIRE(equal_types(idx, alias.type_alias().underlying_type(), *cpp_template_parameter_type::build( cpp_template_type_parameter_ref(cpp_entity_id(""), "T")))); diff --git a/test/cpp_attribute.cpp b/test/cpp_attribute.cpp index 733ce98..329366b 100644 --- a/test/cpp_attribute.cpp +++ b/test/cpp_attribute.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/cpp_class.cpp b/test/cpp_class.cpp index 69ed302..3b8e91b 100644 --- a/test/cpp_class.cpp +++ b/test/cpp_class.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. @@ -95,8 +95,8 @@ struct g )"; cpp_entity_index idx; - auto file = parse(idx, "cpp_class.cpp", code); - auto count = test_visit(*file, [&](const cpp_class& c) { + auto file = parse(idx, "cpp_class.cpp", code); + auto count = test_visit(*file, [&](const cpp_class& c) { if (c.name() == "a" || c.name() == "base") { REQUIRE(c.class_kind() == cpp_class_kind::struct_t); @@ -217,18 +217,18 @@ struct g REQUIRE(base.access_specifier() == cpp_private); REQUIRE(!base.is_virtual()); - REQUIRE( - equal_types(idx, base.type(), *cpp_user_defined_type::build( - cpp_type_ref(cpp_entity_id(""), "a")))); + REQUIRE(equal_types(idx, base.type(), + *cpp_user_defined_type::build( + cpp_type_ref(cpp_entity_id(""), "a")))); } else if (base.name() == "d") { REQUIRE(base.access_specifier() == cpp_private); REQUIRE(!base.is_virtual()); - REQUIRE( - equal_types(idx, base.type(), *cpp_user_defined_type::build( - cpp_type_ref(cpp_entity_id(""), "d")))); + REQUIRE(equal_types(idx, base.type(), + *cpp_user_defined_type::build( + cpp_type_ref(cpp_entity_id(""), "d")))); } else REQUIRE(false); @@ -261,9 +261,9 @@ struct g REQUIRE(base.access_specifier() == cpp_protected); REQUIRE(base.is_virtual()); - REQUIRE( - equal_types(idx, base.type(), *cpp_user_defined_type::build( - cpp_type_ref(cpp_entity_id(""), "e")))); + REQUIRE(equal_types(idx, base.type(), + *cpp_user_defined_type::build( + cpp_type_ref(cpp_entity_id(""), "e")))); } else REQUIRE(false); @@ -301,4 +301,3 @@ struct g }); REQUIRE(count == 12u); } - diff --git a/test/cpp_class_template.cpp b/test/cpp_class_template.cpp index ef39922..7a95eec 100644 --- a/test/cpp_class_template.cpp +++ b/test/cpp_class_template.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/cpp_enum.cpp b/test/cpp_enum.cpp index 3e6cf14..fe591fd 100644 --- a/test/cpp_enum.cpp +++ b/test/cpp_enum.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/cpp_friend.cpp b/test/cpp_friend.cpp index be400ae..70a8c5c 100644 --- a/test/cpp_friend.cpp +++ b/test/cpp_friend.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/cpp_function.cpp b/test/cpp_function.cpp index 53cf6ed..aa73a33 100644 --- a/test/cpp_function.cpp +++ b/test/cpp_function.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/cpp_function_template.cpp b/test/cpp_function_template.cpp index a2e77e5..c9c6b1d 100644 --- a/test/cpp_function_template.cpp +++ b/test/cpp_function_template.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/cpp_language_linkage.cpp b/test/cpp_language_linkage.cpp index 2c17498..e35074d 100644 --- a/test/cpp_language_linkage.cpp +++ b/test/cpp_language_linkage.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/cpp_member_function.cpp b/test/cpp_member_function.cpp index 8cf9708..4aecede 100644 --- a/test/cpp_member_function.cpp +++ b/test/cpp_member_function.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/cpp_member_variable.cpp b/test/cpp_member_variable.cpp index a8f339e..f73cff0 100644 --- a/test/cpp_member_variable.cpp +++ b/test/cpp_member_variable.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/cpp_namespace.cpp b/test/cpp_namespace.cpp index 70fbdf6..e659e85 100644 --- a/test/cpp_namespace.cpp +++ b/test/cpp_namespace.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/cpp_preprocessor.cpp b/test/cpp_preprocessor.cpp index 52a8906..c3f4991 100644 --- a/test/cpp_preprocessor.cpp +++ b/test/cpp_preprocessor.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/cpp_static_assert.cpp b/test/cpp_static_assert.cpp index 1a9c38b..084223f 100644 --- a/test/cpp_static_assert.cpp +++ b/test/cpp_static_assert.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/cpp_template_parameter.cpp b/test/cpp_template_parameter.cpp index e0a5de6..d6a393a 100644 --- a/test/cpp_template_parameter.cpp +++ b/test/cpp_template_parameter.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/cpp_token.cpp b/test/cpp_token.cpp index 2996e72..fad6782 100644 --- a/test/cpp_token.cpp +++ b/test/cpp_token.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/cpp_type_alias.cpp b/test/cpp_type_alias.cpp index 27a0939..aba8c95 100644 --- a/test/cpp_type_alias.cpp +++ b/test/cpp_type_alias.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/cpp_variable.cpp b/test/cpp_variable.cpp index 76e4905..1bbaa96 100644 --- a/test/cpp_variable.cpp +++ b/test/cpp_variable.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/integration.cpp b/test/integration.cpp index 6d25ee7..f20f091 100644 --- a/test/integration.cpp +++ b/test/integration.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/libclang_parser.cpp b/test/libclang_parser.cpp index f15cf6e..e4cf9b4 100644 --- a/test/libclang_parser.cpp +++ b/test/libclang_parser.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/parser.cpp b/test/parser.cpp index 3bc4944..639c849 100644 --- a/test/parser.cpp +++ b/test/parser.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. @@ -13,26 +13,16 @@ TEST_CASE("parse_files") class null_compile_config : public compile_config { public: - null_compile_config() : compile_config({}) - { - } + null_compile_config() : compile_config({}) {} private: - void do_set_flags(cpp_standard, compile_flags) override - { - } + void do_set_flags(cpp_standard, compile_flags) override {} - void do_add_include_dir(std::string) override - { - } + void do_add_include_dir(std::string) override {} - void do_add_macro_definition(std::string, std::string) override - { - } + void do_add_macro_definition(std::string, std::string) override {} - void do_remove_macro_definition(std::string) override - { - } + void do_remove_macro_definition(std::string) override {} const char* do_get_name() const noexcept override { @@ -45,9 +35,7 @@ TEST_CASE("parse_files") public: using config = null_compile_config; - null_parser() : parser(type_safe::ref(logger_)) - { - } + null_parser() : parser(type_safe::ref(logger_)) {} private: std::unique_ptr do_parse(const cpp_entity_index& idx, std::string path, diff --git a/test/test.cpp b/test/test.cpp index 60ae472..b0c4e44 100644 --- a/test/test.cpp +++ b/test/test.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/test/test_parser.hpp b/test/test_parser.hpp index a36d356..62591f1 100644 --- a/test/test_parser.hpp +++ b/test/test_parser.hpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution. diff --git a/tool/CMakeLists.txt b/tool/CMakeLists.txt index 63e32a9..257c111 100644 --- a/tool/CMakeLists.txt +++ b/tool/CMakeLists.txt @@ -1,4 +1,4 @@ -# Copyright (C) 2017 Jonathan Müller +# Copyright (C) 2017-2018 Jonathan Müller # This file is subject to the license terms in the LICENSE file # found in the top-level directory of this distribution. diff --git a/tool/main.cpp b/tool/main.cpp index 8a1ebbb..d43bbcc 100644 --- a/tool/main.cpp +++ b/tool/main.cpp @@ -1,4 +1,4 @@ -// Copyright (C) 2017 Jonathan Müller +// Copyright (C) 2017-2018 Jonathan Müller // This file is subject to the license terms in the LICENSE file // found in the top-level directory of this distribution.