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

Follow the header guard rule in Google style guide #527

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

IvanaGyro
Copy link
Collaborator

@IvanaGyro IvanaGyro commented Nov 30, 2024

It is not expected to have two header files with the same relative paths related to include/ and src/, so include/ and src/ are not encoded into the header guard. For example, the guard of "include/Accessor.hpp" is "CYTNX_ACCESSOR_H_".

This PR resolves the issue addressed at #460.

I also deleted the stale files which are not used anymore.

It is not expected to have two header files with the same relative paths
related to `include/` and `src/`, so `include/` and `src/` are not
encoded into the header guard. For example, the guard of
"include/Accessor.hpp" is "CYTNX_ACCESSOR_H_".
Deleted files were replaced by the files in use.
Copy link

codecov bot commented Nov 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 16.54%. Comparing base (24b1bbe) to head (21efcbc).
Report is 26 commits behind head on dev-master.

Additional details and impacted files
@@             Coverage Diff             @@
##           dev-master     #527   +/-   ##
===========================================
  Coverage       16.54%   16.54%           
===========================================
  Files             211      211           
  Lines           48829    48829           
  Branches        18900    18900           
===========================================
  Hits             8080     8080           
  Misses          36603    36603           
  Partials         4146     4146           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@IvanaGyro IvanaGyro merged commit 0340baa into dev-master Dec 2, 2024
4 checks passed
@IvanaGyro IvanaGyro deleted the update-headers branch December 2, 2024 05:17
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.

2 participants