| /llvm-project-15.0.7/clang-tools-extra/clangd/index/ |
| H A D | SymbolLocation.h | 19 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 D | SymbolLocation.cpp | 14 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 D | YAMLSerialization.cpp | 68 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 D | Merge.cpp | 192 static bool prefer(const SymbolLocation &L, const SymbolLocation &R) { in prefer() 197 auto HasCodeGenSuffix = [](const SymbolLocation &Loc) { in prefer()
|
| H A D | Symbol.h | 47 SymbolLocation Definition; 56 SymbolLocation CanonicalDeclaration;
|
| H A D | SymbolCollector.cpp | 99 std::pair<SymbolLocation::Position, SymbolLocation::Position> 104 SymbolLocation::Position Pos; in getTokenRange() 438 llvm::Optional<SymbolLocation> 445 SymbolLocation Result; in getTokenLocation()
|
| H A D | SymbolCollector.h | 143 llvm::Optional<SymbolLocation> getTokenLocation(SourceLocation TokLoc);
|
| H A D | Ref.h | 87 SymbolLocation Location;
|
| H A D | Serialization.cpp | 266 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 D | Marshalling.h | 80 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 D | Marshalling.cpp | 346 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 D | AssertFrameRecognizer.cpp | 19 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 D | Index.proto | 66 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 D | FindSymbols.h | 25 llvm::Expected<Location> indexToLSPLocation(const SymbolLocation &Loc,
|
| H A D | CMakeLists.txt | 126 index/SymbolLocation.cpp
|
| H A D | XRefs.cpp | 110 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 D | FindSymbols.cpp | 58 llvm::Expected<Location> indexToLSPLocation(const SymbolLocation &Loc, in indexToLSPLocation()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/remote/ |
| H A D | MarshallingTests.cpp | 61 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 D | BUILD.gn | 143 "index/SymbolLocation.cpp",
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/ |
| H A D | IndexTests.cpp | 44 TEST(SymbolLocation, Position) { in TEST() argument 45 using Position = SymbolLocation::Position; in TEST()
|
| H A D | SymbolCollectorTests.cpp | 75 bool rangesMatch(const SymbolLocation &Loc, const Range &R) { in rangesMatch()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/refactor/ |
| H A D | Rename.cpp | 42 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 D | clang-formatted-files.txt | 1469 clang-tools-extra/clangd/index/SymbolLocation.cpp 1470 clang-tools-extra/clangd/index/SymbolLocation.h
|