[PATCH] D23455: [Tooling] Parse compilation database command lines properly on Windows

Zachary Turner via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 17 11:20:07 PDT 2016


zturner added a comment.

We could also provide a command line option to clang-tidy that lets the user specify the command line syntax of the compilation database.  It could choose a smart default (i.e. what we do in this patch after using `llvm::sys::getProcessTriple()`) but if the command line option is specified it could just force that parsing mode.  This way we don't have to get in the business of guessing, which could itself end up having unforeseen edge cases.


https://reviews.llvm.org/D23455





More information about the cfe-commits mailing list