================
@@ -18632,6 +18632,18 @@ TEST_F(FormatTest, ConfigurableSpaceBeforeColon) {
InvertedSpaceStyle);
}
+TEST_F(FormatTest, EnumUnderlyingTypeUsesInheritanceColonSpacing) {
+ FormatStyle Style = getLLVMStyle();
+
+ Style.SpaceBeforeInheritanceColon = true;
+ verifyFormat("enum A : int {};", Style);
----------------
tharunvk wrote:
Added these now
https://github.com/llvm/llvm-project/pull/189011
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits