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. |
Kuba Mracek | 5b57633 | 2017-08-15 19:47:06 +0000 | [diff] [blame] | 7 | // RUN: %clang -### -c -target i386-apple-darwin10 -isysroot %t/warning-options %s 2>&1 | FileCheck --check-prefix=CHECK-ISYSROOT %s |
Zachary Turner | c4815d4 | 2016-09-20 19:10:56 +0000 | [diff] [blame] | 8 | // CHECK-ISYSROOT: warning: no such sysroot directory: '{{.*}}/warning-options' |