[clang-format] Make '.clang-format' variants finding a loop (NFC)
authorAnders Waldenborg <anders@0x63.nu>
Thu, 7 Nov 2019 08:59:34 +0000 (09:59 +0100)
committerAnders Waldenborg <anders@0x63.nu>
Thu, 7 Nov 2019 09:00:04 +0000 (10:00 +0100)
commit86825dbe3306d296094432feb4a7af7d385d6b1d
treefa83f90e70b2f2de7888351e76fc94fde35b26c6
parent0019684900491f517f3b08b4fa92740b69a8cc0f
[clang-format] Make '.clang-format' variants finding a loop (NFC)

This simplifies logic making it trivial to add searching for other
files later.

Differential revision: https://reviews.llvm.org/D68568
clang/lib/Format/Format.cpp