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.
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?
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.