[PATCH] D78836: [clangd] Strip /showIncludes in clangd compile commands
Arthur Eubanks via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 24 17:53:55 PDT 2020
aeubanks marked an inline comment as done.
aeubanks added inline comments.
================
Comment at: clang-tools-extra/clangd/unittests/CompileCommandsTests.cpp:82
+TEST(CommandMangler, StripShowIncludes) {
+ auto Mangler = CommandMangler::forTests();
----------------
sammccall wrote:
> It's useful to have this test to verify the behavior at the clangd level, but the arg adjuster is a separate library and also used in other contexts.
>
> The unit-test for this arg-adjuster lives in clang/unittests/Tooling/ToolingTest.cpp around line 500. Could you add a test for the new behavior there, too?
Done.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78836/new/
https://reviews.llvm.org/D78836
More information about the cfe-commits
mailing list