mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-14 01:46:41 +00:00

Summary: This fixes broken tests when doing an out-of-source build that picks up a random .clang-format on the file system due to the default "file" style. Reviewers: djasper, klimek, MyDeveloperDay, krasimir Reviewed By: MyDeveloperDay Subscribers: lebedev.ri, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D61001 llvm-svn: 365909
10 lines
402 B
C++
10 lines
402 B
C++
// RUN: grep -Ev "// *[A-Z0-9_]+:" %s \
|
|
// RUN: | clang-format -style=LLVM -assume-filename=foo.js \
|
|
// RUN: | FileCheck -strict-whitespace -check-prefix=CHECK1 %s
|
|
// RUN: grep -Ev "// *[A-Z0-9_]+:" %s \
|
|
// RUN: | clang-format -style=LLVM -assume-filename=foo.cpp \
|
|
// RUN: | FileCheck -strict-whitespace -check-prefix=CHECK2 %s
|
|
// CHECK1: {{^a >>>= b;$}}
|
|
// CHECK2: {{^a >> >= b;$}}
|
|
a >>>= b;
|