From 82d0f7bdb5b542118f54aa03fac52e7a8f776123 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 7 Apr 2022 13:52:19 +0200 Subject: [PATCH] [Clang] Remove redundant -no-opaque-pointers flag in test (NFC) This was accidentally caught in an automated replacement. This test is testing the -opaque-pointers flag itself, so we shouldn't add -no-opaque-pointers here (though it doesn't hurt either). Also drop the line testing the default, as the default is now determined by a cmake option. --- clang/test/CodeGen/opaque-pointers-flag.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/clang/test/CodeGen/opaque-pointers-flag.c b/clang/test/CodeGen/opaque-pointers-flag.c index 9199d94..2c6e4b0 100644 --- a/clang/test/CodeGen/opaque-pointers-flag.c +++ b/clang/test/CodeGen/opaque-pointers-flag.c @@ -1,8 +1,6 @@ // NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py -// RUN: %clang_cc1 -no-opaque-pointers -no-opaque-pointers -triple x86_64-unknown-unknown -emit-llvm %s -o - | FileCheck %s -check-prefix=TYPED -// RUN: %clang_cc1 -no-opaque-pointers -opaque-pointers -triple x86_64-unknown-unknown -emit-llvm %s -o - | FileCheck %s -check-prefix=OPAQUE -// The current default is typed pointers: // RUN: %clang_cc1 -no-opaque-pointers -triple x86_64-unknown-unknown -emit-llvm %s -o - | FileCheck %s -check-prefix=TYPED +// RUN: %clang_cc1 -opaque-pointers -triple x86_64-unknown-unknown -emit-llvm %s -o - | FileCheck %s -check-prefix=OPAQUE // TYPED-LABEL: @test( // TYPED-NEXT: entry: -- 2.7.4