You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
566 B
17 lines
566 B
4 months ago
|
// RUN: clang-format %s 2> %t.stderr
|
||
|
// RUN: not grep "Formatting" %t.stderr
|
||
|
// RUN: clang-format %s -verbose 2> %t.stderr
|
||
|
// RUN: grep -E "Formatting (.*)verbose.cpp(.*)" %t.stderr
|
||
|
// RUN: clang-format %s -verbose=false 2> %t.stderr
|
||
|
// RUN: not grep "Formatting" %t.stderr
|
||
|
|
||
|
int a;
|
||
|
// RUN: clang-format %s 2> %t.stderr
|
||
|
// RUN: not grep "Formatting" %t.stderr
|
||
|
// RUN: clang-format %s -verbose 2> %t.stderr
|
||
|
// RUN: grep -E "Formatting (.*)verbose.cpp(.*)" %t.stderr
|
||
|
// RUN: clang-format %s -verbose=false 2> %t.stderr
|
||
|
// RUN: not grep "Formatting" %t.stderr
|
||
|
|
||
|
int a;
|