summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-10-18 21:18:53 +0000
committerJohn McCall <rjmccall@apple.com>2011-10-18 21:18:53 +0000
commit91aee685d8b51be3d9fcd67d57094362027721e3 (patch)
tree41c325e115dba0d838ff98af9826201abb2f89b1 /clang/lib
parent43f1d206b91d268b109266af8f9507a0b6471ef7 (diff)
downloadbcm5719-llvm-91aee685d8b51be3d9fcd67d57094362027721e3.tar.gz
bcm5719-llvm-91aee685d8b51be3d9fcd67d57094362027721e3.zip
Add a __has_feature check for arc_cf_code_audited.
llvm-svn: 142423
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Lex/PPMacroExpansion.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Lex/PPMacroExpansion.cpp b/clang/lib/Lex/PPMacroExpansion.cpp
index e10c95c75f2..50929158b24 100644
--- a/clang/lib/Lex/PPMacroExpansion.cpp
+++ b/clang/lib/Lex/PPMacroExpansion.cpp
@@ -610,6 +610,7 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) {
.Case("ownership_holds", true)
.Case("ownership_returns", true)
.Case("ownership_takes", true)
+ .Case("arc_cf_code_audited", true)
// C1X features
.Case("c_alignas", LangOpts.C1X)
.Case("c_generic_selections", LangOpts.C1X)
OpenPOWER on IntegriCloud