The .clang-tidy file is copied from the top-level LLVM source directory
with one change: I removed the misc-noexcept-move-constructor check
because it seemed to be triggering a lot of false positives, and I
didn't think it was necessary because StreamExecutor will usually be
compiled without exceptions enabled.
Also fix warnings generated by clang-format:
- Moved SimpleHostPlatformDevice.h so its header include guard could have the right format.
- Changed signatures of methods taking llvm::Twine by value to take it by const ref instead.
- Removed a bunch of places where single-statement loops and conditionals were surrounded with braces. (This was not found by the current clang-tidy, but with a local patch that I hope to upstream soon.)