Summary: This adds two command-line parameters: -extra-arg and -extra-arg-before, which enable the user to pass additional parameters to the compiler command. Reviewers: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D919 llvm-svn: 183320
6 lines
271 B
C++
6 lines
271 B
C++
// RUN: clang-check "%s" -extra-arg=-Wunimplemented-warning -extra-arg-before=-Wunimplemented-warning-before -- -c 2>&1 | FileCheck %s
|
|
|
|
// CHECK: unknown warning option '-Wunimplemented-warning-before'
|
|
// CHECK: unknown warning option '-Wunimplemented-warning'
|
|
int a(){}
|