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

Remove SHOUTY banners #2072

Closed
wants to merge 10 commits into from
Closed

Remove SHOUTY banners #2072

wants to merge 10 commits into from

Conversation

SuperWig
Copy link
Contributor

@SuperWig SuperWig commented Jul 22, 2021

Fixes #306

Not fully done yet but this should be all of the major ones.

Should some remain like this one?

STL/stl/inc/atomic

Lines 105 to 109 in bd7adb4

// LOCK-FREE PROPERTY
#define ATOMIC_BOOL_LOCK_FREE 2
#define ATOMIC_CHAR_LOCK_FREE 2
#ifdef __cpp_lib_char8_t

P.S. Good luck with the review. 🙏

@SuperWig SuperWig changed the title Shouty Remove SHOUTY banners Jul 22, 2021
@@ -1,7 +1,6 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

// class locale wide member functions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this is SHOUTY or useless

Copy link
Contributor Author

@SuperWig SuperWig Jul 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Urgh, not sure how that happened.

Might redo with keener eyes.

@@ -1,7 +1,6 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

// class locale exotic char member functions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if this is SHOUTY or useless

@@ -21,12 +21,10 @@ _STL_DISABLE_CLANG_WARNINGS
#pragma push_macro("new")
#undef new
_STD_BEGIN
// CLASS TEMPLATE _Tset_traits
template <class _Kty, // key/value type

This comment was marked as resolved.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lesson learned I guess. Look at what VS Code actually replaces with 😅.

stl/inc/set Outdated
using _Alnode = typename _Mybase::_Alnode;
using _Alnode_traits = typename _Mybase::_Alnode_traits;
// ordered red-black tree of key values, unique keys
public : static_assert(!_ENFORCE_MATCHING_ALLOCATORS || is_same_v<_Kty, typename _Alloc::value_type>,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not make sense

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think VS Code might not have liked replacing so many....

(to note, I did audit the previews for each file before replacing)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is still not resolved

@@ -1,7 +1,6 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

// class locale member functions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same, not sure if this should be removed

@@ -1,7 +1,6 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

// class locale basic member functions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same, not sure if this should be removed

stl/inc/functional Outdated Show resolved Hide resolved
@@ -33,7 +33,6 @@ inline constexpr char _Charconv_digits[] = {'0', '1', '2', '3', '4', '5', '6', '
'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};
static_assert(_STD size(_Charconv_digits) == 36);

// FUNCTION to_chars (INTEGER TO STRING)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the INTEGER TO STRING (and other ones) part be kept?

stl/inc/set Show resolved Hide resolved
@SuperWig SuperWig closed this Jul 22, 2021
@SuperWig SuperWig deleted the SHOUTY branch July 22, 2021 15:07
@SuperWig
Copy link
Contributor Author

Urgh, didn't realise that would close. I just wanted to rename my branch :(

@SuperWig SuperWig mentioned this pull request Jul 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

STL: WE SHOULD REMOVE THE SHOUTY COMMENT BANNERS!
3 participants