Searched refs:IncludeHeader (Results 1 – 16 of 16) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | Symbol.h | 90 IncludeHeaderWithReferences(llvm::StringRef IncludeHeader, in IncludeHeaderWithReferences() 92 : IncludeHeader(IncludeHeader), References(References) {} in IncludeHeaderWithReferences() 101 llvm::StringRef IncludeHeader = ""; member 166 CB(Include.IncludeHeader); in visitStrings()
|
D | Merge.cpp | 214 if (SI.IncludeHeader == OI.IncludeHeader) { in mergeSymbol() 221 S.IncludeHeaders.emplace_back(OI.IncludeHeader, OI.References); in mergeSymbol()
|
D | Serialization.cpp | 331 writeVar(Strings.index(Include.IncludeHeader), OS); in writeSymbol() 360 I.IncludeHeader = Data.consumeString(Strings); in readSymbol()
|
D | YAMLSerialization.cpp | 188 io.mapRequired("Header", Inc.IncludeHeader); in mapping()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | SymbolCollectorTests.cpp | 65 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 …]
|
D | SerializationTests.cpp | 120 MATCHER_P2(IncludeHeaderWithRef, IncludeHeader, References, "") { 121 return (arg.IncludeHeader == IncludeHeader) && (arg.References == References);
|
D | IndexTests.cpp | 429 MATCHER_P2(IncludeHeaderWithRef, IncludeHeader, References, "") { 430 return (arg.IncludeHeader == IncludeHeader) && (arg.References == References);
|
D | FileIndexTests.cpp | 236 EXPECT_THAT(Symbols.begin()->IncludeHeaders.front().IncludeHeader, in TEST() 247 EXPECT_THAT(Symbols.begin()->IncludeHeaders.front().IncludeHeader, in TEST()
|
D | CodeCompleteTests.cpp | 68 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 &&
|
D | DiagnosticsTests.cpp | 713 std::string IncludeHeader; member 724 Sym.IncludeHeaders.emplace_back(S.IncludeHeader, 1); in buildIndexWithSymbol()
|
/external/llvm-project/clang-tools-extra/clangd/ |
D | Headers.cpp | 142 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/ |
D | MarshallingTests.cpp | 245 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/ |
D | Marshalling.cpp | 405 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()
|
D | Marshalling.h | 89 toProtobuf(const clangd::Symbol::IncludeHeaderWithReferences &IncludeHeader);
|
/external/llvm-project/clang-tools-extra/clang-move/ |
D | Move.h | 138 void addIncludes(llvm::StringRef IncludeHeader, bool IsAngled,
|
D | Move.cpp | 689 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()
|