|
clang
5.0.0
|
Static Public Member Functions | |
| static bool | isTemplateImplicitInstantiation (const Decl *D) |
Definition at line 37 of file IndexingContext.h.
|
inline |
Definition at line 43 of file IndexingContext.h.
|
inline |
Definition at line 47 of file IndexingContext.h.
|
inline |
Definition at line 46 of file IndexingContext.h.
| const LangOptions & IndexingContext::getLangOpts | ( | ) | const |
Definition at line 31 of file IndexingContext.cpp.
References clang::ASTContext::getLangOpts().
| bool IndexingContext::handleDecl | ( | const Decl * | D, |
| SymbolRoleSet | Roles = SymbolRoleSet(), |
||
| ArrayRef< SymbolRelation > | Relations = None |
||
| ) |
Definition at line 39 of file IndexingContext.cpp.
References clang::Decl::getLocation().
Referenced by indexTagDecl().
| bool IndexingContext::handleDecl | ( | const Decl * | D, |
| SourceLocation | Loc, | ||
| SymbolRoleSet | Roles = SymbolRoleSet(), |
||
| ArrayRef< SymbolRelation > | Relations = None, |
||
| const DeclContext * | DC = nullptr |
||
| ) |
Definition at line 45 of file IndexingContext.cpp.
References clang::Decl::getDeclContext().
| bool IndexingContext::handleReference | ( | const NamedDecl * | D, |
| SourceLocation | Loc, | ||
| const NamedDecl * | Parent, | ||
| const DeclContext * | DC, | ||
| SymbolRoleSet | Roles = SymbolRoleSet(), |
||
| ArrayRef< SymbolRelation > | Relations = None, |
||
| const Expr * | RefE = nullptr, |
||
| const Decl * | RefD = nullptr |
||
| ) |
Definition at line 61 of file IndexingContext.cpp.
References clang::index::isFunctionLocalSymbol(), and shouldIndexFunctionLocalSymbols().
Referenced by indexNestedNameSpecifierLoc().
| bool IndexingContext::importedModule | ( | const ImportDecl * | ImportD | ) |
Definition at line 78 of file IndexingContext.cpp.
References clang::index::IndexingOptions::All, clang::SrcMgr::C_User, clang::index::Declaration, clang::index::IndexingOptions::DeclarationsOnly, clang::SourceManager::getDecomposedLoc(), clang::SrcMgr::SLocEntry::getFile(), clang::SrcMgr::FileInfo::getFileCharacteristic(), clang::SourceManager::getFileLoc(), clang::ImportDecl::getIdentifierLocs(), clang::Decl::getLocation(), clang::SourceManager::getSLocEntry(), clang::ASTContext::getSourceManager(), clang::index::IndexDataConsumer::handleModuleOccurence(), clang::index::Implicit, clang::SrcMgr::SLocEntry::isFile(), clang::Decl::isImplicit(), clang::FileID::isInvalid(), clang::SourceLocation::isInvalid(), clang::index::IndexingOptions::None, SM, and clang::index::IndexingOptions::SystemSymbolFilter.
| void IndexingContext::indexBody | ( | const Stmt * | S, |
| const NamedDecl * | Parent, | ||
| const DeclContext * | DC = nullptr |
||
| ) |
Definition at line 434 of file IndexBody.cpp.
References clang::Decl::getLexicalDeclContext().
Definition at line 704 of file IndexDecl.cpp.
References indexDeclContext(), clang::Decl::isImplicit(), and isTemplateImplicitInstantiation().
Referenced by indexDeclContext(), and indexTopLevelDecl().
| bool IndexingContext::indexDeclContext | ( | const DeclContext * | DC | ) |
Definition at line 722 of file IndexDecl.cpp.
References clang::DeclContext::decls(), I, and indexDecl().
Referenced by indexDecl(), and indexTagDecl().
| bool IndexingContext::indexDeclGroupRef | ( | DeclGroupRef | DG | ) |
Definition at line 739 of file IndexDecl.cpp.
References clang::DeclGroupRef::begin(), E, clang::DeclGroupRef::end(), I, and indexTopLevelDecl().
| void IndexingContext::indexNestedNameSpecifierLoc | ( | NestedNameSpecifierLoc | NNS, |
| const NamedDecl * | Parent, | ||
| const DeclContext * | DC = nullptr |
||
| ) |
Definition at line 204 of file IndexTypeSourceInfo.cpp.
References clang::NestedNameSpecifier::getAsNamespace(), clang::NestedNameSpecifier::getAsNamespaceAlias(), clang::NestedNameSpecifier::getKind(), clang::Decl::getLexicalDeclContext(), clang::NestedNameSpecifierLoc::getLocalBeginLoc(), clang::NestedNameSpecifierLoc::getNestedNameSpecifier(), clang::NestedNameSpecifierLoc::getPrefix(), clang::NestedNameSpecifierLoc::getTypeLoc(), clang::NestedNameSpecifier::Global, handleReference(), clang::NestedNameSpecifier::Identifier, indexTypeLoc(), clang::NestedNameSpecifier::Namespace, clang::NestedNameSpecifier::NamespaceAlias, clang::NestedNameSpecifier::Super, clang::NestedNameSpecifier::TypeSpec, and clang::NestedNameSpecifier::TypeSpecWithTemplate.
Referenced by indexTagDecl().
| void IndexingContext::indexTagDecl | ( | const TagDecl * | D, |
| ArrayRef< SymbolRelation > | Relations = None |
||
| ) |
Definition at line 239 of file IndexTypeSourceInfo.cpp.
References clang::TagDecl::getQualifierLoc(), handleDecl(), I, indexDeclContext(), indexNestedNameSpecifierLoc(), indexTypeSourceInfo(), clang::index::isFunctionLocalSymbol(), clang::TagDecl::isThisDeclarationADefinition(), shouldIndex(), and shouldIndexFunctionLocalSymbols().
Definition at line 729 of file IndexDecl.cpp.
References clang::Decl::getLocation(), indexDecl(), and clang::SourceLocation::isInvalid().
Referenced by indexDeclGroupRef(), clang::index::indexModuleFile(), clang::index::indexTopLevelDecls(), and topLevelDeclVisitor().
| void IndexingContext::indexTypeLoc | ( | TypeLoc | TL, |
| const NamedDecl * | Parent, | ||
| const DeclContext * | DC = nullptr, |
||
| bool | isBase = false, |
||
| bool | isIBType = false |
||
| ) |
Definition at line 191 of file IndexTypeSourceInfo.cpp.
References clang::Decl::getLexicalDeclContext(), and clang::TypeLoc::isNull().
Referenced by indexNestedNameSpecifierLoc(), and indexTypeSourceInfo().
| void IndexingContext::indexTypeSourceInfo | ( | TypeSourceInfo * | TInfo, |
| const NamedDecl * | Parent, | ||
| const DeclContext * | DC = nullptr, |
||
| bool | isBase = false, |
||
| bool | isIBType = false |
||
| ) |
Definition at line 180 of file IndexTypeSourceInfo.cpp.
References clang::TypeSourceInfo::getTypeLoc(), indexTypeLoc(), and clang::TypeLoc::isNull().
Referenced by indexTagDecl().
Definition at line 118 of file IndexingContext.cpp.
References clang::Decl::getDeclContext(), clang::TSK_ExplicitInstantiationDeclaration, clang::TSK_ExplicitInstantiationDefinition, clang::TSK_ExplicitSpecialization, clang::TSK_ImplicitInstantiation, and clang::TSK_Undeclared.
Referenced by indexDecl().
|
inline |
Definition at line 49 of file IndexingContext.h.
Referenced by clang::index::indexASTUnit(), clang::index::indexModuleFile(), and clang::index::indexTopLevelDecls().
Definition at line 27 of file IndexingContext.cpp.
References isGeneratedDecl().
Referenced by indexTagDecl().
| bool IndexingContext::shouldIndexFunctionLocalSymbols | ( | ) | const |
Definition at line 35 of file IndexingContext.cpp.
References clang::index::IndexingOptions::IndexFunctionLocals.
Referenced by handleReference(), and indexTagDecl().
|
inline |
Definition at line 61 of file IndexingContext.h.
|
inline |
Definition at line 55 of file IndexingContext.h.
1.8.6