Lines Matching +full:clang +full:- +full:format +full:- +full:5
1 // RUN: clang-format -style="{BasedOnStyle: Google, IndentWidth: 8}" %s | FileCheck -strict-whitesp…
2 // RUN: clang-format -style="{BasedOnStyle: LLVM, IndentWidth: 7}" %s | FileCheck -strict-whitespac…
3 // RUN: clang-format -style="{BasedOnStyle: invalid, IndentWidth: 7}" -fallback-style=LLVM %s 2>&1 …
4 // RUN: clang-format -style="{lsjd}" %s -fallback-style=LLVM 2>&1 | FileCheck -strict-whitespace -c…
5 // RUN: printf "BasedOnStyle: google\nIndentWidth: 5\n" > %T/.clang-format
6 // RUN: clang-format -style=file -assume-filename=%T/foo.cpp < %s | FileCheck -strict-whitespace -c…
7 // RUN: printf "\n" > %T/.clang-format
8 // RUN: clang-format -style=file -fallback-style=webkit -assume-filename=%T/foo.cpp < %s 2>&1 | Fil…
9 // RUN: rm %T/.clang-format
10 // RUN: printf "BasedOnStyle: google\nIndentWidth: 6\n" > %T/_clang-format
11 // RUN: clang-format -style=file -assume-filename=%T/foo.cpp < %s | FileCheck -strict-whitespace -c…
12 // RUN: clang-format -style="{BasedOnStyle: LLVM, PointerBindsToType: true}" %s | FileCheck -strict…
13 // RUN: clang-format -style="{BasedOnStyle: WebKit, PointerBindsToType: false}" %s | FileCheck -str…
18 // CHECK3: Error parsing -style: {{I|i}}nvalid argument, using LLVM style in f()
20 // CHECK4: Error parsing -style: {{I|i}}nvalid argument, using LLVM style in f()
23 // CHECK6: {{^Error reading .*\.clang-format: (I|i)nvalid argument}} in f()