RFR: More whitespace changes.

Coleen Phillimore coleenp at openjdk.java.net
Wed May 12 12:25:31 UTC 2021


I have this macro in my .vimrc which is quite nice but whenever I make some change, I fix whitespace problems:

" Strip trailing white spaces
command! StripTrailingWhitespaces
       \ let b:winview = winsaveview() |
       \ execute 'keepjumps keeppatterns %s/\s+$//e' |
       \ call winrestview(b:winview) |
       \ unlet b:winview

" Automatically strip trailing white spaces when saving these file types
autocmd FileType make,c,cpp,java,sh,bash,csh,tcsh autocmd BufWritePre <buffer> :StripTrailingWhitespaces

I'm sure there's an equivalent for emacs if that's what you use.

I also deleted continuation.inline.hpp because it was empty and rebuilt without any problems.

-------------

Commit messages:
 - More whitespace changes.

Changes: https://git.openjdk.java.net/loom/pull/42/files
 Webrev: https://webrevs.openjdk.java.net/?repo=loom&pr=42&range=00
  Stats: 96 lines in 4 files changed: 0 ins; 33 del; 63 mod
  Patch: https://git.openjdk.java.net/loom/pull/42.diff
  Fetch: git fetch https://git.openjdk.java.net/loom pull/42/head:pull/42

PR: https://git.openjdk.java.net/loom/pull/42


More information about the loom-dev mailing list