diff options
author | Fangrui Song <maskray@google.com> | 2019-09-26 02:02:17 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-09-26 02:02:17 +0000 |
commit | f0458283d0572eeb8c1c41be4aa717e8f1170aff (patch) | |
tree | bd6b97392b477743a37ff7fd445b20382772ed71 /clang/unittests/Format | |
parent | f57e968dd036b2230c59c00e1ed10fecf1668828 (diff) | |
download | bcm5719-llvm-f0458283d0572eeb8c1c41be4aa717e8f1170aff.tar.gz bcm5719-llvm-f0458283d0572eeb8c1c41be4aa717e8f1170aff.zip |
[clang-format] Add SortPriority fields to fix -Wmissing-field-initializers after D64695/r372919
llvm-svn: 372939
Diffstat (limited to 'clang/unittests/Format')
-rw-r--r-- | clang/unittests/Format/FormatTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp index 94eab1a6af5..581d15672ba 100644 --- a/clang/unittests/Format/FormatTest.cpp +++ b/clang/unittests/Format/FormatTest.cpp @@ -12463,7 +12463,7 @@ TEST_F(FormatTest, ParsesConfiguration) { Style.IncludeStyle.IncludeCategories.clear(); std::vector<tooling::IncludeStyle::IncludeCategory> ExpectedCategories = { - {"abc/.*", 2}, {".*", 1}}; + {"abc/.*", 2, 0}, {".*", 1, 0}}; CHECK_PARSE("IncludeCategories:\n" " - Regex: abc/.*\n" " Priority: 2\n" |