mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 13:50:11 +00:00
3fbee010c6
Summary: Added support for multiple input files, that can be used both with and without in-place edit (-i) option. Added checks for -offset and -length options: don't allow them on multiple files, check that they don't fall outside input file, made both options unsigned, so that there's no need to check for negative values. Removed "-1 can be used for end-of-file" from -length description. Reviewers: djasper, klimek Reviewed By: djasper CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D719 llvm-svn: 180185
8 lines
195 B
C++
8 lines
195 B
C++
// RUN: cp %s %t-1.cpp
|
|
// RUN: cp %s %t-2.cpp
|
|
// RUN: clang-format -style=LLVM %t-1.cpp %t-2.cpp|FileCheck -strict-whitespace %s
|
|
|
|
// CHECK: {{^int\ \*i;}}
|
|
// CHECK: {{^int\ \*i;}}
|
|
int * i ;
|