[RISCV] Simplify usage of SplatPat_simm5_plus1. NFC (#125340)
[llvm-project.git] / clang / test / Driver / warning-options.cpp
bloba7020ff4fc1d97dd057cca46a73d2081a70fb896
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
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 %s
8 // CHECK-ISYSROOT: warning: no such sysroot directory: '{{.*}}/warning-options'
10 // Check for proper warning with -Wmissing-include-dirs
11 // RUN: %clang -### -Wmissing-include-dirs -I %t/warning-options %s 2>&1 | FileCheck --check-prefix=CHECK-MISSING-INCLUDE-DIRS %s
12 // CHECK-MISSING-INCLUDE-DIRS: warning: no such include directory: '{{.*}}/warning-options'