[PATCH] D60316: [clangd] Include insertion: require header guards, drop other heuristics, treat .def like .inc.
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 5 07:51:35 PDT 2019
sammccall marked an inline comment as done.
sammccall added inline comments.
================
Comment at: unittests/clangd/FileIndexTests.cpp:214
TEST(FileIndexTest, HasSystemHeaderMappingsInPreamble) {
+ TestTU TU;
----------------
I suspect we can replace most of these tests with TestTU - here I just changed the ones where the include guard would otherwise be needed.
Repository:
rCTE Clang Tools Extra
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60316/new/
https://reviews.llvm.org/D60316
More information about the cfe-commits
mailing list