When you run the script from lit it starts in the right directory so it can find FileCheck and clang-tidy, but when you manually run check-clang-tidy.py from a command line it doesn't work unless you put yourself in the bin directory beforehand. This isn't always convenient, so allow specifying the bin directory as an option to check_clang_tidy.py
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Why is this change needed? What exactly doesn't work without it? I think, lit should take care of setting paths or changing directories appropriately.