diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-16 16:31:49 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-09-16 16:31:49 +0000 |
commit | 4d6efbb28a3e48d654146a9f6964f71c5f75a89e (patch) | |
tree | 6f4fef2990752645fbbc93374bc868a2407d0b15 /clang/lib/Lex/PPMacroExpansion.cpp | |
parent | 53e622cef47bd48e73e0229009cdcf0ef105f8d4 (diff) | |
download | bcm5719-llvm-4d6efbb28a3e48d654146a9f6964f71c5f75a89e.tar.gz bcm5719-llvm-4d6efbb28a3e48d654146a9f6964f71c5f75a89e.zip |
Add a define for the ObjFW runtime ABI version.
This removes __has_feature(objc_msg_lookup_stret), as it is not required
anymore after this patch.
Patch by Jonathan Schleifer!
llvm-svn: 190791
Diffstat (limited to 'clang/lib/Lex/PPMacroExpansion.cpp')
-rw-r--r-- | clang/lib/Lex/PPMacroExpansion.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Lex/PPMacroExpansion.cpp b/clang/lib/Lex/PPMacroExpansion.cpp index 0a4610d06c8..8b81d5943b2 100644 --- a/clang/lib/Lex/PPMacroExpansion.cpp +++ b/clang/lib/Lex/PPMacroExpansion.cpp @@ -920,7 +920,6 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) { .Case("objc_nonfragile_abi", LangOpts.ObjCRuntime.isNonFragile()) .Case("objc_property_explicit_atomic", true) // Does clang support explicit "atomic" keyword? .Case("objc_weak_class", LangOpts.ObjCRuntime.hasWeakClassImport()) - .Case("objc_msg_lookup_stret", LangOpts.ObjCRuntime.getKind() == ObjCRuntime::ObjFW) .Case("ownership_holds", true) .Case("ownership_returns", true) .Case("ownership_takes", true) |