mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-14 14:56:47 +00:00
![Krasimir Georgiev](/assets/img/avatar_default.png)
Summary: This patch replaces the boolean IncompleteFormat that is used to notify the client if an unrecoverable syntax error occurred by a struct that also contains a line number. Reviewers: djasper Reviewed By: djasper Subscribers: cfe-commits, klimek Differential Revision: https://reviews.llvm.org/D32298 llvm-svn: 300985
8 lines
244 B
C++
8 lines
244 B
C++
// RUN: grep -Ev "// *[A-Z-]+:" %s | clang-format -style=LLVM -cursor=0 \
|
|
// RUN: | FileCheck -strict-whitespace %s
|
|
// CHECK: {{"IncompleteFormat": true, "Line": 2}}
|
|
// CHECK: {{^int\ \i;$}}
|
|
int i;
|
|
// CHECK: {{^f \( g \(;$}}
|
|
f ( g (;
|