From 306ce63f2fb22594822705294e541e0dfff4e0b2 Mon Sep 17 00:00:00 2001 From: rbock Date: Sun, 10 Sep 2017 14:56:51 +0200 Subject: [PATCH] Use clang-format to add closing namespace comments --- include/sqlpp11/aggregate_functions/avg.h | 2 +- include/sqlpp11/aggregate_functions/count.h | 2 +- include/sqlpp11/aggregate_functions/max.h | 2 +- include/sqlpp11/aggregate_functions/min.h | 2 +- include/sqlpp11/aggregate_functions/sum.h | 2 +- include/sqlpp11/alias.h | 2 +- include/sqlpp11/alias_operators.h | 2 +- include/sqlpp11/alias_provider.h | 4 ++-- include/sqlpp11/all_of.h | 2 +- include/sqlpp11/any.h | 2 +- include/sqlpp11/assignment.h | 2 +- include/sqlpp11/auto_alias.h | 4 ++-- include/sqlpp11/bad_expression.h | 2 +- include/sqlpp11/basic_expression_operators.h | 6 +++--- include/sqlpp11/boolean_expression.h | 2 +- include/sqlpp11/case.h | 4 ++-- include/sqlpp11/char_sequence.h | 2 +- include/sqlpp11/chrono.h | 4 ++-- include/sqlpp11/column.h | 2 +- include/sqlpp11/column_fwd.h | 2 +- include/sqlpp11/connection.h | 2 +- include/sqlpp11/consistent.h | 2 +- include/sqlpp11/cte.h | 2 +- include/sqlpp11/custom_query.h | 4 ++-- .../sqlpp11/data_types/boolean/column_operators.h | 2 +- include/sqlpp11/data_types/boolean/data_type.h | 2 +- .../data_types/boolean/expression_operators.h | 2 +- include/sqlpp11/data_types/boolean/operand.h | 2 +- .../sqlpp11/data_types/boolean/parameter_value.h | 2 +- include/sqlpp11/data_types/boolean/result_field.h | 2 +- include/sqlpp11/data_types/boolean/wrap_operand.h | 2 +- include/sqlpp11/data_types/column_operators.h | 2 +- .../data_types/day_point/column_operators.h | 2 +- include/sqlpp11/data_types/day_point/data_type.h | 2 +- .../data_types/day_point/expression_operators.h | 2 +- include/sqlpp11/data_types/day_point/operand.h | 2 +- .../sqlpp11/data_types/day_point/parameter_value.h | 2 +- .../sqlpp11/data_types/day_point/result_field.h | 2 +- .../sqlpp11/data_types/day_point/wrap_operand.h | 2 +- .../data_types/floating_point/column_operators.h | 2 +- .../sqlpp11/data_types/floating_point/data_type.h | 2 +- .../floating_point/expression_operators.h | 2 +- .../sqlpp11/data_types/floating_point/operand.h | 2 +- .../data_types/floating_point/parameter_value.h | 2 +- .../data_types/floating_point/result_field.h | 2 +- .../data_types/floating_point/wrap_operand.h | 2 +- .../sqlpp11/data_types/integral/column_operators.h | 2 +- include/sqlpp11/data_types/integral/data_type.h | 2 +- .../data_types/integral/expression_operators.h | 2 +- include/sqlpp11/data_types/integral/operand.h | 2 +- .../sqlpp11/data_types/integral/parameter_value.h | 2 +- include/sqlpp11/data_types/integral/result_field.h | 2 +- include/sqlpp11/data_types/integral/wrap_operand.h | 2 +- .../sqlpp11/data_types/no_value/column_operators.h | 2 +- include/sqlpp11/data_types/no_value/data_type.h | 2 +- .../data_types/no_value/expression_operators.h | 2 +- include/sqlpp11/data_types/no_value/operand.h | 5 ----- .../sqlpp11/data_types/no_value/parameter_value.h | 5 ----- include/sqlpp11/data_types/no_value/result_field.h | 2 +- include/sqlpp11/data_types/no_value/wrap_operand.h | 5 ----- include/sqlpp11/data_types/parameter_value.h | 2 +- include/sqlpp11/data_types/parameter_value_base.h | 2 +- include/sqlpp11/data_types/text/column_operators.h | 2 +- include/sqlpp11/data_types/text/concat.h | 2 +- include/sqlpp11/data_types/text/data_type.h | 2 +- .../sqlpp11/data_types/text/expression_operators.h | 2 +- include/sqlpp11/data_types/text/like.h | 2 +- include/sqlpp11/data_types/text/operand.h | 2 +- include/sqlpp11/data_types/text/parameter_value.h | 2 +- include/sqlpp11/data_types/text/result_field.h | 2 +- include/sqlpp11/data_types/text/wrap_operand.h | 2 +- .../data_types/time_of_day/column_operators.h | 2 +- include/sqlpp11/data_types/time_of_day/data_type.h | 2 +- .../data_types/time_of_day/expression_operators.h | 2 +- include/sqlpp11/data_types/time_of_day/operand.h | 2 +- .../data_types/time_of_day/parameter_value.h | 2 +- .../sqlpp11/data_types/time_of_day/result_field.h | 2 +- .../sqlpp11/data_types/time_of_day/wrap_operand.h | 2 +- .../data_types/time_point/column_operators.h | 2 +- include/sqlpp11/data_types/time_point/data_type.h | 2 +- .../data_types/time_point/expression_operators.h | 2 +- include/sqlpp11/data_types/time_point/operand.h | 2 +- .../data_types/time_point/parameter_value.h | 2 +- .../sqlpp11/data_types/time_point/result_field.h | 2 +- .../sqlpp11/data_types/time_point/wrap_operand.h | 2 +- .../unsigned_integral/column_operators.h | 2 +- .../data_types/unsigned_integral/data_type.h | 2 +- .../unsigned_integral/expression_operators.h | 2 +- .../sqlpp11/data_types/unsigned_integral/operand.h | 2 +- .../data_types/unsigned_integral/parameter_value.h | 2 +- .../data_types/unsigned_integral/result_field.h | 2 +- .../data_types/unsigned_integral/wrap_operand.h | 2 +- include/sqlpp11/default_value.h | 2 +- include/sqlpp11/detail/copy_tuple_args.h | 4 ++-- include/sqlpp11/detail/enable_if.h | 4 ++-- include/sqlpp11/detail/field_index_sequence.h | 4 ++-- include/sqlpp11/detail/get_first.h | 4 ++-- include/sqlpp11/detail/get_last.h | 4 ++-- include/sqlpp11/detail/index_sequence.h | 4 ++-- include/sqlpp11/detail/pick_arg.h | 4 ++-- include/sqlpp11/detail/sum.h | 4 ++-- include/sqlpp11/detail/type_set.h | 4 ++-- include/sqlpp11/detail/type_vector.h | 4 ++-- include/sqlpp11/detail/void.h | 4 ++-- include/sqlpp11/dynamic_join.h | 2 +- include/sqlpp11/dynamic_pre_join.h | 2 +- include/sqlpp11/dynamic_select_column_list.h | 2 +- include/sqlpp11/eval.h | 2 +- include/sqlpp11/exception.h | 2 +- include/sqlpp11/exists.h | 2 +- include/sqlpp11/expression.h | 2 +- include/sqlpp11/expression_fwd.h | 6 +++--- include/sqlpp11/expression_operators.h | 2 +- include/sqlpp11/expression_return_types.h | 2 +- include/sqlpp11/field_spec.h | 4 ++-- include/sqlpp11/for_update.h | 2 +- include/sqlpp11/from.h | 2 +- include/sqlpp11/functions.h | 2 +- include/sqlpp11/group_by.h | 2 +- include/sqlpp11/having.h | 2 +- include/sqlpp11/hidden.h | 2 +- include/sqlpp11/in.h | 2 +- include/sqlpp11/in_fwd.h | 2 +- include/sqlpp11/inconsistent.h | 2 +- include/sqlpp11/insert.h | 2 +- include/sqlpp11/insert_value.h | 4 ++-- include/sqlpp11/insert_value_list.h | 4 ++-- include/sqlpp11/interpret.h | 2 +- include/sqlpp11/interpret_tuple.h | 2 +- include/sqlpp11/interpretable.h | 2 +- include/sqlpp11/interpretable_list.h | 2 +- include/sqlpp11/interpreter.h | 2 +- include/sqlpp11/into.h | 2 +- include/sqlpp11/is_not_null.h | 2 +- include/sqlpp11/is_null.h | 2 +- include/sqlpp11/is_null_fwd.h | 2 +- include/sqlpp11/join.h | 2 +- include/sqlpp11/join_types.h | 2 +- include/sqlpp11/limit.h | 2 +- include/sqlpp11/logic.h | 4 ++-- include/sqlpp11/multi_column.h | 4 ++-- include/sqlpp11/named_interpretable.h | 2 +- include/sqlpp11/no_data.h | 2 +- include/sqlpp11/no_name.h | 2 +- include/sqlpp11/noop.h | 2 +- include/sqlpp11/not_in.h | 2 +- include/sqlpp11/null.h | 2 +- include/sqlpp11/offset.h | 2 +- include/sqlpp11/on.h | 2 +- include/sqlpp11/operand_check.h | 2 +- include/sqlpp11/order_by.h | 2 +- include/sqlpp11/parameter.h | 2 +- include/sqlpp11/parameter_list.h | 2 +- include/sqlpp11/policy_update.h | 2 +- include/sqlpp11/portable_static_assert.h | 6 +++--- include/sqlpp11/pre_join.h | 6 +++--- include/sqlpp11/prepared_execute.h | 2 +- include/sqlpp11/prepared_insert.h | 2 +- include/sqlpp11/prepared_remove.h | 2 +- include/sqlpp11/prepared_select.h | 2 +- include/sqlpp11/prepared_update.h | 2 +- include/sqlpp11/remove.h | 2 +- include/sqlpp11/result.h | 2 +- include/sqlpp11/result_field.h | 2 +- include/sqlpp11/result_field_base.h | 2 +- include/sqlpp11/result_row.h | 4 ++-- include/sqlpp11/result_row_fwd.h | 2 +- include/sqlpp11/rhs_wrap.h | 4 ++-- include/sqlpp11/schema.h | 2 +- include/sqlpp11/schema_qualified_table.h | 2 +- include/sqlpp11/select.h | 2 +- include/sqlpp11/select_column_list.h | 6 +++--- include/sqlpp11/select_flag_list.h | 2 +- include/sqlpp11/select_flags.h | 2 +- include/sqlpp11/select_pseudo_table.h | 2 +- include/sqlpp11/serialize.h | 2 +- include/sqlpp11/serializer.h | 2 +- include/sqlpp11/serializer_context.h | 2 +- include/sqlpp11/simple_column.h | 2 +- include/sqlpp11/single_table.h | 2 +- include/sqlpp11/some.h | 2 +- include/sqlpp11/sort_order.h | 2 +- include/sqlpp11/statement.h | 4 ++-- include/sqlpp11/statement_fwd.h | 2 +- include/sqlpp11/table.h | 2 +- include/sqlpp11/table_alias.h | 2 +- include/sqlpp11/table_ref.h | 2 +- include/sqlpp11/transaction.h | 2 +- include/sqlpp11/tvin.h | 6 +++--- include/sqlpp11/type_traits.h | 14 +++++++------- include/sqlpp11/unconditional.h | 2 +- include/sqlpp11/union.h | 2 +- include/sqlpp11/union_data.h | 2 +- include/sqlpp11/union_flags.h | 2 +- include/sqlpp11/update.h | 2 +- include/sqlpp11/update_list.h | 4 ++-- include/sqlpp11/using.h | 2 +- include/sqlpp11/value.h | 2 +- include/sqlpp11/value_or_null.h | 2 +- include/sqlpp11/value_type.h | 2 +- include/sqlpp11/value_type_fwd.h | 2 +- include/sqlpp11/verbatim.h | 2 +- include/sqlpp11/verbatim_table.h | 4 ++-- include/sqlpp11/where.h | 2 +- include/sqlpp11/with.h | 2 +- include/sqlpp11/without_table_check.h | 2 +- include/sqlpp11/wrap_operand.h | 2 +- include/sqlpp11/wrong.h | 4 ++-- 208 files changed, 250 insertions(+), 265 deletions(-) diff --git a/include/sqlpp11/aggregate_functions/avg.h b/include/sqlpp11/aggregate_functions/avg.h index b7f75feb..515e4225 100644 --- a/include/sqlpp11/aggregate_functions/avg.h +++ b/include/sqlpp11/aggregate_functions/avg.h @@ -123,6 +123,6 @@ namespace sqlpp static_assert(is_numeric_t>::value, "avg() requires a numeric value expression as argument"); return {t}; } -} +} // namespace sqlpp #endif diff --git a/include/sqlpp11/aggregate_functions/count.h b/include/sqlpp11/aggregate_functions/count.h index 8ff040e0..272e3c06 100644 --- a/include/sqlpp11/aggregate_functions/count.h +++ b/include/sqlpp11/aggregate_functions/count.h @@ -124,6 +124,6 @@ namespace sqlpp static_assert(is_expression_t>::value, "count() requires an expression as argument"); return {t}; } -} +} // namespace sqlpp #endif diff --git a/include/sqlpp11/aggregate_functions/max.h b/include/sqlpp11/aggregate_functions/max.h index 563faf25..16faaa47 100644 --- a/include/sqlpp11/aggregate_functions/max.h +++ b/include/sqlpp11/aggregate_functions/max.h @@ -100,6 +100,6 @@ namespace sqlpp static_assert(is_expression_t>::value, "max() requires an expression as argument"); return {t}; } -} +} // namespace sqlpp #endif diff --git a/include/sqlpp11/aggregate_functions/min.h b/include/sqlpp11/aggregate_functions/min.h index 5e7795bd..37604e03 100644 --- a/include/sqlpp11/aggregate_functions/min.h +++ b/include/sqlpp11/aggregate_functions/min.h @@ -100,6 +100,6 @@ namespace sqlpp static_assert(is_expression_t>::value, "min() requires an expression as argument"); return {t}; } -} +} // namespace sqlpp #endif diff --git a/include/sqlpp11/aggregate_functions/sum.h b/include/sqlpp11/aggregate_functions/sum.h index fe019144..b7a48c10 100644 --- a/include/sqlpp11/aggregate_functions/sum.h +++ b/include/sqlpp11/aggregate_functions/sum.h @@ -122,6 +122,6 @@ namespace sqlpp static_assert(is_numeric_t>::value, "sum() requires a numeric expression as argument"); return {t}; } -} +} // namespace sqlpp #endif diff --git a/include/sqlpp11/alias.h b/include/sqlpp11/alias.h index 7f2eb254..197862cf 100644 --- a/include/sqlpp11/alias.h +++ b/include/sqlpp11/alias.h @@ -70,6 +70,6 @@ namespace sqlpp return context; } }; -} +} // namespace sqlpp #endif diff --git a/include/sqlpp11/alias_operators.h b/include/sqlpp11/alias_operators.h index 28fec0c0..b5b40074 100644 --- a/include/sqlpp11/alias_operators.h +++ b/include/sqlpp11/alias_operators.h @@ -40,5 +40,5 @@ namespace sqlpp return {*static_cast(this)}; } }; -} +} // namespace sqlpp #endif diff --git a/include/sqlpp11/alias_provider.h b/include/sqlpp11/alias_provider.h index 168af8ca..b77a9e20 100644 --- a/include/sqlpp11/alias_provider.h +++ b/include/sqlpp11/alias_provider.h @@ -100,7 +100,7 @@ namespace sqlpp SQLPP_ALIAS_PROVIDER(z) SQLPP_ALIAS_PROVIDER(left) SQLPP_ALIAS_PROVIDER(right) - } -} + } // namespace alias +} // namespace sqlpp #endif diff --git a/include/sqlpp11/all_of.h b/include/sqlpp11/all_of.h index 47808d20..5de0a4fa 100644 --- a/include/sqlpp11/all_of.h +++ b/include/sqlpp11/all_of.h @@ -65,6 +65,6 @@ namespace sqlpp _serialize_check{}; } }; -} +} // namespace sqlpp #endif diff --git a/include/sqlpp11/any.h b/include/sqlpp11/any.h index d232b19e..d8e86d04 100644 --- a/include/sqlpp11/any.h +++ b/include/sqlpp11/any.h @@ -76,6 +76,6 @@ namespace sqlpp // FIXME: can we accept non-values like NULL here? return {t}; } -} +} // namespace sqlpp #endif diff --git a/include/sqlpp11/assignment.h b/include/sqlpp11/assignment.h index 37d8959d..529d20ae 100644 --- a/include/sqlpp11/assignment.h +++ b/include/sqlpp11/assignment.h @@ -77,6 +77,6 @@ namespace sqlpp return context; } }; -} +} // namespace sqlpp #endif diff --git a/include/sqlpp11/auto_alias.h b/include/sqlpp11/auto_alias.h index 43caeb4e..f54628c5 100644 --- a/include/sqlpp11/auto_alias.h +++ b/include/sqlpp11/auto_alias.h @@ -56,10 +56,10 @@ namespace sqlpp { using type = expression_alias_t; }; - } + } // namespace detail template using auto_alias_t = typename detail::auto_alias_impl::type; -} +} // namespace sqlpp #endif diff --git a/include/sqlpp11/bad_expression.h b/include/sqlpp11/bad_expression.h index 289d4f01..fa389420 100644 --- a/include/sqlpp11/bad_expression.h +++ b/include/sqlpp11/bad_expression.h @@ -53,6 +53,6 @@ namespace sqlpp static Context& _(const T&, Context&); }; -} +} // namespace sqlpp #endif diff --git a/include/sqlpp11/basic_expression_operators.h b/include/sqlpp11/basic_expression_operators.h index 9798dba3..f4665b73 100644 --- a/include/sqlpp11/basic_expression_operators.h +++ b/include/sqlpp11/basic_expression_operators.h @@ -82,7 +82,7 @@ namespace sqlpp { using type = Expr, wrap_operand_t>; }; - } + } // namespace detail template