Jean-Daniel Dupas | 73d801c | 2012-05-04 08:08:37 +0000 | [diff] [blame] | 1 | // RUN: %clang -### -Wlarge-by-value-copy %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_DEFAULT %s |
| 2 | // LARGE_VALUE_COPY_DEFAULT: -Wlarge-by-value-copy=64 |
| 3 | // RUN: %clang -### -Wlarge-by-value-copy=128 %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_JOINED %s |
| 4 | // LARGE_VALUE_COPY_JOINED: -Wlarge-by-value-copy=128 |
Chad Rosier | 286852a | 2012-05-16 19:28:02 +0000 | [diff] [blame] | 5 | |
Chad Rosier | 567fcd7 | 2012-12-19 23:47:16 +0000 | [diff] [blame] | 6 | // Check that -isysroot warns on nonexistent paths. |
Chad Rosier | 6c2b11c | 2012-12-19 23:41:50 +0000 | [diff] [blame] | 7 | // RUN: %clang -### -c -target i386-apple-darwin10 -isysroot /FOO %s 2>&1 | FileCheck --check-prefix=CHECK-ISYSROOT %s |
NAKAMURA Takumi | 712c388 | 2012-12-20 11:08:13 +0000 | [diff] [blame] | 8 | // CHECK-ISYSROOT: warning: no such sysroot directory: '{{([A-Za-z]:.*)?}}/FOO' |