From: Bob Wilson Date: Tue, 12 Mar 2013 19:39:19 +0000 (+0000) Subject: Revert r166370 and r166540 now that Xcode 4.6 has been available for a while. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8859471c51dec420a0b7cfc482fa7b8f8749d383;p=platform%2Fupstream%2Fllvm.git Revert r166370 and r166540 now that Xcode 4.6 has been available for a while. Those changes were added as a temporary workaround for Xcode 4.5 passing the -Wno-arc-abi option. Xcode 4.6 does not pass that option so this should no longer be necessary. llvm-svn: 176887 --- diff --git a/clang/include/clang/Basic/DiagnosticGroups.td b/clang/include/clang/Basic/DiagnosticGroups.td index 7b92195..61d5242 100644 --- a/clang/include/clang/Basic/DiagnosticGroups.td +++ b/clang/include/clang/Basic/DiagnosticGroups.td @@ -303,8 +303,6 @@ 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">; diff --git a/clang/test/Driver/warning-options.cpp b/clang/test/Driver/warning-options.cpp index f1a335d..4d9e1f7 100644 --- a/clang/test/Driver/warning-options.cpp +++ b/clang/test/Driver/warning-options.cpp @@ -3,11 +3,6 @@ // RUN: %clang -### -Wlarge-by-value-copy=128 %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_JOINED %s // LARGE_VALUE_COPY_JOINED: -Wlarge-by-value-copy=128 -// FIXME: Remove this together with -Warc-abi once an Xcode is released that doesn't pass this flag. -// RUN: %clang -### -Warc-abi -Wno-arc-abi %s 2>&1 | FileCheck -check-prefix=ARCABI %s -// ARCABI-NOT: unknown warning option '-Warc-abi' -// ARCABI-NOT: unknown warning option '-Wno-arc-abi' - // Check that -isysroot warns on nonexistent paths. // RUN: %clang -### -c -target i386-apple-darwin10 -isysroot /FOO %s 2>&1 | FileCheck --check-prefix=CHECK-ISYSROOT %s // CHECK-ISYSROOT: warning: no such sysroot directory: '{{([A-Za-z]:.*)?}}/FOO'