From 91aee685d8b51be3d9fcd67d57094362027721e3 Mon Sep 17 00:00:00 2001 From: John McCall Date: Tue, 18 Oct 2011 21:18:53 +0000 Subject: Add a __has_feature check for arc_cf_code_audited. llvm-svn: 142423 --- clang/lib/Lex/PPMacroExpansion.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'clang/lib/Lex/PPMacroExpansion.cpp') 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) -- cgit v1.2.3