Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Adding language flag #90

Merged
merged 6 commits into from
Sep 12, 2024
Merged

Adding language flag #90

merged 6 commits into from
Sep 12, 2024

Conversation

fosterbrereton
Copy link
Contributor

@fosterbrereton fosterbrereton commented Sep 12, 2024

  • Added a --language flag (aliased to -x) that lets the user explicitly pass in the language Hyde's Clang driver should use for compilation. This is handy when the extension of the base file being processed by Hyde causes it to derive a different language than the author intends. For example, to compile a .h file as a C++ header, one would now invoke Hyde like so:
    hyde --language=c++ --auto-toolchain-includes /path/to/example.h --
    
  • Bumped Clang to 18.1.8.
  • Added Hyde version details to hyde --version:
    hyde --version
    hyde 2.0.2; llvm 18.1.8
    

@fosterbrereton fosterbrereton merged commit 91daa1d into master Sep 12, 2024
2 checks passed
@fosterbrereton fosterbrereton deleted the fosterbrereton/language-flag branch September 12, 2024 16:41
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant