You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Handling of trailing tabs in comments not idempotent #422
class Foo {
void f() {
int x = 0; // comment<TAB><TAB><TAB>
return;
}
}
where <TAB> represents ASCII 0x09 character the formatter removes the last tab character.
Thus when you apply the formatter again, it also removes the last tab.
Expected behavior would be either all trailing tabs removed or kept.
As Unicode reader discards last character if it is a whitespace preseving tabs would be difficult.
Activity
Remove trailing tabs from comments to make behavior idempotent.
Remove trailing tabs from comments to make behavior idempotent.
Sync upstream changes. (#3)