[cfe-dev] Apple clang versions?
Chris Lattner via cfe-dev
cfe-dev at lists.llvm.org
Thu Oct 8 08:50:28 PDT 2015
> On Oct 2, 2015, at 4:14 PM, Rick Mann via cfe-dev <cfe-dev at lists.llvm.org> wrote:
>
> 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?
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
More information about the cfe-dev
mailing list