|
clang
5.0.0
|
#include "IndexingContext.h"#include "clang/Index/IndexDataConsumer.h"#include "clang/AST/ASTContext.h"#include "clang/AST/DeclTemplate.h"#include "clang/AST/DeclObjC.h"#include "clang/Basic/SourceManager.h"Go to the source code of this file.
Functions | |
| static bool | isGeneratedDecl (const Decl *D) |
| static const CXXRecordDecl * | getDeclContextForTemplateInstationPattern (const Decl *D) |
| static const Decl * | adjustTemplateImplicitInstantiation (const Decl *D) |
| static bool | isDeclADefinition (const Decl *D, const DeclContext *ContainerDC, ASTContext &Ctx) |
| static bool | shouldSkipNamelessDecl (const NamedDecl *ND) |
| Whether the given NamedDecl should be skipped because it has no name. More... | |
| static const Decl * | adjustParent (const Decl *Parent) |
| static const Decl * | getCanonicalDecl (const Decl *D) |
| static bool | shouldReportOccurrenceForSystemDeclOnlyMode (bool IsRef, SymbolRoleSet Roles, ArrayRef< SymbolRelation > Relations) |
Definition at line 238 of file IndexingContext.cpp.
References clang::Decl::getDeclContext(), and shouldSkipNamelessDecl().
Definition at line 174 of file IndexingContext.cpp.
References getDeclContextForTemplateInstationPattern(), and clang::EnumDecl::getInstantiatedFromMemberEnum().
Definition at line 260 of file IndexingContext.cpp.
References clang::Decl::getCanonicalDecl(), and clang::Decl::isCanonicalDecl().
Referenced by areSortedAndUniqued(), clang::Sema::CheckQualifiedMemberReference(), clang::CodeGen::emitDeclareSimdFunction(), clang::CodeGen::CodeGenFunction::EmitOMPFirstprivateClause(), clang::CodeGen::CodeGenFunction::EmitOMPLastprivateClauseFinal(), clang::CodeGen::CodeGenFunction::EmitOMPLastprivateClauseInit(), clang::CodeGen::CodeGenFunction::EmitOMPLinearClause(), clang::CodeGen::CodeGenVTables::EmitThunks(), clang::TemplateDecl::getAssociatedConstraints(), clang::Decl::getCanonicalDecl(), clang::Decl::isCanonicalDecl(), clang::ASTDeclReader::mergeTemplatePattern(), clang::TemplateArgument::Profile(), and clang::Decl::setIsUsed().
|
static |
Definition at line 165 of file IndexingContext.cpp.
References clang::Decl::getDeclContext(), clang::CXXRecordDecl::getInstantiatedFromMemberClass(), and clang::CXXRecordDecl::getTemplateInstantiationPattern().
Referenced by adjustTemplateImplicitInstantiation().
|
static |
Definition at line 208 of file IndexingContext.cpp.
Definition at line 20 of file IndexingContext.cpp.
References clang::Decl::getAttr().
Referenced by clang::index::IndexingContext::shouldIndex().
|
static |
Definition at line 272 of file IndexingContext.cpp.
References clang::index::AddressOf, clang::index::applyForEachSymbolRoleInterruptible(), clang::index::Call, clang::index::Declaration, clang::index::Definition, clang::index::Dynamic, clang::index::Implicit, clang::index::Read, clang::index::Reference, clang::index::RelationAccessorOf, clang::index::RelationBaseOf, clang::index::RelationCalledBy, clang::index::RelationChildOf, clang::index::RelationContainedBy, clang::index::RelationExtendedBy, clang::index::RelationIBTypeOf, clang::index::RelationOverrideOf, clang::index::RelationReceivedBy, clang::index::RelationSpecializationOf, and clang::index::Write.
Whether the given NamedDecl should be skipped because it has no name.
Definition at line 233 of file IndexingContext.cpp.
References clang::NamedDecl::getDeclName(), and clang::DeclarationName::isEmpty().
Referenced by adjustParent().
1.8.6