brintos

brintos / llvm-project-archived public Read only

0
0
Text · 864 B · a7020ff Raw
13 lines · cpp
1// RUN: %clang -### -Wlarge-by-value-copy %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_DEFAULT %s2// LARGE_VALUE_COPY_DEFAULT: -Wlarge-by-value-copy=643// RUN: %clang -### -Wlarge-by-value-copy=128 %s 2>&1 | FileCheck -check-prefix=LARGE_VALUE_COPY_JOINED %s4// LARGE_VALUE_COPY_JOINED: -Wlarge-by-value-copy=1285 6// Check that -isysroot warns on nonexistent paths.7// RUN: %clang -### -c -target i386-apple-darwin10 -isysroot %t/warning-options %s 2>&1 | FileCheck --check-prefix=CHECK-ISYSROOT %s8// CHECK-ISYSROOT: warning: no such sysroot directory: '{{.*}}/warning-options'9 10// Check for proper warning with -Wmissing-include-dirs11// RUN: %clang -### -Wmissing-include-dirs -I %t/warning-options %s 2>&1 | FileCheck --check-prefix=CHECK-MISSING-INCLUDE-DIRS %s12// CHECK-MISSING-INCLUDE-DIRS: warning: no such include directory: '{{.*}}/warning-options'13