commit | bd507c5ef3cfe58aa2c0eca901fcd53b45c673a1 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Wed Jan 04 21:16:09 2012 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Wed Jan 04 21:16:09 2012 +0000 |
tree | d0cfea2d1ed9dda5d15a0422d744caf58d217713 | |
parent | b7d09c8606a4b927d563881616a56e32e0589256 [diff] |
Add __has_feature(modules) to indicate when modules are available (in any language variant), and restrict __has_feature(objc_modules) to mean that we also have the Objective-C @import syntax. I anticipate __has_feature(cxx_modules) and/or __has_feature(c_modules) for when we nail down the module syntax for C/C++. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@147548 91177308-0d34-0410-b5e6-96231b3b80d8