Home
last modified time | relevance | path

Searched refs:DeclRelationSet (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/
DFindTarget.h43 class DeclRelationSet; variable
84 targetDecl(const ast_type_traits::DynTypedNode &, DeclRelationSet Mask);
90 llvm::SmallVector<std::pair<const NamedDecl *, DeclRelationSet>, 1>
166 DeclRelationSet Mask);
170 class DeclRelationSet {
173 DeclRelationSet(Set S) : S(S) {} in DeclRelationSet() function
176 DeclRelationSet() = default;
177 DeclRelationSet(DeclRelation R) { S.set(static_cast<unsigned>(R)); } in DeclRelationSet() function
180 friend DeclRelationSet operator&(DeclRelationSet L, DeclRelationSet R) {
183 friend DeclRelationSet operator|(DeclRelationSet L, DeclRelationSet R) {
[all …]
DFindTarget.cpp328 using RelSet = DeclRelationSet;
686 llvm::SmallVector<std::pair<const NamedDecl *, DeclRelationSet>, 1>
690 DeclRelationSet Flags; in allTargetDecls()
712 targetDecl(const ast_type_traits::DynTypedNode &N, DeclRelationSet Mask) { in targetDecl()
722 explicitReferenceTargets(DynTypedNode N, DeclRelationSet Mask) { in explicitReferenceTargets()
1198 llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, DeclRelationSet RS) { in operator <<()
DXRefs.cpp175 std::vector<std::pair<const NamedDecl *, DeclRelationSet>>
177 DeclRelationSet Relations, in getDeclAtPositionWithRelations()
180 std::vector<std::pair<const NamedDecl *, DeclRelationSet>> Result; in getDeclAtPositionWithRelations()
196 getDeclAtPosition(ParsedAST &AST, SourceLocation Pos, DeclRelationSet Relations, in getDeclAtPosition()
329 DeclRelationSet Relations = in locateASTReferent()
1100 DeclRelationSet Relations = in findDocumentHighlights()
1149 DeclRelationSet Relations = in findImplementations()
1224 DeclRelationSet Relations = in findReferences()
1294 DeclRelationSet Relations = DeclRelation::TemplatePattern | in getSymbolInfo()
/external/llvm-project/clang-tools-extra/clangd/unittests/
DFindTargetTests.cpp35 PrintedDecl(const char *Name, DeclRelationSet Relations = {}) in PrintedDecl()
37 PrintedDecl(const NamedDecl *D, DeclRelationSet Relations = {}) in PrintedDecl()
49 DeclRelationSet Relations;