Skip to content

Conversation

r-barnes
Copy link
Contributor

@r-barnes r-barnes commented Sep 3, 2024

Removes using namespace from header files to align with Velox C++ codestyle guidelines (link).

@r-barnes r-barnes requested a review from a team as a code owner September 3, 2024 15:00
@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D56538909

r-barnes added a commit to r-barnes/presto that referenced this pull request Sep 3, 2024
Summary:
Pull Request resolved: prestodb#23575

Per title

#buildmore - Be thorough

#buildsonlynotests - No runtime effects!

 - If you approve of this diff, please use the "Accept & Ship" button

no-ig-test - Doesn't require Instagram testing.

(1 file modified.)

Reviewed By: dmm-fb

Differential Revision: D56538909
@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D56538909

r-barnes added a commit to r-barnes/presto that referenced this pull request Sep 3, 2024
Summary:
Pull Request resolved: prestodb#23575

Per title

#buildmore - Be thorough

#buildsonlynotests - No runtime effects!

 - If you approve of this diff, please use the "Accept & Ship" button

no-ig-test - Doesn't require Instagram testing.

(1 file modified.)

Reviewed By: dmm-fb

Differential Revision: D56538909
@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D56538909

@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D56538909

r-barnes added a commit to r-barnes/presto that referenced this pull request Sep 3, 2024
Summary:
Pull Request resolved: prestodb#23575

Per title

#buildmore - Be thorough

#buildsonlynotests - No runtime effects!

 - If you approve of this diff, please use the "Accept & Ship" button

no-ig-test - Doesn't require Instagram testing.

(1 file modified.)

Reviewed By: dmm-fb

Differential Revision: D56538909
r-barnes added a commit to r-barnes/presto that referenced this pull request Sep 3, 2024
Summary:
Pull Request resolved: prestodb#23575

Per title

#buildmore - Be thorough

#buildsonlynotests - No runtime effects!

 - If you approve of this diff, please use the "Accept & Ship" button

no-ig-test - Doesn't require Instagram testing.

(1 file modified.)

Reviewed By: dmm-fb

Differential Revision: D56538909
@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D56538909

1 similar comment
@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D56538909

r-barnes added a commit to r-barnes/presto that referenced this pull request Sep 3, 2024
Summary:
Pull Request resolved: prestodb#23575

Per title

#buildmore - Be thorough

#buildsonlynotests - No runtime effects!

 - If you approve of this diff, please use the "Accept & Ship" button

no-ig-test - Doesn't require Instagram testing.

(1 file modified.)

Reviewed By: dmm-fb

Differential Revision: D56538909
@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D56538909

r-barnes added a commit to r-barnes/presto that referenced this pull request Sep 3, 2024
Summary:
Pull Request resolved: prestodb#23575

Per title

#buildmore - Be thorough

#buildsonlynotests - No runtime effects!

 - If you approve of this diff, please use the "Accept & Ship" button

no-ig-test - Doesn't require Instagram testing.

(1 file modified.)

Reviewed By: dmm-fb

Differential Revision: D56538909
@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D56538909

r-barnes added a commit to r-barnes/presto that referenced this pull request Sep 3, 2024
Summary:
Pull Request resolved: prestodb#23575

Per title

#buildmore - Be thorough

#buildsonlynotests - No runtime effects!

 - If you approve of this diff, please use the "Accept & Ship" button

no-ig-test - Doesn't require Instagram testing.

(1 file modified.)

Reviewed By: dmm-fb

Differential Revision: D56538909
@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D56538909

r-barnes added a commit to r-barnes/presto that referenced this pull request Sep 4, 2024
Summary:
Pull Request resolved: prestodb#23575

Per title

#buildmore - Be thorough

#buildsonlynotests - No runtime effects!

 - If you approve of this diff, please use the "Accept & Ship" button

no-ig-test - Doesn't require Instagram testing.

(1 file modified.)

Reviewed By: dmm-fb

Differential Revision: D56538909
@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D56538909

r-barnes added a commit to r-barnes/presto that referenced this pull request Sep 4, 2024
Summary:
Pull Request resolved: prestodb#23575

Per title

#buildmore - Be thorough

#buildsonlynotests - No runtime effects!

 - If you approve of this diff, please use the "Accept & Ship" button

no-ig-test - Doesn't require Instagram testing.

(1 file modified.)

Reviewed By: dmm-fb

Differential Revision: D56538909
@rschlussel
Copy link
Contributor

I think -Wheader-hygiene is an internal concept?

Can you change the PR title/description and commit message title/description to be clearer about what this is doing and why. It sounds like what this is doing is removing "using namespace xxx" from header files, as is aligned with our c++ codestyle guidelines, which follows the velox style guide https://github.com/facebookincubator/velox/blob/main/CODING_STYLE.md#namespaces.

@r-barnes r-barnes changed the title Enable -Wheader-hygiene for github/PACKAGE +1 Remove using namespace from header files Sep 4, 2024
@r-barnes
Copy link
Contributor Author

r-barnes commented Sep 4, 2024

@rschlussel - I've made the requested updates.

@rschlussel
Copy link
Contributor

Can you update the commit message as well (same description/title as the pr description)?

@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D56538909

Copy link
Contributor

@rschlussel rschlussel left a comment

Choose a reason for hiding this comment

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

thanks! I need someone from team-velox to approve @amitkdutta

@r-barnes
Copy link
Contributor Author

r-barnes commented Sep 5, 2024

@rschlussel - done

@rschlussel
Copy link
Contributor

@r-barnes I think you need to split the presto part of this change out from the other part for your diff.

@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D56538909

r-barnes added a commit to r-barnes/presto that referenced this pull request Sep 5, 2024
Summary:
Pull Request resolved: prestodb#23575

Removes using namespace from header files to align with Velox C++ codestyle guidelines

Reviewed By: dmm-fb

Differential Revision: D56538909
r-barnes added a commit to r-barnes/presto that referenced this pull request Sep 5, 2024
Summary:
Pull Request resolved: prestodb#23575

Removes using namespace from header files to align with Velox C++ codestyle guidelines

Reviewed By: dmm-fb

Differential Revision: D56538909
@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D56538909

r-barnes added a commit to r-barnes/presto that referenced this pull request Sep 5, 2024
Summary:
Pull Request resolved: prestodb#23575

Removes using namespace from header files to align with Velox C++ codestyle guidelines

Reviewed By: dmm-fb

Differential Revision: D56538909
@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D56538909

Summary:
Pull Request resolved: prestodb#23575

Removes using namespace from header files to align with Velox C++ codestyle guidelines

Reviewed By: dmm-fb

Differential Revision: D56538909
@facebook-github-bot
Copy link
Collaborator

This pull request was exported from Phabricator. Differential Revision: D56538909

Copy link
Contributor

@aditi-pandit aditi-pandit left a comment

Choose a reason for hiding this comment

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

Thanks @r-barnes.

@r-barnes
Copy link
Contributor Author

r-barnes commented Sep 6, 2024

@aditi-pandit - How do I merge?

@rschlussel rschlussel merged commit f393c60 into prestodb:master Sep 6, 2024
60 of 61 checks passed
AbhijitKulkarni1 pushed a commit to intel-staging/presto that referenced this pull request Oct 1, 2024
Summary:
Pull Request resolved: prestodb#23575

Removes using namespace from header files to align with Velox C++ codestyle guidelines

Reviewed By: dmm-fb

Differential Revision: D56538909
@r-barnes r-barnes deleted the export-D56538909 branch October 14, 2024 21:42
@jaystarshot jaystarshot mentioned this pull request Nov 1, 2024
25 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants