[PATCH] D51747: [clangd] Show deprecation diagnostics

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 13 07:24:25 PDT 2018


kadircet added a comment.

In https://reviews.llvm.org/D51747#1233371, @sammccall wrote:

> Sorry for all the back and forth on this patch, but I have to ask... what's up with switching to lit tests?
>
> We've mostly started avoiding these as they're hard to maintain and debug (not to mention write... crazy sed tricks!)
>
> They're mostly used in places where we need to test specifically the protocol (smoke testing features, startup/shutdown, protocol edge cases...)


Sorry my bad actually forgot to mention. We set additional flags in ClangdServer::getCompileCommand and it is not used on the path of TestTU actually, instead it creates its own command line flags and uses them to invoke the compiler. So I changed to lit tests to make sure it gets invoked through getCompileCommand


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D51747





More information about the cfe-commits mailing list