diff options
| author | Krasimir Georgiev <krasimir@google.com> | 2017-04-21 14:35:20 +0000 |
|---|---|---|
| committer | Krasimir Georgiev <krasimir@google.com> | 2017-04-21 14:35:20 +0000 |
| commit | bcda54b69d4b6abe75c4c18f155433bfee216d72 (patch) | |
| tree | 0abb4eb7e03f4f26234516d45b715a70711896ec /clang/test/Format/incomplete.cpp | |
| parent | d631b9e500e1cdfba439ea1b05ffbf2f44a11e1b (diff) | |
| download | bcm5719-llvm-bcda54b69d4b6abe75c4c18f155433bfee216d72.tar.gz bcm5719-llvm-bcda54b69d4b6abe75c4c18f155433bfee216d72.zip | |
[clang-format] Replace IncompleteFormat by a struct with Line
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
Diffstat (limited to 'clang/test/Format/incomplete.cpp')
| -rw-r--r-- | clang/test/Format/incomplete.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Format/incomplete.cpp b/clang/test/Format/incomplete.cpp index 8a65fad657c..f92d5761937 100644 --- a/clang/test/Format/incomplete.cpp +++ b/clang/test/Format/incomplete.cpp @@ -1,6 +1,6 @@ // RUN: grep -Ev "// *[A-Z-]+:" %s | clang-format -style=LLVM -cursor=0 \ // RUN: | FileCheck -strict-whitespace %s -// CHECK: {{"IncompleteFormat": true}} +// CHECK: {{"IncompleteFormat": true, "Line": 2}} // CHECK: {{^int\ \i;$}} int i; // CHECK: {{^f \( g \(;$}} |

