Fix build with CMake if LLVM_USE_INTEL_JITEVENTS option is enabled
[oota-llvm.git] / utils / lint / remove_trailing_whitespace.sh
1 #!/bin/sh
2 # Deletes trailing whitespace in-place in the passed-in files.
3 # Sample syntax:
4 #   $0 *.cpp
5
6 perl -pi -e 's/\s+$/\n/' $*