Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update format #159

Merged
merged 1 commit into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions proxy.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

#ifndef _MSFT_PROXY_
Expand Down Expand Up @@ -1217,7 +1217,7 @@ struct add_conv_reduction<std::tuple<Cs0...>, std::tuple<C1, Cs2...>, C>
template <class... Cs, class C>
struct add_conv_reduction<std::tuple<Cs...>, std::tuple<>, C>
: std::type_identity<std::tuple<Cs..., merge_conv_t<
conv_impl<C::is_direct, typename C::dispatch_type>, C>>> {};
conv_impl<C::is_direct, typename C::dispatch_type>, C>>> {};
template <class Cs, class C>
using add_conv_t = typename add_conv_reduction<std::tuple<>, Cs, C>::type;

Expand All @@ -1230,8 +1230,8 @@ using move_conversion_overload =
template <class Cs, class F, constraint_level CCL, constraint_level RCL>
struct add_upward_conversion_conv
: std::type_identity<add_conv_t<Cs, conv_impl<true,
upward_conversion_dispatch<F>, copy_conversion_overload<F, CCL>,
move_conversion_overload<F, RCL>>>> {};
upward_conversion_dispatch<F>, copy_conversion_overload<F, CCL>,
move_conversion_overload<F, RCL>>>> {};
template <class Cs, class F, constraint_level RCL>
struct add_upward_conversion_conv<Cs, F, constraint_level::none, RCL>
: std::type_identity<add_conv_t<Cs, conv_impl<true,
Expand Down
2 changes: 1 addition & 1 deletion samples/PRO_DEF_FREE_DISPATCH.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from PRO_DEF_FREE_DISPATCH.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/PRO_DEF_MEM_DISPATCH.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from PRO_DEF_MEM_DISPATCH.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/PRO_DEF_WEAK_DISPATCH.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from PRO_DEF_WEAK_DISPATCH.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/__msft_lib_proxy.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from __msft_lib_proxy.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/access_proxy.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from access_proxy.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/allocate_proxy.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from allocate_proxy.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/basic_facade_builder.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from basic_facade_builder.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/basic_facade_builder/add_convention.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from add_convention.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/basic_facade_builder/add_facade.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from add_facade.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/basic_facade_builder/add_reflection.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from add_reflection.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/basic_facade_builder/build.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from build.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/basic_facade_builder/restrict_layout.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from restrict_layout.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/basic_facade_builder/support_copy.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from support_copy.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/basic_facade_builder/support_destruction.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from support_destruction.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/basic_facade_builder/support_relocation.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from support_relocation.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/conversion_dispatch.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from conversion_dispatch.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/inplace_proxiable_target.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from inplace_proxiable_target.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/make_proxy.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from make_proxy.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/make_proxy_inplace.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from make_proxy_inplace.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/operator_dispatch.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from operator_dispatch.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/proxiable.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from proxiable.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/proxy.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from proxy.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/proxy/constructor.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from constructor.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/proxy/destructor.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from destructor.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/proxy/emplace.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from emplace.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/proxy/friend_operator_equality.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from friend_operator_equality.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/proxy/friend_swap.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from friend_swap.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/proxy/indirection.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from indirection.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/proxy/operator_bool.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from operator_bool.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/proxy/reset.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from reset.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/proxy_invoke.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from proxy_invoke.md.

Expand Down
2 changes: 1 addition & 1 deletion samples/proxy_reflect.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This file contains example code from proxy_reflect.md.

Expand Down
2 changes: 1 addition & 1 deletion tests/proxy_creation_tests.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

#include <gtest/gtest.h>
Expand Down
2 changes: 1 addition & 1 deletion tests/proxy_dispatch_tests.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

#include <gtest/gtest.h>
Expand Down
2 changes: 1 addition & 1 deletion tests/proxy_integration_tests.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

#include <gtest/gtest.h>
Expand Down
2 changes: 1 addition & 1 deletion tests/proxy_invocation_tests.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

#include <gtest/gtest.h>
Expand Down
2 changes: 1 addition & 1 deletion tests/proxy_lifetime_tests.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

#include <gtest/gtest.h>
Expand Down
2 changes: 1 addition & 1 deletion tests/proxy_reflection_tests.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

#include <gtest/gtest.h>
Expand Down
2 changes: 1 addition & 1 deletion tests/proxy_traits_tests.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

#include <array>
Expand Down
2 changes: 1 addition & 1 deletion tests/utils.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

#ifndef _MSFT_PROXY_TEST_UTILS_
Expand Down
Loading