HomePhabricator

[clang-format] Set of unit test to begin to validate that we don't change…

Authored by MyDeveloperDay on May 20 2020, 1:11 PM.

Description

[clang-format] Set of unit test to begin to validate that we don't change defaults

Summary:
This revision is to complement D75791: [clang-format] Added new option IndentExternBlock so we can be sure that we don't change any default behavior.

For now just add rules to cover AfterExternBlock, but in the future we should add cases to cover the other BraceWrapping rules for each style. This will help guard us when we change code inside of the various getXXXStyle() functions to ensure we are not breaking everyone.

Reviewed By: MarcusJohnson91

Subscribers: cfe-commits

Tags: #clang, #clang-format

Differential Revision: https:

Details

Committed
MyDeveloperDayMay 20 2020, 1:11 PM
Reviewer
MarcusJohnson91
Parents
rG690993a09a0d: [lldb/Reproducers] Add instrumentation to SBEnvironment
Branches
Unknown
Tags
Unknown