2012-05-04 16:08:37 +08:00
|
|
|
// RUN: %clang -### -Wlarge-by-value-copy %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_DEFAULT %s
|
|
|
|
// LARGE_VALUE_COPY_DEFAULT: -Wlarge-by-value-copy=64
|
|
|
|
// RUN: %clang -### -Wlarge-by-value-copy=128 %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_JOINED %s
|
|
|
|
// LARGE_VALUE_COPY_JOINED: -Wlarge-by-value-copy=128
|
2012-05-17 03:28:02 +08:00
|
|
|
|
2012-12-20 07:47:16 +08:00
|
|
|
// Check that -isysroot warns on nonexistent paths.
|
2016-09-21 02:41:19 +08:00
|
|
|
// RUN: %clang -### -c -target i386-apple-darwin10 -isysroot %T/warning-options %s 2>&1 | FileCheck --check-prefix=CHECK-ISYSROOT %s
|
2016-09-21 03:10:56 +08:00
|
|
|
// CHECK-ISYSROOT: warning: no such sysroot directory: '{{.*}}/warning-options'
|