diff options
| author | Douglas Gregor <dgregor@apple.com> | 2012-01-03 21:12:26 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2012-01-03 21:12:26 +0000 |
| commit | 173d499c25cc73f80e8e049ee92a84ce515a5764 (patch) | |
| tree | a1216d1f64e709fc1dccae0438be15c60df39d2a /clang/lib | |
| parent | 493c1b315273f9e45429674fdd95f0f8c591c448 (diff) | |
| download | bcm5719-llvm-173d499c25cc73f80e8e049ee92a84ce515a5764.tar.gz bcm5719-llvm-173d499c25cc73f80e8e049ee92a84ce515a5764.zip | |
Add __has_feature(objc_modules)
llvm-svn: 147482
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Lex/PPMacroExpansion.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Lex/PPMacroExpansion.cpp b/clang/lib/Lex/PPMacroExpansion.cpp index 61d52826727..e93dc1560d8 100644 --- a/clang/lib/Lex/PPMacroExpansion.cpp +++ b/clang/lib/Lex/PPMacroExpansion.cpp @@ -617,6 +617,7 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) { LangOpts.ObjCRuntimeHasWeak) .Case("objc_fixed_enum", LangOpts.ObjC2) .Case("objc_instancetype", LangOpts.ObjC2) + .Case("objc_modules", LangOpts.Modules) .Case("objc_nonfragile_abi", LangOpts.ObjCNonFragileABI) .Case("objc_weak_class", LangOpts.ObjCNonFragileABI) .Case("ownership_holds", true) |

