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 | 4b74975b0acd29f2260b60feb13f801f83d15c5e (patch) | |
tree | 18ef1656e45d2a7a5187a402f644efb31bfa0f0c /unittests | |
parent | fff381358d2e5443086f2d994c624b043cffc14b (diff) | |
download | clang-4b74975b0acd29f2260b60feb13f801f83d15c5e.tar.gz |
[clang-format] Add SortPriority fields to fix -Wmissing-field-initializers after D64695/r372919
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372939 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/Format/FormatTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Format/FormatTest.cpp b/unittests/Format/FormatTest.cpp index 94eab1a6af..581d15672b 100644 --- a/unittests/Format/FormatTest.cpp +++ b/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" |