Home
last modified time | relevance | path

Searched refs:AttrVec (Results 1 – 20 of 20) sorted by relevance

/external/clang/include/clang/AST/
DAttrIterator.h42 typedef SmallVector<Attr*, 2> AttrVec; typedef
47 template <typename SpecificAttr, typename Container = AttrVec>
DDeclBase.h421 void setAttrs(const AttrVec& Attrs) { in setAttrs()
424 AttrVec &getAttrs() { in getAttrs()
425 return const_cast<AttrVec&>(const_cast<const Decl*>(this)->getAttrs()); in getAttrs()
427 const AttrVec &getAttrs() const;
434 setAttrs(AttrVec(1, A)); in addAttr()
437 typedef AttrVec::const_iterator attr_iterator;
455 AttrVec &Vec = getAttrs(); in dropAttr()
969 void setAttrsImpl(const AttrVec& Attrs, ASTContext &Ctx);
DASTContext.h273 llvm::DenseMap<const Decl*, AttrVec*> DeclAttrs;
674 AttrVec& getDeclAttrs(const Decl *D);
/external/clang/lib/AST/
DDeclBase.cpp286 const AttrVec &V = getAttrs(); in getMaxAlignment()
600 void Decl::setAttrsImpl(const AttrVec &attrs, ASTContext &Ctx) { in setAttrsImpl()
603 AttrVec &AttrBlank = Ctx.getDeclAttrs(this); in setAttrsImpl()
617 const AttrVec &Decl::getAttrs() const { in getAttrs()
DDeclPrinter.cpp192 AttrVec &Attrs = D->getAttrs(); in prettyPrintAttributes()
193 for (AttrVec::const_iterator i=Attrs.begin(), e=Attrs.end(); i!=e; ++i) { in prettyPrintAttributes()
DASTContext.cpp786 for (llvm::DenseMap<const Decl*, AttrVec*>::iterator A = DeclAttrs.begin(), in ~ASTContext()
789 A->second->~AttrVec(); in ~ASTContext()
1064 AttrVec& ASTContext::getDeclAttrs(const Decl *D) { in getDeclAttrs()
1065 AttrVec *&Result = DeclAttrs[D]; in getDeclAttrs()
1067 void *Mem = Allocate(sizeof(AttrVec)); in getDeclAttrs()
1068 Result = new (Mem) AttrVec; in getDeclAttrs()
1076 llvm::DenseMap<const Decl*, AttrVec*>::iterator Pos = DeclAttrs.find(D); in eraseDeclAttrs()
1078 Pos->second->~AttrVec(); in eraseDeclAttrs()
DItaniumMangle.cpp467 for (AttrVec::const_reverse_iterator I = FD->getAttrs().rbegin(), in mangleFunctionEncoding()
/external/llvm/lib/IR/
DAttributes.cpp582 SmallVector<Attribute, 4> AttrVec; in get() local
584 AttrVec.push_back(I->second); in get()
589 AttributeSetNode::get(C, AttrVec))); in get()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp979 static bool MatchTwoAttributeLists(const AttrVec &Attrs1, const AttrVec &Attrs2, in MatchTwoAttributeLists()
1015 const AttrVec &Attrs1 = Decl1->getAttrs(); in AttributesMatch()
1016 const AttrVec &Attrs2 = Decl2->getAttrs(); in AttributesMatch()
/external/clang/lib/Index/
DCommentToXML.cpp1005 const AttrVec &Attrs = DI->CommentDecl->getAttrs(); in visitFullComment()
/external/clang/lib/Analysis/
DThreadSafety.cpp1983 const AttrVec &ArgAttrs = D->getAttrs(); in handleCall()
2392 const AttrVec &ArgAttrs = D->getAttrs(); in runAnalysis()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp405 AttrVec Attrs; in VisitDecl()
2145 void ASTReader::ReadAttributes(ModuleFile &F, AttrVec &Attrs, in ReadAttributes()
3262 AttrVec Attrs; in UpdateDecl()
DASTReaderStmt.cpp174 AttrVec Attrs; in VisitAttributedStmt()
/external/clang/include/clang/Serialization/
DASTReader.h1985 void ReadAttributes(ModuleFile &F, AttrVec &Attrs,
/external/clang/lib/Sema/
DSemaOverload.cpp5687 AttrVec Attrs = Function->getAttrs(); in CheckEnableIf()
5688 AttrVec::iterator E = std::remove_if(Attrs.begin(), Attrs.end(), in CheckEnableIf()
5730 for (AttrVec::iterator I = Attrs.begin(); I != E; ++I) { in CheckEnableIf()
8301 AttrVec Cand1Attrs; in isBetterOverloadCandidate()
8310 AttrVec Cand2Attrs; in isBetterOverloadCandidate()
DSemaStmt.cpp2842 const AttrVec *Attrs = nullptr; in BuildReturnStmt()
DSemaDecl.cpp2127 AttrVec &NewAttributes = New->getAttrs(); in checkNewAttributesAfterDef()
2215 if (!foundAny) New->setAttrs(AttrVec()); in mergeDeclAttributes()
2280 if (!foundAny) newDecl->setAttrs(AttrVec()); in mergeParamDeclAttributes()
DSemaDeclAttr.cpp1738 AttrVec &Attrs = D->getAttrs(); in mergeAvailabilityAttr()
DSemaChecking.cpp4807 const AttrVec *Attrs, in CheckReturnValExpr()
/external/clang/include/clang/Sema/
DSema.h8301 const AttrVec *Attrs = nullptr,