From 206e0ecaa2967be819e223b0ba19751134a95c75 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Sat, 20 Oct 2012 06:18:14 +0000 Subject: [PATCH] Accept -Wno-arc-abi without warning for a while. Xcode 4.5 passes -Wno-arc-abi to clang, which makes a clang newer than r163917 warn that it doesn't understand -Wno-arc-abi. I asked if adding this is ok at http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20121015/066433.html and nobody objected. Adding this makes life a bit easier for the chromium project. If you think this is a burden on for clang, shout, and I'll revert this. llvm-svn: 166370 --- clang/include/clang/Basic/DiagnosticGroups.td | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang/include/clang/Basic/DiagnosticGroups.td b/clang/include/clang/Basic/DiagnosticGroups.td index 97713ded9415..ec4deaafbeca 100644 --- a/clang/include/clang/Basic/DiagnosticGroups.td +++ b/clang/include/clang/Basic/DiagnosticGroups.td @@ -279,6 +279,8 @@ def ImplicitAtomic : DiagGroup<"implicit-atomic-properties">; def CustomAtomic : DiagGroup<"custom-atomic-properties">; def AtomicProperties : DiagGroup<"atomic-properties", [ImplicitAtomic, CustomAtomic]>; +// FIXME: Remove arc-abi once an Xcode is released that doesn't pass this flag. +def : DiagGroup<"arc-abi">; def ARCUnsafeRetainedAssign : DiagGroup<"arc-unsafe-retained-assign">; def ARCRetainCycles : DiagGroup<"arc-retain-cycles">; def ARCNonPodMemAccess : DiagGroup<"arc-non-pod-memaccess">;