Apple clang versions?

Apple seems to change the version numbering for their builds of clang in Xcode. Is there a way to determine what functionality (e.g. OpenMP) from LLVM's clang has made it into a given Xcode clang?

Thanks,

Hi Rick,

There has never been a correlation between Apple and llvm.org versions of clang. Apple clang’s start with a branch of mainline, but have *many* changes cherry picked from later revisions.

The best approach is to use __has_feature. To answer your specific question, Apple clang doesn’t support OpenMP.

-Chris