Skip to content

Commit 1b0257c

Browse files
committed
Replace accidentally dropped implicit check not lines
1 parent c8e8305 commit 1b0257c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

clang/test/Driver/DTLTO/dtlto.c

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
/// that a warning is issued for unused -Xthinlto-distributor options.
2020
// RUN: %clang -flto=thin %s -### -fuse-ld=lld --target=x86_64-linux-gnu \
2121
// RUN: -Xthinlto-distributor=a1 -Xthinlto-distributor=a2,a3 2>&1 | \
22-
// RUN: FileCheck %s --check-prefix=NODIST
22+
// RUN: FileCheck %s --check-prefix=NODIST --implicit-check-not=distributor \
23+
// RUN: --implicit-check-not=remote-compiler
2324

2425
// NODIST: warning: argument unused during compilation: '-Xthinlto-distributor=a1'
2526
// NODIST: warning: argument unused during compilation: '-Xthinlto-distributor=a2,a3'
@@ -29,7 +30,8 @@
2930
/// --thinlto-distributor=.
3031
// RUN: %clang -flto=thin %s -### -fuse-ld=lld --target=x86_64-linux-gnu \
3132
// RUN: -fthinlto-distributor=d.exe -Werror 2>&1 | \
32-
// RUN: FileCheck %s --check-prefix=DEFAULT
33+
// RUN: FileCheck %s --check-prefix=DEFAULT --implicit-check-not=distributor \
34+
// RUN: --implicit-check-not=remote-compiler
3335

3436
// DEFAULT: ld.lld
3537
// DEFAULT-SAME: "--thinlto-distributor=d.exe"
@@ -39,7 +41,8 @@
3941
/// appropriate unused option warnings are issued.
4042
// RUN: %clang %s -### -fuse-ld=lld --target=x86_64-linux-gnu \
4143
// RUN: -fthinlto-distributor=d.exe 2>&1 | \
42-
// RUN: FileCheck %s --check-prefix=NOFLTO
44+
// RUN: FileCheck %s --check-prefix=NOFLTO --implicit-check-not=distributor \
45+
// RUN: --implicit-check-not=remote-compiler
4346

4447
// NOFLTO: warning: argument unused during compilation: '-fthinlto-distributor=d.exe'
4548
// NOFLTO: ld.lld

0 commit comments

Comments
 (0)