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

12

/external/clang/include/clang/AST/
H A DDeclAccessPair.h42 NamedDecl *getDecl() const { function in class:clang::DeclAccessPair
53 set(getDecl(), AS);
59 operator NamedDecl*() const { return getDecl(); }
60 NamedDecl *operator->() const { return getDecl(); }
H A DGlobalDecl.h60 const Decl *getDecl() const { return Value.getPointer(); } function in class:clang::GlobalDecl
63 assert(isa<CXXConstructorDecl>(getDecl()) && "Decl is not a ctor!");
68 assert(isa<CXXDestructorDecl>(getDecl()) && "Decl is not a dtor!");
H A DUnresolvedSet.h44 NamedDecl *getDecl() const { return I->getDecl(); } function in class:clang::UnresolvedSetIterator
50 NamedDecl *operator*() const { return getDecl(); }
90 if (I->getDecl() == Old)
H A DTemplateName.h414 TemplateDecl *getDecl() const { return Template; } function in class:clang::QualifiedTemplateName
H A DTypeLoc.h592 return getTypePtr()->getDecl();
603 CXXRecordDecl *getDecl() const { function in class:clang::InjectedClassNameTypeLoc
604 return getTypePtr()->getDecl();
614 UnresolvedUsingTypenameDecl *getDecl() const { function in class:clang::UnresolvedUsingTypeLoc
615 return getTypePtr()->getDecl();
628 TagDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::TagTypeLoc
632 TagDecl *D = getDecl();
643 RecordDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::RecordTypeLoc
651 EnumDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::EnumTypeLoc
660 TemplateTypeParmDecl *getDecl() const { return getTypePtr()->getDecl(); } function in class:clang::TemplateTypeParmTypeLoc
[all...]
H A DDeclTemplate.h548 static DeclType *getDecl(EntryType *D) {
571 return SETraits::getDecl(&*this->I)->getMostRecentDecl();
729 static DeclType *getDecl(FunctionTemplateSpecializationInfo *I) { function in struct:clang::RedeclarableTemplateDecl::SpecEntryTraits
H A DExprObjC.h500 ObjCIvarDecl *getDecl() { return D; } function in class:clang::ObjCIvarRefExpr
501 const ObjCIvarDecl *getDecl() const { return D; } function in class:clang::ObjCIvarRefExpr
H A DStmt.h804 LabelDecl *getDecl() const { return TheDecl; } function in class:clang::LabelStmt
H A DExpr.h992 ValueDecl *getDecl() { return D; } function in class:clang::DeclRefExpr
993 const ValueDecl *getDecl() const { return D; } function in class:clang::DeclRefExpr
997 return DeclarationNameInfo(getDecl()->getDeclName(), Loc, DNLoc);
H A DType.h3187 UnresolvedUsingTypenameDecl *getDecl() const { return Decl; }
3220 TypedefNameDecl *getDecl() const { return Decl; } function
3377 TagDecl *getDecl() const;
3399 RecordDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::RecordType
3400 return reinterpret_cast<RecordDecl*>(TagType::getDecl());
3422 EnumDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::EnumType
3423 return reinterpret_cast<EnumDecl*>(TagType::getDecl());
3578 TemplateTypeParmDecl *getDecl() const { function in class:clang::FunctionType::ExtInfo::FunctionProtoType::TemplateTypeParmType
3588 Profile(ID, getDepth(), getIndex(), isParameterPack(), getDecl());
3956 CXXRecordDecl *getDecl() cons
4490 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());
185 const Decl *D = getDecl(VD->getInit()->IgnoreParenCasts());
202 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
H A DUninitializedValues.cpp274 const VarDecl *getDecl() const { return vd; } function in class:__anon907::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());
355 if (DRE && DRE->getDecl() == VD)
519 return ::isTrackedVar(vd, cast<DeclContext>(ac.getDecl()));
523 return ::findVar(ex, cast<DeclContext>(ac.getDecl()));
734 reportUse(dr, cast<VarDecl>(dr->getDecl()));
737 vals[cast<VarDecl>(dr->getDecl())] = Initialized;
740 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.h101 const Decl *getDecl() const { return D; } function in class:clang::AnalysisDeclContext
239 const Decl *getDecl() const { return getAnalysisDeclContext()->getDecl(); } function in class:clang::LocationContext
H A DProgramPoint.h510 const Decl *getDecl() const { return static_cast<const Decl *>(getData2()); } function in class:clang::ImplicitCallPoint
/external/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h141 if (!dyn_cast_or_null<NamedDecl>(AC.getDecl()))
156 V.enterCFG(CFGraph, getDecl(), &CFGraph->getEntry());
238 const NamedDecl *getDecl() const { function in class:clang::threadSafety::CFGWalker
239 return dyn_cast<NamedDecl>(ACtx->getDecl());
/external/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp70 const RecordDecl *RD = RT->getDecl();
86 if (!getDecl())
104 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(getDecl());
143 if (const Decl *callee = getDecl())
186 const Decl *D = getDecl();
226 if (const Decl *D = getDecl()) {
312 const FunctionDecl *D = getDecl();
321 const FunctionDecl *D = cast<FunctionDecl>(CalleeCtx->getDecl());
331 const FunctionDecl *D = getDecl();
384 const FunctionDecl *SimpleFunctionCall::getDecl() cons function in class:SimpleFunctionCall
393 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);
420 ProfileRegion(ID, getDecl(), isVirtual(), superRegion);
461 os << "code{" << getDecl()->getDeclName().getAsString() << '}';
490 os << "base{" << superRegion << ',' << getDecl()->getName() << '}';
503 os << superRegion << "->" << *getDecl();
507 os << "ivar{" << superRegion << ',' << *getDecl() << '}';
[all...]
/external/clang/include/clang/Serialization/
H A DASTWriter.h148 Decl *getDecl() const { function in class:clang::ASTWriter::DeclOrType
316 const Decl *getDecl() const { return Dcl; } function in class:clang::ASTWriter::DeclUpdate
H A DASTReader.h606 Decl *getDecl() const { function in class:clang::ASTReader::HiddenName
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DCallEvent.h92 const Decl *getDecl() { return D; } function in class:clang::ento::RuntimeDefinition
177 virtual const Decl *getDecl() const { function in class:clang::ento::CallEvent
210 const Decl *D = getDecl();
294 const NamedDecl *ND = dyn_cast_or_null<NamedDecl>(getDecl());
393 const FunctionDecl *getDecl() const override {
394 return cast<FunctionDecl>(CallEvent::getDecl());
398 const FunctionDecl *FD = getDecl();
406 return RuntimeDefinition(AD->getDecl());
446 const FunctionDecl *getDecl() const override;
493 const BlockDecl *getDecl() cons
[all...]
H A DMemRegion.h567 const NamedDecl *getDecl() const { function in class:clang::ento::FunctionTextRegion
606 const BlockDecl *getDecl() const { function in class:clang::ento::BlockTextRegion
648 const BlockDecl *getDecl() const { return BC->getDecl(); } function in class:clang::ento::BlockDataRegion
853 const Decl *getDecl() const { return D; } function in class:clang::ento::DeclRegion
877 const VarDecl *getDecl() const { return cast<VarDecl>(D); } function in class:clang::ento::VarRegion
883 return getDecl()->getType();
934 const FieldDecl *getDecl() const { return cast<FieldDecl>(D); } function in class:clang::ento::FieldRegion
938 return getDecl()->getType();
970 const ObjCIvarDecl *getDecl() cons
1091 const CXXRecordDecl *getDecl() const { return Data.getPointer(); } function in class:clang::ento::CXXBaseObjectRegion
[all...]
/external/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h559 /// \brief Metafunction to determine if type T has a member called getDecl.
561 struct Default { int getDecl; }; member in struct:clang::ast_matchers::internal::has_getDecl::Default
566 // If T::getDecl exists, an ambiguity arises and CheckT will
570 static char (&f(CheckT<int Default::*, &C::getDecl>*))[1];
661 /// \brief If getDecl exists as a member of U, returns whether the inner
662 /// matcher matches Node.getDecl().
667 return matchesDecl(Node.getDecl(), Finder, Builder);
678 return matchesDecl(AsEnum->getDecl(), Finder, Builder);
/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();
359 return RT->getDecl()->isClass();
364 return RT->getDecl()->isStruct();
369 return RT->getDecl()->isInterface();
374 RecordDecl *RD = RT->getDecl();
387 return RT->getDecl()->isUnion();
428 if (RT->getDecl()->isStruct())
434 if (!RT->getDecl()
1888 TagDecl *TagType::getDecl() const { function in class:TagType
1939 CXXRecordDecl *InjectedClassNameType::getDecl() const { function in class:InjectedClassNameType
[all...]
/external/clang/lib/Sema/
H A DSemaInit.cpp423 SemaRef.Diag(Entity.getDecl()->getLocation(),
433 SemaRef.Diag(Entity.getDecl()->getLocation(),
435 << /*field*/1 << Entity.getDecl();
533 const RecordDecl *RDecl = RType->getDecl();
673 RecordDecl *structDecl = DeclType->getAs<RecordType>()->getDecl();
921 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl();
1570 } else if (cast<VarDecl>(Entity.getDecl())->hasLocalStorage()) {
1598 RecordDecl* structDecl = DeclType->getAs<RecordType>()->getDecl();
1610 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl();
1647 RecordDecl *RD = DeclType->getAs<RecordType>()->getDecl();
2677 DeclaratorDecl *InitializedEntity::getDecl() const { function in class:InitializedEntity
[all...]

Completed in 306 milliseconds

12