diff options
author | Nikita Popov <npopov@redhat.com> | 2022-04-07 12:03:55 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-04-07 12:09:47 +0200 |
commit | 532dc62b907554b3f07f17205674aa71e76fc863 (patch) | |
tree | 98e091498d382e1f1d5d64d1d5439c82b63b8a6f /clang/test/CodeGenObjC/arc-i386.m | |
parent | cd7b444078e6a93bbe3cf0122f9aef7213b418bb (diff) | |
download | llvm-532dc62b907554b3f07f17205674aa71e76fc863.zip llvm-532dc62b907554b3f07f17205674aa71e76fc863.tar.gz llvm-532dc62b907554b3f07f17205674aa71e76fc863.tar.bz2 |
[OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC)
This adds -no-opaque-pointers to clang tests whose output will
change when opaque pointers are enabled by default. This is
intended to be part of the migration approach described in
https://discourse.llvm.org/t/enabling-opaque-pointers-by-default/61322/9.
The patch has been produced by replacing %clang_cc1 with
%clang_cc1 -no-opaque-pointers for tests that fail with opaque
pointers enabled. Worth noting that this doesn't cover all tests,
there's a remaining ~40 tests not using %clang_cc1 that will need
a followup change.
Differential Revision: https://reviews.llvm.org/D123115
Diffstat (limited to 'clang/test/CodeGenObjC/arc-i386.m')
-rw-r--r-- | clang/test/CodeGenObjC/arc-i386.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenObjC/arc-i386.m b/clang/test/CodeGenObjC/arc-i386.m index 0cec447..cd6b6e1 100644 --- a/clang/test/CodeGenObjC/arc-i386.m +++ b/clang/test/CodeGenObjC/arc-i386.m @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -triple i386-apple-darwin10 -emit-llvm -fblocks -fobjc-arc -o - %s | FileCheck %s -// RUN: %clang_cc1 -triple i386-apple-iossimulator6.0 -emit-llvm -fblocks -fobjc-arc -o - %s | FileCheck %s +// RUN: %clang_cc1 -no-opaque-pointers -triple i386-apple-darwin10 -emit-llvm -fblocks -fobjc-arc -o - %s | FileCheck %s +// RUN: %clang_cc1 -no-opaque-pointers -triple i386-apple-iossimulator6.0 -emit-llvm -fblocks -fobjc-arc -o - %s | FileCheck %s // <rdar://24531556>: implement objc_retainAutoreleasedReturnValue on i386 |