Searched refs:AttrVec (Results 1 - 15 of 15) sorted by relevance

/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DAttrIterator.h41 /// AttrVec - A vector of Attr, which is how they are stored on the AST.
42 typedef SmallVector<Attr*, 2> AttrVec; typedef in namespace:clang
45 /// specific_attr_iterator - Iterates over a subrange of an AttrVec, only
47 template <typename SpecificAttr, typename Container = AttrVec>
H A DDeclBase.h415 void setAttrs(const AttrVec& Attrs) {
418 AttrVec &getAttrs() {
419 return const_cast<AttrVec&>(const_cast<const Decl*>(this)->getAttrs());
421 const AttrVec &getAttrs() const;
429 setAttrs(AttrVec(1, A));
432 typedef AttrVec::const_iterator attr_iterator;
447 AttrVec &Vec = getAttrs();
885 void setAttrsImpl(const AttrVec& Attrs, ASTContext &Ctx);
H A DASTContext.h262 llvm::DenseMap<const Decl*, AttrVec*> DeclAttrs;
596 AttrVec& getDeclAttrs(const Decl *D);
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/
H A DDeclBase.cpp275 const AttrVec &V = getAttrs();
576 void Decl::setAttrsImpl(const AttrVec &attrs, ASTContext &Ctx) {
579 AttrVec &AttrBlank = Ctx.getDeclAttrs(this);
593 const AttrVec &Decl::getAttrs() const {
H A DDeclPrinter.cpp192 AttrVec &Attrs = D->getAttrs();
193 for (AttrVec::const_iterator i=Attrs.begin(), e=Attrs.end(); i!=e; ++i) {
H A DASTContext.cpp749 for (llvm::DenseMap<const Decl*, AttrVec*>::iterator A = DeclAttrs.begin(),
752 A->second->~AttrVec();
992 AttrVec& ASTContext::getDeclAttrs(const Decl *D) {
993 AttrVec *&Result = DeclAttrs[D];
995 void *Mem = Allocate(sizeof(AttrVec));
996 Result = new (Mem) AttrVec;
1004 llvm::DenseMap<const Decl*, AttrVec*>::iterator Pos = DeclAttrs.find(D);
1006 Pos->second->~AttrVec();
/freebsd-10.0-release/contrib/llvm/lib/IR/
H A DAttributes.cpp576 SmallVector<Attribute, 4> AttrVec; local
578 AttrVec.push_back(I->second);
583 AttributeSetNode::get(C, AttrVec)));
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Analysis/
H A DThreadSafety.cpp1694 AttrVec &ArgAttrs = FunDecl->getAttrs();
1876 const AttrVec &ArgAttrs = D->getAttrs();
1894 const AttrVec &ArgAttrs = D->getAttrs();
1912 const AttrVec &ArgAttrs = D->getAttrs();
2292 const AttrVec &ArgAttrs = D->getAttrs();
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaDeclObjC.cpp2538 unsigned countAlignAttr(const AttrVec &A) {
2540 for (AttrVec::const_iterator i = A.begin(), e = A.end(); i != e; ++i)
2548 const AttrVec &A) {
2561 const AttrVec &D = IMD->getAttrs();
2578 for (AttrVec::const_iterator i = A.begin(), e = A.end(); i != e; ++i) {
2582 for (AttrVec::const_iterator i1 = D.begin(), e1 = D.end(); i1 != e1; ++i1) {
H A DSemaDecl.cpp2047 AttrVec &NewAttributes = New->getAttrs();
2103 if (!foundAny) New->setAttrs(AttrVec());
2167 if (!foundAny) newDecl->setAttrs(AttrVec());
H A DSemaTemplateInstantiateDecl.cpp125 for (AttrVec::const_iterator i = Tmpl->attr_begin(), e = Tmpl->attr_end();
H A DSemaDeclAttr.cpp2152 AttrVec &Attrs = D->getAttrs();
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Serialization/
H A DASTReader.h1793 void ReadAttributes(ModuleFile &F, AttrVec &Attrs,
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp358 AttrVec Attrs;
1660 void ASTReader::ReadAttributes(ModuleFile &F, AttrVec &Attrs,
H A DASTReaderStmt.cpp173 AttrVec Attrs;

Completed in 414 milliseconds