SuccessChanges

Summary

  1. [lldb/Reproducers] Add instrumentation to SBEnvironment (details)
  2. [clang-format] Set of unit test to begin to validate that we don't change defaults (details)
Commit 690993a09a0df0d54a5cec7f06fffb6e2210ab8b by Jonas Devlieghere
[lldb/Reproducers] Add instrumentation to SBEnvironment

This class should've been instrumented when it landed. Whether the class
is "highly mutable" or not doesn't affect that.

With this patch TestSBEnvironment.py now passes when replayed.
The file was modifiedlldb/source/API/SBReproducer.cpp (diff)
The file was modifiedlldb/source/API/SBEnvironment.cpp (diff)
Commit 166ebefd27ac71e3f911f3d7ba0e168464d372af by mydeveloperday
[clang-format] Set of unit test to begin to validate that we don't change defaults

Summary:
This revision is to complement {D75791} 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:
The file was modifiedclang/unittests/Format/FormatTest.cpp (diff)