aboutsummaryrefslogtreecommitdiff
path: root/lib/Lex
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2009-08-31 16:41:57 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2009-08-31 16:41:57 +0000
commit8a5a9aaddb627c0884c2ed8db55cc29fdb601195 (patch)
treef3ba5e77d9ef06672e345b003125bab3610afe6a /lib/Lex
parent2d4d629d8a0de5112c7ae9d05c03ddbf6dcd956a (diff)
Updated GNU runtime non-fragile ABI.
Added -fconstant-string-class= option. Added __has_feature() test for non-fragile ABI. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@80591 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex')
-rw-r--r--lib/Lex/PPMacroExpansion.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Lex/PPMacroExpansion.cpp b/lib/Lex/PPMacroExpansion.cpp
index 286705181c..b57f68a5a5 100644
--- a/lib/Lex/PPMacroExpansion.cpp
+++ b/lib/Lex/PPMacroExpansion.cpp
@@ -484,6 +484,9 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) {
case 6:
if (II->isStr("blocks")) return LangOpts.Blocks;
return false;
+ case 19:
+ if (II->isStr("objc_nonfragile_abi")) return LangOpts.ObjCNonFragileABI;
+ return false;
case 22:
if (II->isStr("attribute_overloadable")) return true;
return false;