Skip to content

llvm-profgen: Options cleanup / fixes #147632

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

MatzeB
Copy link
Contributor

@MatzeB MatzeB commented Jul 9, 2025

  • Add cl::cat(ProfGenCategory) to non-hidden options so they show up in --help output.
  • Introduce Options.h for options referenced in multiple files.

@MatzeB MatzeB requested review from wlei-llvm, apolloww and WenleiHe July 9, 2025 01:08
@MatzeB
Copy link
Contributor Author

MatzeB commented Jul 9, 2025

Note that this includes the changes of #147631

Copy link

github-actions bot commented Jul 9, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

MatzeB added 2 commits July 8, 2025 18:10
(global) `using namespace` directives in headers are bad style.
- Add cl::cat(ProfGenCategory) where missing so the options show up
  in --help output.
- Introduce `Options.h` to shared declarations for options referenced in
  multiple files.
@MatzeB MatzeB force-pushed the profgen_options branch from 68f73bb to 6a1ba86 Compare July 9, 2025 01:11
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.

1 participant