mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 06:47:41 +03:00
897764d81c
Summary: Move the ConfigSource enum definition to a thrift file. This will let us return ConfigSource values over thrift APIs in the future. This also allows us to use thrift's `TEnumTraits` functionality to determine the maximum enum value, rather than having to maintain a separate `kConfigSourceLastIndex` variable. As part of this change I also renamed the enum values to be CamelCase to match our current C++ style recommendations and to avoid possibly conflicting with macros defined in other headers (`DEFAULT` seemed particularly susceptible to collision). Reviewed By: strager Differential Revision: D15572120 fbshipit-source-id: 8fbd03da221a9f75ef670dee1eb250eb198a5bd0 |
||
---|---|---|
.. | ||
CachedParsedFileMonitorTest.cpp | ||
CheckoutConfigTest.cpp | ||
ConfigSettingTest.cpp | ||
EdenConfigTest.cpp | ||
FileChangeMonitorTest.cpp |