-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 using-directives namespaces in Tizen platform [ Tizen ] #23637
Conversation
PR #23637: Size comparison from 26e3636 to a853426 Increases (5 builds for bl602, psoc6, telink)
Decreases (5 builds for bl702, esp32, psoc6, telink)
Full report (51 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
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.
Seems ok. I would note though that using in cpp files should be fine, it should be banned just in headers.
Yes, you are right. But we are struggling with include-what-you-use (related with #23092) usage, and it seems that the IWYU is confused by |
a853426
to
8835082
Compare
I've just applied restyle patch |
Head branch was pushed to by a user without write access
8835082
to
13cefc3
Compare
PR #23637: Size comparison from cf45410 to 13cefc3 Increases (5 builds for bl702, esp32, psoc6, telink)
Decreases (2 builds for bl602, esp32)
Full report (40 builds for bl602, bl702, cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
Problem
Using using-directives (e.g., using namespace foo) is not recommended. Some files in Tizen platform using this directives. Google style guide: https://google.github.io/styleguide/cppguide.html#Namespaces
Changes
Removed using-directives from src/platform/Tizen/* for more quality code.
Testing
Testing is not needed.