Home
last modified time | relevance | path

Searched refs:IncludeHeader (Results 1 – 16 of 16) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/index/
DSymbol.h90 IncludeHeaderWithReferences(llvm::StringRef IncludeHeader, in IncludeHeaderWithReferences()
92 : IncludeHeader(IncludeHeader), References(References) {} in IncludeHeaderWithReferences()
101 llvm::StringRef IncludeHeader = ""; member
166 CB(Include.IncludeHeader); in visitStrings()
DMerge.cpp214 if (SI.IncludeHeader == OI.IncludeHeader) { in mergeSymbol()
221 S.IncludeHeaders.emplace_back(OI.IncludeHeader, OI.References); in mergeSymbol()
DSerialization.cpp331 writeVar(Strings.index(Include.IncludeHeader), OS); in writeSymbol()
360 I.IncludeHeader = Data.consumeString(Strings); in readSymbol()
DYAMLSerialization.cpp188 io.mapRequired("Header", Inc.IncludeHeader); in mapping()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DSymbolCollectorTests.cpp65 MATCHER(IncludeHeader, "") { return !arg.IncludeHeaders.empty(); }
66 MATCHER_P(IncludeHeader, P, "") {
68 (arg.IncludeHeaders.begin()->IncludeHeader == P);
70 MATCHER_P2(IncludeHeaderWithRef, IncludeHeader, References, "") {
71 return (arg.IncludeHeader == IncludeHeader) && (arg.References == References);
1437 IncludeHeader("<string>")), in TEST_F()
1438 AllOf(Labeled("move(T &&)"), IncludeHeader("<utility>")), in TEST_F()
1439 AllOf(Labeled("move(I, I, O)"), IncludeHeader("<algorithm>")))); in TEST_F()
1454 IncludeHeader("\"the/good/header.h\"")))); in TEST_F()
1469 IncludeHeader("\"the/good/header.h\"")))); in TEST_F()
[all …]
DSerializationTests.cpp120 MATCHER_P2(IncludeHeaderWithRef, IncludeHeader, References, "") {
121 return (arg.IncludeHeader == IncludeHeader) && (arg.References == References);
DIndexTests.cpp429 MATCHER_P2(IncludeHeaderWithRef, IncludeHeader, References, "") {
430 return (arg.IncludeHeader == IncludeHeader) && (arg.References == References);
DFileIndexTests.cpp236 EXPECT_THAT(Symbols.begin()->IncludeHeaders.front().IncludeHeader, in TEST()
247 EXPECT_THAT(Symbols.begin()->IncludeHeaders.front().IncludeHeader, in TEST()
DCodeCompleteTests.cpp68 MATCHER_P(HasInclude, IncludeHeader, "") {
69 return !arg.Includes.empty() && arg.Includes[0].Header == IncludeHeader;
71 MATCHER_P(InsertInclude, IncludeHeader, "") {
72 return !arg.Includes.empty() && arg.Includes[0].Header == IncludeHeader &&
DDiagnosticsTests.cpp713 std::string IncludeHeader; member
724 Sym.IncludeHeaders.emplace_back(S.IncludeHeader, 1); in buildIndexWithSymbol()
/external/llvm-project/clang-tools-extra/clangd/
DHeaders.cpp142 return LHS.IncludeHeader.size() < RHS.IncludeHeader.size(); in getRankedIncludes()
147 Headers.push_back(Include.IncludeHeader); in getRankedIncludes()
/external/llvm-project/clang-tools-extra/clangd/unittests/remote/
DMarshallingTests.cpp245 Header.IncludeHeader = in TEST()
249 Header.IncludeHeader = Strings.save("<iostream>"); in TEST()
252 Header.IncludeHeader = Strings.save("\"cstdio\""); in TEST()
268 Header.IncludeHeader = Strings.save(testPath("project/include/Common.h")); in TEST()
278 Header.IncludeHeader = Strings.save("NotAHeader"); in TEST()
/external/llvm-project/clang-tools-extra/clangd/index/remote/marshalling/
DMarshalling.cpp405 const clangd::Symbol::IncludeHeaderWithReferences &IncludeHeader) { in toProtobuf() argument
407 Result.set_references(IncludeHeader.References); in toProtobuf()
408 const std::string Header = IncludeHeader.IncludeHeader.str(); in toProtobuf()
DMarshalling.h89 toProtobuf(const clangd::Symbol::IncludeHeaderWithReferences &IncludeHeader);
/external/llvm-project/clang-tools-extra/clang-move/
DMove.h138 void addIncludes(llvm::StringRef IncludeHeader, bool IsAngled,
DMove.cpp689 void ClangMoveTool::addIncludes(llvm::StringRef IncludeHeader, bool IsAngled, in addIncludes() argument
695 llvm::sys::path::append(HeaderWithSearchPath, SearchPath, IncludeHeader); in addIncludes()
699 IsAngled ? ("#include <" + IncludeHeader + ">\n").str() in addIncludes()
700 : ("#include \"" + IncludeHeader + "\"\n").str(); in addIncludes()