2015-02-12 11:37:55 +08:00
|
|
|
// Make sure we don't match the -NOT lines with the linker invocation.
|
|
|
|
// Delimiters match the start of the cc1 and the start of the linker lines
|
|
|
|
// DELIMITERS: {{^ *"}}
|
|
|
|
|
|
|
|
// RUN: %clang -### -pedantic -no-pedantic %s 2>&1 | FileCheck -check-prefix=NO_PEDANTIC -check-prefix=DELIMITERS %s
|
|
|
|
// RUN: %clang -### -pedantic -Wno-pedantic %s 2>&1 | FileCheck -check-prefix=PEDANTIC -check-prefix=DELIMITERS %s
|
2012-07-07 13:53:30 +08:00
|
|
|
// NO_PEDANTIC-NOT: -pedantic
|
2015-02-12 11:37:55 +08:00
|
|
|
// RUN: %clang -### -pedantic -pedantic -no-pedantic -pedantic %s 2>&1 | FileCheck -check-prefix=PEDANTIC -check-prefix=DELIMITERS %s
|
|
|
|
// RUN: %clang -### -pedantic -pedantic -no-pedantic -Wpedantic %s 2>&1 | FileCheck -check-prefix=NO_PEDANTIC -check-prefix=DELIMITERS %s
|
2012-07-07 13:53:30 +08:00
|
|
|
// PEDANTIC: -pedantic
|
2012-12-11 15:06:09 +08:00
|
|
|
// REQUIRES: clang-driver
|
2015-02-12 11:37:55 +08:00
|
|
|
|
|
|
|
// DELIMITERS: {{^ *"}}
|