Skip to content

Commit b739614

Browse files
committed
PrintAsObjC Test: Don't use -fobjc-arc when targeting the C language
1 parent ac3760e commit b739614

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/PrintAsObjC/cdecl-official.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// RUN: %check-in-clang-cxx %t/cdecl.h
1515

1616
/// Build a client against cdecl.h
17-
// RUN: %clang -c %t/Client.c -fobjc-arc -fmodules -I %t \
17+
// RUN: %clang -c %t/Client.c -fmodules -I %t \
1818
// RUN: -F %S/../Inputs/clang-importer-sdk-path/frameworks \
1919
// RUN: -I %clang-include-dir -Werror \
2020
// RUN: -isysroot %S/../Inputs/clang-importer-sdk

test/PrintAsObjC/lit.local.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ config.substitutions.insert(0, ('%check-in-clang',
1111
'-isysroot %r/Inputs/clang-importer-sdk' % config.test_source_root) )
1212

1313
config.substitutions.insert(0, ('%check-in-clang-c',
14-
'%%clang -fsyntax-only -x c-header -std=c99 -fobjc-arc -fmodules '
14+
'%%clang -fsyntax-only -x c-header -std=c99 -fmodules '
1515
'-fmodules-validate-system-headers '
1616
'-Weverything -Werror -Wno-unused-macros -Wno-incomplete-module '
1717
'-Wno-auto-import '

0 commit comments

Comments
 (0)