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

Include-what-you-use suggested fixes. #91

Merged
merged 4 commits into from Feb 23, 2014
Merged

Conversation

delroth
Copy link
Member

@delroth delroth commented Feb 22, 2014

Currently only in Common/DiscIO/DolphinWX.

The basic idea is the following: most of our files before were getting their dependencies via transitive includes instead of directly including what they use/need. Using IWYU (an open source tool based on clang) I fixed most of that in these 3 directories.

On top of removing accidental and non-explicit dependencies (causing less rebuilds when you modify a .h), this also avoids over-including.

Doesn't build on Windows and OS X yet, PR mostly for initial feedback.

@delroth
Copy link
Member Author

delroth commented Feb 23, 2014

Now builds everywhere thanks to Lioncash's and flacs' fixes.

Any objection to merging this branch?

@Parlane
Copy link
Member

Parlane commented Feb 23, 2014

No objections. Looks great.

Matthew Parlane
On 23/02/2014 2:27 PM, "Pierre Bourdon" notifications@github.com wrote:

Now builds everywhere thanks to Lioncash's and flacs' fixes.

Any objection to merging this branch?

Reply to this email directly or view it on GitHubhttps://github.com//pull/91#issuecomment-35820886
.

delroth added a commit that referenced this pull request Feb 23, 2014
Include-what-you-use suggested fixes.
@delroth delroth merged commit 7cabe17 into dolphin-emu:master Feb 23, 2014
delroth added a commit that referenced this pull request Feb 23, 2014
For some reason it passed builbot-try but didn't build after being merged to
msater. Did not expect that, sorry :(
lioncash pushed a commit to lioncash/dolphin that referenced this pull request Mar 3, 2014
For some reason it passed builbot-try but didn't build after being merged to
msater. Did not expect that, sorry :(
Techjar pushed a commit to Techjar/dolphin that referenced this pull request Jan 30, 2022
* Adding in morphball profiles.

* Fixing bug where profile didn't load immediately when selecting the profile nor when saving the current profile.

* One last change to remove leftover code.

* Fixing coding standard issues.  Moved morphball profile switch into a function in PrimeUtils to more consistent with Primehack, per PR request.

* Adding support for the PrimeHack tab on the standard "Emulated Wiimote" controller GUI.

* Quick rename to "Morphball Profile" on Metroid Wiimote controller just for uniformity with the standard Emulated Wiimote controller menu.

* Updating support for Morphball Profile to work on all the Wii versions of Metroid Prime series.

* Fixed bugs made when rushing... Yeah!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants