================
@@ -4326,8 +4324,12 @@ void UnwrappedLineParser::parseRecord(bool ParseAsExpr,
bool IsJavaRecord) {
AddLevels = 2u;
break;
case FormatStyle::IAMS_AfterFirstAccessModifier:
- // Other languages keep the indentation of the old true setting.
- AddLevels = IndentAfterExplicitAccessModifier ? 1u : 2u;
+ if (Style.isCpp()) {
+ IndentAfterExplicitAccessModifier = true;
+ } else {
+ // Other languages use the same indentation as IAMS_Always.
----------------
noambouillet wrote:
Didn't know about this, thanks !
https://github.com/llvm/llvm-project/pull/227704
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits