Searched refs:InsertInclude (Results 1 – 3 of 3) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | CodeCompleteTests.cpp | 71 MATCHER_P(InsertInclude, IncludeHeader, "") { 75 MATCHER(InsertInclude, "") { 742 ElementsAre(AllOf(Named("X"), InsertInclude("\"bar.h\"")))); in TEST() 748 ElementsAre(AllOf(Named("X"), Not(InsertInclude())))); in TEST() 757 Not(InsertInclude())))); in TEST() 779 ElementsAre(AllOf(Named("X"), Not(InsertInclude())), in TEST() 780 AllOf(Named("Y"), Not(InsertInclude())))); in TEST() 869 InsertInclude()))); in TEST() 1612 UnorderedElementsAre(AllOf(Named("GFuncC"), InsertInclude("<foo>")), in TEST() 2376 EXPECT_THAT(Results[0], AllOf(Named("Func"), InsertInclude("\"bar.h\""))); in TEST() [all …]
|
D | HeadersTests.cpp | 224 TEST_F(HeadersTest, InsertInclude) { in TEST_F() argument
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | CodeComplete.cpp | 1890 const auto *InsertInclude = Includes.empty() ? nullptr : &Includes[0]; in render() local 1891 LSP.label = ((InsertInclude && InsertInclude->Insertion) in render() 1904 if (InsertInclude || Documentation) { in render() 1906 if (InsertInclude) in render() 1907 Doc.addParagraph().appendText("From ").appendCode(InsertInclude->Header); in render() 1938 if (InsertInclude && InsertInclude->Insertion) in render() 1939 LSP.additionalTextEdits.push_back(*InsertInclude->Insertion); in render()
|