Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clangd/index/
H A 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 &);
H A 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 <<()
H A DYAMLSerialization.cpp68 using clang::clangd::SymbolLocation;
115 using Position = clang::clangd::SymbolLocation::Position;
146 template <> struct MappingTraits<SymbolLocation> {
147 static void mapping(IO &IO, SymbolLocation &Value) { in mapping()
151 MappingNormalization<NormalizedPosition, SymbolLocation::Position> NStart( in mapping()
154 MappingNormalization<NormalizedPosition, SymbolLocation::Position> NEnd( in mapping()
187 SymbolLocation()); in mapping()
188 IO.mapOptional("Definition", Sym.Definition, SymbolLocation()); in mapping()
H A DMerge.cpp192 static bool prefer(const SymbolLocation &L, const SymbolLocation &R) { in prefer()
197 auto HasCodeGenSuffix = [](const SymbolLocation &Loc) { in prefer()
H A DSymbol.h47 SymbolLocation Definition;
56 SymbolLocation CanonicalDeclaration;
H A DSymbolCollector.cpp99 std::pair<SymbolLocation::Position, SymbolLocation::Position>
104 SymbolLocation::Position Pos; in getTokenRange()
438 llvm::Optional<SymbolLocation>
445 SymbolLocation Result; in getTokenLocation()
H A DSymbolCollector.h143 llvm::Optional<SymbolLocation> getTokenLocation(SourceLocation TokLoc);
H A DRef.h87 SymbolLocation Location;
H A DSerialization.cpp266 void writeLocation(const SymbolLocation &Loc, const StringTableOut &Strings, in writeLocation()
275 SymbolLocation readLocation(Reader &Data, in readLocation()
277 SymbolLocation Loc; in readLocation()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/marshalling/
H A 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);
H A DMarshalling.cpp346 clangd::SymbolLocation::Position
348 clangd::SymbolLocation::Position Result; in fromProtobuf()
355 Marshaller::toProtobuf(const clangd::SymbolLocation::Position &Position) { in toProtobuf()
381 llvm::Expected<clangd::SymbolLocation>
382 Marshaller::fromProtobuf(const SymbolLocation &Message) { in fromProtobuf()
383 clangd::SymbolLocation Location; in fromProtobuf()
393 llvm::Expected<SymbolLocation>
394 Marshaller::toProtobuf(const clangd::SymbolLocation &Location) { in toProtobuf()
395 remote::SymbolLocation Result; in toProtobuf()
/llvm-project-15.0.7/lldb/source/Target/
H A DAssertFrameRecognizer.cpp19 struct SymbolLocation { struct
37 bool GetAbortLocation(llvm::Triple::OSType os, SymbolLocation &location) { in GetAbortLocation()
70 bool GetAssertLocation(llvm::Triple::OSType os, SymbolLocation &location) { in GetAssertLocation()
94 SymbolLocation location; in RegisterAssertFrameRecognizer()
137 SymbolLocation location; in RecognizeFrame()
/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/
H A DIndex.proto66 optional SymbolLocation definition = 4;
68 optional SymbolLocation canonical_declaration = 6;
82 optional SymbolLocation location = 1;
93 message SymbolLocation { message
96 // clangd::SymbolLocation stores FileURI, but the protocol transmits a the
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DFindSymbols.h25 llvm::Expected<Location> indexToLSPLocation(const SymbolLocation &Loc,
H A DCMakeLists.txt126 index/SymbolLocation.cpp
H A DXRefs.cpp110 void logIfOverflow(const SymbolLocation &Loc) { in logIfOverflow()
119 llvm::Optional<Location> toLSPLocation(const SymbolLocation &Loc, in toLSPLocation()
144 SymbolLocation toIndexLocation(const Location &Loc, std::string &URIStorage) { in toIndexLocation()
145 SymbolLocation SymLoc; in toIndexLocation()
156 SymbolLocation getPreferredLocation(const Location &ASTLoc, in getPreferredLocation()
157 const SymbolLocation &IdxLoc, in getPreferredLocation()
H A DFindSymbols.cpp58 llvm::Expected<Location> indexToLSPLocation(const SymbolLocation &Loc, in indexToLSPLocation()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/remote/
H A DMarshallingTests.cpp61 clangd::SymbolLocation Location; in createSymbol()
169 Sym.Definition = clangd::SymbolLocation(); in TEST()
218 clangd::SymbolLocation Location; in TEST()
/llvm-project-15.0.7/llvm/utils/gn/secondary/clang-tools-extra/clangd/
H A DBUILD.gn143 "index/SymbolLocation.cpp",
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DIndexTests.cpp44 TEST(SymbolLocation, Position) { in TEST() argument
45 using Position = SymbolLocation::Position; in TEST()
H A DSymbolCollectorTests.cpp75 bool rangesMatch(const SymbolLocation &Loc, const Range &R) { in rangesMatch()
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/
H A DRename.cpp42 llvm::Optional<std::string> filePath(const SymbolLocation &Loc, in filePath()
545 Range toRange(const SymbolLocation &L) { in toRange()
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt1469 clang-tools-extra/clangd/index/SymbolLocation.cpp
1470 clang-tools-extra/clangd/index/SymbolLocation.h