-
-
Notifications
You must be signed in to change notification settings - Fork 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
[Code Cleanup] Cleaned up some header files and move a bit of debugging logic to cmake #7677
base: master
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
lmms_basics.h
and simplify the LMMS_STRINGIFY
macro to be used at call sites.lmms_basics.h
and scope it down to type declaration
Do note that the diff itself is small. Most of the thing is due to the file rename in the #include statement |
Now i should hunt down any unused includes over here, but I don't really have the insanity to do that manually. Edit: using iwyu, I could somewhat automate this process. |
I'll fix the declaration later. |
Seems like I got myself into a rabbit hole with this refactoring |
lmms_basics.h
and scope it down to type declaration
I'm done now. |
dff51ab
to
9e25b29
Compare
ahh crap, i messed up a rebase |
I'll fix stuff later |
a339a32
to
3fb24f2
Compare
This comment was marked as outdated.
This comment was marked as outdated.
72fd59d
to
8cf8b36
Compare
I'll undraft the PR once I manage to fix the history. The work is done for now. |
When I get into a pickle like this, I take the lazy route and PR against a test branch that's even with master, squash everything down, force that commit back. For this reason, I'm probably not a good person to ask. Last time my efforts were scrutinized #7726. Perhaps someone with more experience in this area can help. |
I found a way to fix it. I'll reorder commits using an interactive rebase. But it is a bit effort consuming tho. |
303612f
to
756c90e
Compare
forgot to add my name to copyright file
nvm, release is better This is redundant as cmake already handles this logic added the correct behaviour for NDEBUG flag order change
include the cstdint header which should be it
fix build
9880fd6
to
b7eb195
Compare
Eureka, I managed to fix everything. GPT o1 really came in clutch here. |
lmms_basics.h
toLmmsTypes.h
and scoped it down for that purpose.LMMS_STRINGIFY
macro to it's own header.debug.h
header file and use cmake handle the macro logic.