[clangd] Fail more gracefully if QueryDriverDatabase cannot determine file type
Currently, QueryDriverDatabase returns an empty compile command if it could not determine the file type. This failure mode is unnecessarily destructive; it's better to just return the incoming compiler command, which is still more likely to be useful than an empty command. Differential Revision: https://reviews.llvm.org/D132833
Loading
Please sign in to comment