style: clang-format new rules applied to the code base
This commit is contained in:
1 parent
561fbf7c93
commit
52bbd00ab4
20 files changed
+78
-60
No files matched your search
@@ -35,13 +35,11 @@ check_libcxx_in_use(${projectPrefix}LIBCXX)
|
||||
add_library(
|
||||
mp-units-core
|
||||
INTERFACE
|
||||
|
||||
include/mp-units/bits/external/fixed_string.h
|
||||
include/mp-units/bits/external/hacks.h
|
||||
include/mp-units/bits/external/type_list.h
|
||||
include/mp-units/bits/external/type_name.h
|
||||
include/mp-units/bits/external/type_traits.h
|
||||
|
||||
include/mp-units/bits/algorithm.h
|
||||
include/mp-units/bits/dimension_concepts.h
|
||||
include/mp-units/bits/expression_template.h
|
||||
@@ -62,7 +60,6 @@ add_library(
|
||||
include/mp-units/bits/text_tools.h
|
||||
include/mp-units/bits/unit_concepts.h
|
||||
include/mp-units/bits/value_cast.h
|
||||
|
||||
include/mp-units/concepts.h
|
||||
include/mp-units/core.h
|
||||
include/mp-units/customization_points.h
|
||||
|
||||
@@ -167,7 +167,7 @@ struct basic_symbol_text {
|
||||
}
|
||||
};
|
||||
|
||||
basic_symbol_text(char)->basic_symbol_text<char, 1, 1>;
|
||||
basic_symbol_text(char) -> basic_symbol_text<char, 1, 1>;
|
||||
|
||||
template<typename UnicodeCharT>
|
||||
basic_symbol_text(UnicodeCharT, char) -> basic_symbol_text<UnicodeCharT, 1, 1>;
|
||||
|
||||
@@ -73,7 +73,7 @@ struct reference {
|
||||
}
|
||||
|
||||
template<AssociatedUnit U2>
|
||||
[[nodiscard]] friend consteval reference<Q * get_quantity_spec(U2{}), U * U2{}> operator*(reference, U2)
|
||||
[[nodiscard]] friend consteval reference<Q * get_quantity_spec(U2{}), U* U2{}> operator*(reference, U2)
|
||||
{
|
||||
return {};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user