Home
last modified time | relevance | path

Searched refs:SymbolLocation (Results 1 – 21 of 21) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/index/
DSymbolLocation.h19 struct SymbolLocation { struct
67 inline bool operator==(const SymbolLocation::Position &L, argument
68 const SymbolLocation::Position &R) {
72 inline bool operator<(const SymbolLocation::Position &L,
73 const SymbolLocation::Position &R) {
77 inline bool operator==(const SymbolLocation &L, const SymbolLocation &R) {
82 inline bool operator<(const SymbolLocation &L, const SymbolLocation &R) {
90 llvm::raw_ostream &operator<<(llvm::raw_ostream &, const SymbolLocation &);
DSymbolLocation.cpp14 constexpr uint32_t SymbolLocation::Position::MaxLine;
15 constexpr uint32_t SymbolLocation::Position::MaxColumn;
17 void SymbolLocation::Position::setLine(uint32_t L) { in setLine()
22 void SymbolLocation::Position::setColumn(uint32_t Col) { in setColumn()
28 llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const SymbolLocation &L) { in operator <<()
DYAMLSerialization.cpp71 using clang::clangd::SymbolLocation;
131 using Position = clang::clangd::SymbolLocation::Position;
162 template <> struct MappingTraits<SymbolLocation> {
163 static void mapping(IO &IO, SymbolLocation &Value) { in mapping()
167 MappingNormalization<NormalizedPosition, SymbolLocation::Position> NStart( in mapping()
170 MappingNormalization<NormalizedPosition, SymbolLocation::Position> NEnd( in mapping()
205 SymbolLocation()); in mapping()
206 IO.mapOptional("Definition", Sym.Definition, SymbolLocation()); in mapping()
DMerge.cpp157 bool prefer(const SymbolLocation &L, const SymbolLocation &R) { in prefer()
162 auto HasCodeGenSuffix = [](const SymbolLocation &Loc) { in prefer()
DSymbol.h47 SymbolLocation Definition;
56 SymbolLocation CanonicalDeclaration;
DSymbolCollector.cpp126 std::pair<SymbolLocation::Position, SymbolLocation::Position>
131 SymbolLocation::Position Pos; in getTokenRange()
143 llvm::Optional<SymbolLocation>
152 SymbolLocation Result; in getTokenLocation()
DRef.h89 SymbolLocation Location;
DSerialization.cpp263 void writeLocation(const SymbolLocation &Loc, const StringTableOut &Strings, in writeLocation()
272 SymbolLocation readLocation(Reader &Data, in readLocation()
274 SymbolLocation Loc; in readLocation()
/external/llvm-project/clang-tools-extra/clangd/index/remote/marshalling/
DMarshalling.h80 clangd::SymbolLocation::Position fromProtobuf(const Position &Message);
81 Position toProtobuf(const clangd::SymbolLocation::Position &Position);
84 llvm::Expected<clangd::SymbolLocation>
85 fromProtobuf(const SymbolLocation &Message);
86 llvm::Expected<SymbolLocation>
87 toProtobuf(const clangd::SymbolLocation &Location);
DMarshalling.cpp345 clangd::SymbolLocation::Position
347 clangd::SymbolLocation::Position Result; in fromProtobuf()
354 Marshaller::toProtobuf(const clangd::SymbolLocation::Position &Position) { in toProtobuf()
380 llvm::Expected<clangd::SymbolLocation>
381 Marshaller::fromProtobuf(const SymbolLocation &Message) { in fromProtobuf()
382 clangd::SymbolLocation Location; in fromProtobuf()
392 llvm::Expected<SymbolLocation>
393 Marshaller::toProtobuf(const clangd::SymbolLocation &Location) { in toProtobuf()
394 remote::SymbolLocation Result; in toProtobuf()
/external/llvm-project/lldb/source/Target/
DAssertFrameRecognizer.cpp22 struct SymbolLocation { struct
36 bool GetAbortLocation(llvm::Triple::OSType os, SymbolLocation &location) { in GetAbortLocation()
67 bool GetAssertLocation(llvm::Triple::OSType os, SymbolLocation &location) { in GetAssertLocation()
91 SymbolLocation location; in RegisterAssertFrameRecognizer()
110 SymbolLocation location; in RecognizeFrame()
/external/llvm-project/clang-tools-extra/clangd/index/remote/
DIndex.proto65 optional SymbolLocation definition = 4;
67 optional SymbolLocation canonical_declaration = 6;
81 optional SymbolLocation location = 1;
92 message SymbolLocation { message
95 // clangd::SymbolLocation stores FileURI, but the protocol transmits a the
/external/llvm-project/clang-tools-extra/clangd/
DFindSymbols.h25 llvm::Expected<Location> indexToLSPLocation(const SymbolLocation &Loc,
DXRefs.cpp116 void logIfOverflow(const SymbolLocation &Loc) { in logIfOverflow()
125 llvm::Optional<Location> toLSPLocation(const SymbolLocation &Loc, in toLSPLocation()
150 SymbolLocation toIndexLocation(const Location &Loc, std::string &URIStorage) { in toIndexLocation()
151 SymbolLocation SymLoc; in toIndexLocation()
162 SymbolLocation getPreferredLocation(const Location &ASTLoc, in getPreferredLocation()
163 const SymbolLocation &IdxLoc, in getPreferredLocation()
DCMakeLists.txt108 index/SymbolLocation.cpp
DFindSymbols.cpp62 llvm::Expected<Location> indexToLSPLocation(const SymbolLocation &Loc, in indexToLSPLocation()
/external/llvm-project/clang-tools-extra/clangd/unittests/remote/
DMarshallingTests.cpp61 clangd::SymbolLocation Location; in createSymbol()
169 Sym.Definition = clangd::SymbolLocation(); in TEST()
218 clangd::SymbolLocation Location; in TEST()
/external/llvm-project/llvm/utils/gn/secondary/clang-tools-extra/clangd/
DBUILD.gn128 "index/SymbolLocation.cpp",
/external/llvm-project/clang-tools-extra/clangd/unittests/
DIndexTests.cpp43 TEST(SymbolLocation, Position) { in TEST() argument
44 using Position = SymbolLocation::Position; in TEST()
DSymbolCollectorTests.cpp73 bool rangesMatch(const SymbolLocation &Loc, const Range &R) { in rangesMatch()
/external/llvm-project/clang-tools-extra/clangd/refactor/
DRename.cpp33 llvm::Optional<std::string> filePath(const SymbolLocation &Loc, in filePath()
450 Range toRange(const SymbolLocation &L) { in toRange()