Searched defs:getDecl (Results 1 - 24 of 24) sorted by relevance

/external/clang/include/clang/AST/
H A DDeclAccessPair.h42 NamedDecl *getDecl() const { function in class:clang::DeclAccessPair
53 set(getDecl(), AS);
60 operator NamedDecl*() const { return getDecl(); }
61 NamedDecl *operator->() const { return getDecl(); }
H A DGlobalDecl.h59 const Decl *getDecl() const { return Value.getPointer(); } function in class:clang::GlobalDecl
62 assert(isa<CXXConstructorDecl>(getDecl()) && "Decl is not a ctor!");
67 assert(isa<CXXDestructorDecl>(getDecl()) && "Decl is not a dtor!");
H A DUnresolvedSet.h53 NamedDecl *getDecl() const { return ir->getDecl(); } function in class:clang::UnresolvedSetIterator
58 NamedDecl *operator*() const { return getDecl(); }
127 if (I->getDecl() == Old)
H A DTemplateName.h414 TemplateDecl *getDecl() const { return Template; } function in class:clang::QualifiedTemplateName
H A DTypeLoc.h552 return getTypePtr()->getDecl();
563 CXXRecordDecl *getDecl() const { function in class:clang::InjectedClassNameTypeLoc
564 return getTypePtr()->getDecl();
574 UnresolvedUsingTypenameDecl *getDecl() const { function in class:clang::UnresolvedUsingTypeLoc
575 return getTypePtr()->getDecl();
588 TagDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::TagTypeLoc
592 TagDecl *D = getDecl();
603 RecordDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::RecordTypeLoc
611 EnumDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::EnumTypeLoc
620 TemplateTypeParmDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::TemplateTypeParmTypeLoc
[all...]
H A DExprObjC.h480 ObjCIvarDecl *getDecl() { return D; } function in class:clang::ObjCIvarRefExpr
481 const ObjCIvarDecl *getDecl() const { return D; } function in class:clang::ObjCIvarRefExpr
H A DStmt.h782 LabelDecl *getDecl() const { return TheDecl; } function in class:clang::LabelStmt
H A DExpr.h956 ValueDecl *getDecl() { return D; } function in class:clang::DeclRefExpr
957 const ValueDecl *getDecl() const { return D; } function in class:clang::DeclRefExpr
961 return DeclarationNameInfo(getDecl()->getDeclName(), Loc, DNLoc);
H A DType.h3038 UnresolvedUsingTypenameDecl *getDecl() const { return Decl; }
3071 TypedefNameDecl *getDecl() const { return Decl; } function
3228 TagDecl *getDecl() const;
3250 RecordDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::RecordType
3251 return reinterpret_cast<RecordDecl*>(TagType::getDecl());
3273 EnumDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::EnumType
3274 return reinterpret_cast<EnumDecl*>(TagType::getDecl());
3418 TemplateTypeParmDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::TemplateTypeParmType
3428 Profile(ID, getDepth(), getIndex(), isParameterPack(), getDecl());
3789 CXXRecordDecl *getDecl() cons
4321 ObjCInterfaceDecl *getDecl() const { return Decl; } function in class:clang::FunctionType::ExtInfo::FunctionProtoType::ObjCInterfaceType
[all...]
/external/clang/lib/Analysis/
H A DPseudoConstantAnalysis.cpp69 const Decl *PseudoConstantAnalysis::getDecl(const Expr *E) { function in class:PseudoConstantAnalysis
71 return DR->getDecl();
96 const Decl *LHSDecl = getDecl(BO->getLHS()->IgnoreParenCasts());
107 const Decl *RHSDecl = getDecl(BO->getRHS()->IgnoreParenCasts());
142 const Decl *D = getDecl(UO->getSubExpr()->IgnoreParenCasts());
186 const Decl *D = getDecl(VD->getInit()->IgnoreParenCasts());
203 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
H A DUninitializedValues.cpp274 const VarDecl *getDecl() const { return vd; } function in class:__anon3686::FindVarResult
296 if (const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl()))
325 ClassifyRefs(AnalysisDeclContext &AC) : DC(cast<DeclContext>(AC.getDecl())) {}
341 const VarDecl *VD = dyn_cast<VarDecl>(DRE->getDecl());
354 if (DRE && DRE->getDecl() == VD)
462 return ::isTrackedVar(vd, cast<DeclContext>(ac.getDecl()));
466 return ::findVar(ex, cast<DeclContext>(ac.getDecl()));
660 reportUse(dr, cast<VarDecl>(dr->getDecl()));
663 vals[cast<VarDecl>(dr->getDecl())] = Initialized;
666 handler.handleSelfInit(cast<VarDecl>(dr->getDecl()));
[all...]
/external/clang/include/clang/Analysis/
H A DCallGraph.h163 Decl *getDecl() const { return FD; } function in class:clang::CallGraphNode
H A DAnalysisContext.h105 const Decl *getDecl() const { return D; } function in class:clang::AnalysisDeclContext
235 const Decl *getDecl() const { return getAnalysisDeclContext()->getDecl(); } function in class:clang::LocationContext
H A DProgramPoint.h495 const Decl *getDecl() const { return static_cast<const Decl *>(getData2()); } function in class:clang::ImplicitCallPoint
/external/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp70 const RecordDecl *RD = RT->getDecl();
87 if (!getDecl())
105 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(getDecl());
215 const Decl *D = getDecl();
257 if (const Decl *D = getDecl()) {
308 const FunctionDecl *D = getDecl();
316 const FunctionDecl *D = getDecl();
326 const FunctionDecl *D = cast<FunctionDecl>(CalleeCtx->getDecl());
336 const FunctionDecl *D = getDecl();
389 const FunctionDecl *SimpleCall::getDecl() cons function in class:SimpleCall
398 const FunctionDecl *CXXInstanceCall::getDecl() const { function in class:CXXInstanceCall
[all...]
H A DMemRegion.cpp199 if (getDecl()->isBitField())
232 const ObjCIvarDecl *ObjCIvarRegion::getDecl() const { function in class:ObjCIvarRegion
237 return getDecl()->getType();
241 return QualType(getDecl()->getTypeForDecl(), 0);
333 VarRegion::ProfileRegion(ID, getDecl(), superRegion);
418 ProfileRegion(ID, getDecl(), isVirtual(), superRegion);
459 os << "code{" << getDecl()->getDeclName().getAsString() << '}';
481 os << "base{" << superRegion << ',' << getDecl()->getName() << '}';
494 os << superRegion << "->" << *getDecl();
498 os << "ivar{" << superRegion << ',' << *getDecl() << '}';
[all...]
/external/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h356 /// \brief Metafunction to determine if type T has a member called getDecl.
358 struct Default { int getDecl; }; member in struct:clang::ast_matchers::internal::has_getDecl::Default
363 // If T::getDecl exists, an ambiguity arises and CheckT will
367 static char (&f(CheckT<int Default::*, &C::getDecl>*))[1];
431 /// \brief If getDecl exists as a member of U, returns whether the inner
432 /// matcher matches Node.getDecl().
437 return matchesDecl(Node.getDecl(), Finder, Builder);
448 return matchesDecl(AsEnum->getDecl(), Finder, Builder);
/external/clang/include/clang/Serialization/
H A DASTWriter.h144 Decl *getDecl() const { function in class:clang::ASTWriter::DeclOrType
H A DASTReader.h493 Decl *getDecl() const { function in class:clang::ASTReader::HiddenName
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h94 const Decl *getDecl() { return D; } function in class:clang::ento::RuntimeDefinition
179 virtual const Decl *getDecl() const { function in class:clang::ento::CallEvent
212 const Decl *D = getDecl();
301 const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(getDecl());
407 virtual const FunctionDecl *getDecl() const { function in class:clang::ento::AnyFunctionCall
408 return cast<FunctionDecl>(CallEvent::getDecl());
412 const FunctionDecl *FD = getDecl();
420 return RuntimeDefinition(AD->getDecl());
427 return getDecl()->isVariadic();
457 virtual const FunctionDecl *getDecl() cons
741 virtual const CXXConstructorDecl *getDecl() const { function in class:clang::ento::CXXConstructorCall
783 virtual const FunctionDecl *getDecl() const { function in class:clang::ento::CXXAllocatorCall
843 virtual const ObjCMethodDecl *getDecl() const { function in class:clang::ento::ObjCMethodCall
[all...]
H A DMemRegion.h555 const NamedDecl *getDecl() const { function in class:clang::ento::FunctionTextRegion
594 const BlockDecl *getDecl() const { function in class:clang::ento::BlockTextRegion
634 const BlockDecl *getDecl() const { return BC->getDecl(); } function in class:clang::ento::BlockDataRegion
838 const Decl *getDecl() const { return D; } function in class:clang::ento::DeclRegion
862 const VarDecl *getDecl() const { return cast<VarDecl>(D); } function in class:clang::ento::VarRegion
868 return getDecl()->getType();
918 const FieldDecl *getDecl() const { return cast<FieldDecl>(D); } function in class:clang::ento::FieldRegion
922 return getDecl()->getType();
952 const ObjCIvarDecl *getDecl() cons
1073 const CXXRecordDecl *getDecl() const { return Data.getPointer(); } function in class:clang::ento::CXXBaseObjectRegion
[all...]
/external/clang/lib/AST/
H A DType.cpp52 ND = ty->getAs<RecordType>()->getDecl();
54 ND = ty->getAs<EnumType>()->getDecl();
56 ND = ty->getAs<TypedefType>()->getDecl();
379 return RT->getDecl()->isClass();
384 return RT->getDecl()->isStruct();
389 return RT->getDecl()->isInterface();
394 return RT->getDecl()->isStruct() || RT->getDecl()->isClass() ||
395 RT->getDecl()->isInterface();
406 return RT->getDecl()
1840 TagDecl *TagType::getDecl() const { function in class:TagType
1848 CXXRecordDecl *InjectedClassNameType::getDecl() const { function in class:InjectedClassNameType
[all...]
H A DExprConstant.cpp781 const ValueDecl *getDecl() const { function in struct:__anon3625::MemberPtr
795 V = APValue(getDecl(), isDerivedMember(), Path);
837 if (!getDecl())
851 if (!getDecl())
865 if (!LHS.getDecl() || !RHS.getDecl())
866 return !LHS.getDecl() && !RHS.getDecl();
867 if (LHS.getDecl()->getCanonicalDecl() != RHS.getDecl()
[all...]
/external/clang/lib/Sema/
H A DSemaInit.cpp361 if (RType->getDecl()->isUnion() &&
368 Field = RType->getDecl()->field_begin(),
369 FieldEnd = RType->getDecl()->field_end();
384 if (RType->getDecl()->isUnion())
505 RecordDecl *structDecl = DeclType->getAs<RecordType>()->getDecl();
692 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl();
1286 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) {
1314 RecordDecl* structDecl = DeclType->getAs<RecordType>()->getDecl();
1327 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl();
1346 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl();
2345 DeclaratorDecl *InitializedEntity::getDecl() const { function in class:InitializedEntity
[all...]

Completed in 311 milliseconds