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

Detect llvm/clang version or supported flags somehow? #71

Open
GPMueller opened this issue Sep 30, 2018 · 1 comment
Open

Detect llvm/clang version or supported flags somehow? #71

GPMueller opened this issue Sep 30, 2018 · 1 comment
Labels
discussion Something that might end up being labled enhancement or wontfix

Comments

@GPMueller
Copy link
Contributor

I did not pay attention to the version of clang I was using on OSX and removed the -Og flag. The -Og flag is actually supported since version 4.0: http://releases.llvm.org/4.0.0/tools/clang/docs/ReleaseNotes.html#id5
The next important feature, which should be enabled if available is modules (see also #70).
An outdated clang might also be the reason for some of the issues I had with sanitization flags (e.g. #39).

Therefore, it would be great to know if certain flags are supported by the available version of clang.

@GPMueller GPMueller added the discussion Something that might end up being labled enhancement or wontfix label Sep 30, 2018
@GPMueller
Copy link
Contributor Author

With PR #118 we can reliably and quickly detect the C++ language versions.
Regarding the LLVM/Clang versions, maybe for now we should just always assume that it is always reasonably new?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Something that might end up being labled enhancement or wontfix
Projects
None yet
Development

No branches or pull requests

1 participant