[clang-format] Correct the AfterControlStatement configuration option output style
authormydeveloperday <mydeveloperday@gmail.com>
Thu, 30 Apr 2020 10:05:02 +0000 (11:05 +0100)
committermydeveloperday <mydeveloperday@gmail.com>
Thu, 30 Apr 2020 10:05:02 +0000 (11:05 +0100)
commit573322694ad332c1cf3e7b27afe002fd46f561f7
tree6fa6ed7b15bf8f3e4db5f2bb77c9053d9d939e49
parent14198ccfb3837a2972d39ac446454ca5f175838c
[clang-format] Correct the AfterControlStatement configuration option output style

Summary:
Due to the order in which the enum cases were defined the old options which were retained for backwards compatibility were being preferred over the new options when printing with the --dump-config option.

Reviewers: MyDeveloperDay

Reviewed By: MyDeveloperDay

Patch By:  duncan-llvm

Subscribers: cfe-commits

Tags: #clang, #clang-format

Differential Revision: https://reviews.llvm.org/D79020
clang/lib/Format/Format.cpp