/external/llvm-project/clang-tools-extra/clangd/ |
D | XRefs.h | 35 class ParsedAST; variable 54 std::vector<LocatedSymbol> locateSymbolAt(ParsedAST &AST, Position Pos, 64 locateSymbolTextually(const SpelledWord &Word, ParsedAST &AST, 75 std::vector<DocumentLink> getDocumentLinks(ParsedAST &AST); 78 std::vector<DocumentHighlight> findDocumentHighlights(ParsedAST &AST, 87 std::vector<LocatedSymbol> findImplementations(ParsedAST &AST, Position Pos, 92 ReferencesResult findReferences(ParsedAST &AST, Position Pos, uint32_t Limit, 96 std::vector<SymbolDetails> getSymbolInfo(ParsedAST &AST, Position Pos); 99 const CXXRecordDecl *findRecordTypeAt(ParsedAST &AST, Position Pos); 106 ParsedAST &AST, Position Pos, int Resolve, TypeHierarchyDirection Direction, [all …]
|
D | ParsedAST.h | 48 class ParsedAST { 53 static llvm::Optional<ParsedAST> 59 ParsedAST(ParsedAST &&Other); 60 ParsedAST &operator=(ParsedAST &&Other); 62 ~ParsedAST(); 113 ParsedAST(llvm::StringRef Version,
|
D | ParsedAST.cpp | 240 llvm::Optional<ParsedAST> 241 ParsedAST::build(llvm::StringRef Filename, const ParseInputs &Inputs, in build() 447 return ParsedAST(Inputs.Version, std::move(Preamble), std::move(Clang), in build() 453 ParsedAST::ParsedAST(ParsedAST &&Other) = default; 455 ParsedAST &ParsedAST::operator=(ParsedAST &&Other) = default; 457 ParsedAST::~ParsedAST() { in ~ParsedAST() 468 ASTContext &ParsedAST::getASTContext() { return Clang->getASTContext(); } in getASTContext() 470 const ASTContext &ParsedAST::getASTContext() const { in getASTContext() 474 Preprocessor &ParsedAST::getPreprocessor() { return Clang->getPreprocessor(); } in getPreprocessor() 476 std::shared_ptr<Preprocessor> ParsedAST::getPreprocessorPtr() { in getPreprocessorPtr() [all …]
|
D | SemanticSelection.h | 26 llvm::Expected<SelectionRange> getSemanticRanges(ParsedAST &AST, Position Pos); 30 llvm::Expected<std::vector<FoldingRange>> getFoldingRanges(ParsedAST &AST);
|
D | HeaderSourceSwitch.h | 27 ParsedAST &AST, 32 std::vector<const Decl *> getIndexableLocalDecls(ParsedAST &AST);
|
D | FindSymbols.h | 21 class ParsedAST; variable 48 llvm::Expected<std::vector<DocumentSymbol>> getDocumentSymbols(ParsedAST &AST);
|
D | TUScheduler.h | 28 class ParsedAST; variable 38 ParsedAST &AST; 160 virtual void onMainAST(PathRef Path, ParsedAST &AST, PublishFn Publish) {} in onMainAST()
|
D | SemanticHighlighting.h | 38 class ParsedAST; variable 89 std::vector<HighlightingToken> getSemanticHighlightings(ParsedAST &AST);
|
D | XRefs.cpp | 176 getDeclAtPositionWithRelations(ParsedAST &AST, SourceLocation Pos, in getDeclAtPositionWithRelations() 196 getDeclAtPosition(ParsedAST &AST, SourceLocation Pos, DeclRelationSet Relations, in getDeclAtPosition() 230 ParsedAST &AST, in locateFileReferent() 249 locateMacroReferent(const syntax::Token &TouchedIdentifier, ParsedAST &AST, in locateMacroReferent() 301 ParsedAST &AST, llvm::StringRef MainFilePath, in locateASTReferent() 452 locateSymbolTextually(const SpelledWord &Word, ParsedAST &AST, in locateSymbolTextually() 650 std::vector<LocatedSymbol> locateSymbolAt(ParsedAST &AST, Position Pos, in locateSymbolAt() 720 std::vector<DocumentLink> getDocumentLinks(ParsedAST &AST) { in getDocumentLinks() 767 ReferenceFinder(const ParsedAST &AST, in ReferenceFinder() 811 const ParsedAST &AST; [all …]
|
D | TUScheduler.cpp | 129 void put(Key K, std::unique_ptr<ParsedAST> V) { in put() 137 std::unique_ptr<ParsedAST> ForCleanup = std::move(LRU.back().second); in put() 148 llvm::Optional<std::unique_ptr<ParsedAST>> 160 std::unique_ptr<ParsedAST> V = std::move(Existing->second); in take() 165 return llvm::Optional<std::unique_ptr<ParsedAST>>(std::move(V)); in take() 169 using KVPair = std::pair<Key, std::unique_ptr<ParsedAST>>; 695 llvm::Optional<std::unique_ptr<ParsedAST>> AST = in runWithAST() 707 llvm::Optional<ParsedAST> NewAST; in runWithAST() 709 NewAST = ParsedAST::build(FileName, FileInputs, std::move(Invocation), in runWithAST() 714 AST = NewAST ? std::make_unique<ParsedAST>(std::move(*NewAST)) : nullptr; in runWithAST() [all …]
|
D | FindSymbols.cpp | 236 DocumentOutline(ParsedAST &AST) : AST(AST) {} in DocumentOutline() 331 ParsedAST &AST; 334 std::vector<DocumentSymbol> collectDocSymbols(ParsedAST &AST) { in collectDocSymbols() 339 llvm::Expected<std::vector<DocumentSymbol>> getDocumentSymbols(ParsedAST &AST) { in getDocumentSymbols()
|
D | HeaderSourceSwitch.cpp | 73 ParsedAST &AST, in getCorrespondingHeaderOrSource() 127 std::vector<const Decl *> getIndexableLocalDecls(ParsedAST &AST) { in getIndexableLocalDecls()
|
D | SemanticSelection.cpp | 103 llvm::Expected<SelectionRange> getSemanticRanges(ParsedAST &AST, Position Pos) { in getSemanticRanges() 161 llvm::Expected<std::vector<FoldingRange>> getFoldingRanges(ParsedAST &AST) { in getFoldingRanges()
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | TestTU.h | 81 ParsedAST build() const; 93 const NamedDecl &findDecl(ParsedAST &AST, llvm::StringRef QName); 95 const NamedDecl &findDecl(ParsedAST &AST, 98 const NamedDecl &findUnqualifiedDecl(ParsedAST &AST, llvm::StringRef Name);
|
D | DumpASTTests.cpp | 142 ParsedAST AST = TestTU::withCode(Case.first).build(); in TEST() 152 ParsedAST AST = TestTU::withCode(Case.code()).build(); in TEST() 161 ParsedAST AST = TestTU::withCode("int x;").build(); in TEST()
|
D | TestTU.cpp | 98 ParsedAST TestTU::build() const { in build() 112 auto AST = ParsedAST::build(testPath(Filename), Inputs, std::move(CI), in build() 189 const NamedDecl &findDecl(ParsedAST &AST, llvm::StringRef QName) { in findDecl() 210 const NamedDecl &findDecl(ParsedAST &AST, in findDecl() 230 const NamedDecl &findUnqualifiedDecl(ParsedAST &AST, llvm::StringRef Name) { in findUnqualifiedDecl()
|
D | TestWorkspace.cpp | 26 ParsedAST MainAST = TU.build(); in index() 32 Optional<ParsedAST> TestWorkspace::openFile(llvm::StringRef Filename) { in openFile()
|
D | ASTTests.cpp | 121 ParsedAST AST = TU.build(); in TEST() 187 ParsedAST AST = TU.build(); in TEST()
|
D | ParsedASTTests.cpp | 340 ParsedAST AST = TU.build(); in TEST() 514 auto PatchedAST = ParsedAST::build(testPath(TU.Filename), TU.inputs(FS), in TEST() 529 auto PatchedAST = ParsedAST::build(testPath(TU.Filename), TU.inputs(FS), in TEST() 572 auto PatchedAST = ParsedAST::build(testPath("foo.cpp"), Inputs, std::move(CI), in TEST() 617 auto PatchedAST = ParsedAST::build(testPath("foo.cpp"), Inputs, std::move(CI), in TEST()
|
D | TestWorkspace.h | 43 Optional<ParsedAST> openFile(llvm::StringRef Filename);
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | FileIndex.h | 41 class ParsedAST; variable 120 void updateMain(PathRef Path, ParsedAST &AST); 161 SlabTuple indexMainDecls(ParsedAST &AST, bool CollectMainFileRefs = false);
|
/external/llvm-project/clang-tools-extra/clangd/refactor/ |
D | Rename.h | 21 class ParsedAST; variable 45 ParsedAST &AST;
|
D | Tweak.h | 50 Selection(const SymbolIndex *Index, ParsedAST &AST, unsigned RangeBegin, 57 ParsedAST *AST;
|
/external/llvm-project/clang-tools-extra/clangd/unittests/tweaks/ |
D | TweakTesting.cpp | 70 applyTweak(ParsedAST &AST, const Annotations &Input, StringRef TweakID, in applyTweak() 100 ParsedAST AST = TU.build(); 120 ParsedAST AST = TU.build(); in apply()
|
/external/llvm-project/clang-tools-extra/clangd/tool/ |
D | Check.cpp | 82 llvm::Optional<ParsedAST> AST; 174 AST = ParsedAST::build(File, Inputs, std::move(Invocation), in buildAST()
|