Index: clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp =================================================================== --- clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp +++ clang-tools-extra/clang-tidy/readability/ElseAfterReturnCheck.cpp @@ -263,7 +263,7 @@ if (!WarnOnConditionVariables) return; if (IsLastInScope) { - // If the if statement is the last statement its enclosing statements + // If the if statement is the last statement of its enclosing statements // scope, we can pull the decl out of the if statement. DiagnosticBuilder Diag = diag(ElseLoc, WarningMessage) << ControlFlowInterruptor @@ -299,7 +299,7 @@ if (!WarnOnConditionVariables) return; if (IsLastInScope) { - // If the if statement is the last statement its enclosing statements + // If the if statement is the last statement of its enclosing statements // scope, we can pull the decl out of the if statement. DiagnosticBuilder Diag = diag(ElseLoc, WarningMessage) << ControlFlowInterruptor