[PATCH] D33932: [clang-format] Add support for case-insensitive header matching and use it to improve support for LLVM-style include sorting.

2019-05-31 Thread Nikolaus Wittenstein via Phabricator via cfe-commits
adzenith added a comment. Herald added a project: LLVM. Herald added a subscriber: llvm-commits. I just came across this case-insensitive behavior when trying to regroup include blocks and it was surprising. I'm trying to put system headers after other angle-bracket includes (like for Qt), and I

[PATCH] D33932: [clang-format] Add support for case-insensitive header matching and use it to improve support for LLVM-style include sorting.

2019-05-31 Thread Nikolaus Wittenstein via Phabricator via cfe-commits
adzenith added a comment. It appears I was mistaken - the `(?-i)` caused the regex match to fail entirely, which made the system header move all the way to the end. It didn't actually solve my problem. Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D33932/new/ htt