Home
last modified time | relevance | path

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

/external/clang/include/clang/AST/
DAttrIterator.h42 typedef SmallVector<Attr*, 2> AttrVec; typedef
47 template <typename SpecificAttr, typename Container = AttrVec>
DDeclBase.h423 void setAttrs(const AttrVec& Attrs) { in setAttrs()
426 AttrVec &getAttrs() { in getAttrs()
427 return const_cast<AttrVec&>(const_cast<const Decl*>(this)->getAttrs()); in getAttrs()
429 const AttrVec &getAttrs() const;
436 setAttrs(AttrVec(1, A)); in addAttr()
439 typedef AttrVec::const_iterator attr_iterator;
457 AttrVec &Vec = getAttrs(); in dropAttr()
975 void setAttrsImpl(const AttrVec& Attrs, ASTContext &Ctx);
DASTContext.h280 llvm::DenseMap<const Decl*, AttrVec*> DeclAttrs;
691 AttrVec& getDeclAttrs(const Decl *D);
/external/clang/lib/AST/
DDeclBase.cpp286 const AttrVec &V = getAttrs(); in getMaxAlignment()
621 void Decl::setAttrsImpl(const AttrVec &attrs, ASTContext &Ctx) { in setAttrsImpl()
624 AttrVec &AttrBlank = Ctx.getDeclAttrs(this); in setAttrsImpl()
638 const AttrVec &Decl::getAttrs() const { in getAttrs()
DDeclPrinter.cpp193 AttrVec &Attrs = D->getAttrs(); in prettyPrintAttributes()
194 for (AttrVec::const_iterator i=Attrs.begin(), e=Attrs.end(); i!=e; ++i) { in prettyPrintAttributes()
DASTContext.cpp781 for (llvm::DenseMap<const Decl*, AttrVec*>::iterator A = DeclAttrs.begin(), in ~ASTContext()
784 A->second->~AttrVec(); in ~ASTContext()
1068 AttrVec& ASTContext::getDeclAttrs(const Decl *D) { in getDeclAttrs()
1069 AttrVec *&Result = DeclAttrs[D]; in getDeclAttrs()
1071 void *Mem = Allocate(sizeof(AttrVec)); in getDeclAttrs()
1072 Result = new (Mem) AttrVec; in getDeclAttrs()
1080 llvm::DenseMap<const Decl*, AttrVec*>::iterator Pos = DeclAttrs.find(D); in eraseDeclAttrs()
1082 Pos->second->~AttrVec(); in eraseDeclAttrs()
DItaniumMangle.cpp487 for (AttrVec::const_reverse_iterator I = FD->getAttrs().rbegin(), in mangleFunctionEncoding()
/external/llvm/lib/IR/
DAttributes.cpp634 SmallVector<Attribute, 4> AttrVec; in get() local
636 AttrVec.push_back(I->second); in get()
641 AttributeSetNode::get(C, AttrVec))); in get()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp1122 static bool MatchTwoAttributeLists(const AttrVec &Attrs1, const AttrVec &Attrs2, in MatchTwoAttributeLists()
1158 const AttrVec &Attrs1 = Decl1->getAttrs(); in AttributesMatch()
1159 const AttrVec &Attrs2 = Decl2->getAttrs(); in AttributesMatch()
/external/clang/lib/Index/
DCommentToXML.cpp999 const AttrVec &Attrs = DI->CommentDecl->getAttrs(); in visitFullComment()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp447 AttrVec Attrs; in VisitDecl()
2287 void ASTReader::ReadAttributes(ModuleFile &F, AttrVec &Attrs, in ReadAttributes()
3739 AttrVec Attrs; in UpdateDecl()
DASTReaderStmt.cpp174 AttrVec Attrs; in VisitAttributedStmt()
/external/clang/include/clang/Serialization/
DASTReader.h2043 void ReadAttributes(ModuleFile &F, AttrVec &Attrs,
/external/clang/lib/Sema/
DSemaOverload.cpp5836 AttrVec Attrs = Function->getAttrs(); in CheckEnableIf()
5837 AttrVec::iterator E = std::remove_if(Attrs.begin(), Attrs.end(), in CheckEnableIf()
5882 for (AttrVec::iterator I = Attrs.begin(); I != E; ++I) { in CheckEnableIf()
8461 AttrVec Cand1Attrs; in isBetterOverloadCandidate()
8470 AttrVec Cand2Attrs; in isBetterOverloadCandidate()
DSemaStmt.cpp3079 const AttrVec *Attrs = nullptr; in BuildReturnStmt()
DSemaDecl.cpp2287 AttrVec &NewAttributes = New->getAttrs(); in checkNewAttributesAfterDef()
2375 if (!foundAny) New->setAttrs(AttrVec()); in mergeDeclAttributes()
2440 if (!foundAny) newDecl->setAttrs(AttrVec()); in mergeParamDeclAttributes()
DSemaDeclAttr.cpp1845 AttrVec &Attrs = D->getAttrs(); in mergeAvailabilityAttr()
DSemaChecking.cpp5505 const AttrVec *Attrs, in CheckReturnValExpr()
/external/clang/include/clang/Sema/
DSema.h8557 const AttrVec *Attrs = nullptr,