mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-04 06:06:06 +00:00

-plugin already prints an error if the name of an unknown plugin is passed. -add-plugin used to silently ignore that, now it errors too. Differential Revision: https://reviews.llvm.org/D56273 llvm-svn: 350340
6 lines
218 B
C
6 lines
218 B
C
// RUN: not %clang_cc1 -plugin asdf %s 2>&1 | FileCheck %s
|
|
// RUN: not %clang_cc1 -add-plugin asdf %s 2>&1 | FileCheck --check-prefix=ADD %s
|
|
|
|
// CHECK: unable to find plugin 'asdf'
|
|
// ADD: unable to find plugin 'asdf'
|