-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Adding _NODISCARD in String and Locale CPP #1809
Adding _NODISCARD in String and Locale CPP #1809
Conversation
2002Bishwajeet
commented
Apr 6, 2021
•
edited
Loading
edited
Hey @AdamBucior, some of the Checks aren't successful. Is it something that I have to fix it ?? |
Looks like some tests which are testing whether |
Ok , I will Wait for the maintainer to reply then . Thanks for the quick reply |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Hey @sam20908 , I recently made one more commit to this PR . Pls can you review it and tell me if it's OK 😊 |
Besides unwrapped lines as the CI pointed out, the rest looks good. |
Thanks for that, I still couldn't figure out the code format validation. A little help would make my day. |
The Same with this:
Hopefully, that helps you a bit! |
Thanks @sam20908 . Well I have Passed the code format test but other one still failed. I believe this is not in my hands for the other one or I have to fix them?? If yes, can you please tell me how?? |
You can view the tests that have failed in https://dev.azure.com/vclibs/STL/_build/results?buildId=7577&view=ms.vss-test-web.build-test-results-tab and there were warnings that turned into errors because the values were discarded. For example, one of the
and line number of 816 in STL/tests/std/tests/VSO_0000000_instantiate_iterators_misc/test.compile.pass.cpp Line 816 in 318dcb3
There are other locations that needs to be fixed according to the stack trace message 👍 When I created my This may seem a lot, but you can ask questions 😄 . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New changes look good!
I also note that there are some merge conflicts: the content of |
Co-authored-by: Casey Carter <cartec69@gmail.com>
…t/STL into NODISCARD-Addition
If I will merge the origin/main into the current branch , would it will delete those lines I have written? |
It won't delete the lines you've written - instead, it'll add "merge conflict markers" which you'll need to manually edit. See "How Conflicts Are Presented" in the The documentation mentions:
I highly recommend this setting (which shows the original code, how your branch changed it, and how "their" branch being merged changed it) - it's so useful, I can't believe it isn't the default. To enable this, run one of the following:
Without this setting, you can still resolve merge conflicts, but you'll only be shown "your" code and "their" code, not the original code, which I find way more confusing. |
Thanks for adding more occurrences of the world's best attribute and helping find bugs in user code! 🎉 🪲 🔍 😸 |