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.h435 void setAttrs(const AttrVec& Attrs) { in setAttrs()
438 AttrVec &getAttrs() { in getAttrs()
439 return const_cast<AttrVec&>(const_cast<const Decl*>(this)->getAttrs()); in getAttrs()
441 const AttrVec &getAttrs() const;
448 setAttrs(AttrVec(1, A)); in addAttr()
451 typedef AttrVec::const_iterator attr_iterator;
469 AttrVec &Vec = getAttrs(); in dropAttr()
1012 void setAttrsImpl(const AttrVec& Attrs, ASTContext &Ctx);
DASTContext.h294 llvm::DenseMap<const Decl*, AttrVec*> DeclAttrs;
763 AttrVec& getDeclAttrs(const Decl *D);
/external/clang/lib/AST/
DDeclBase.cpp324 const AttrVec &V = getAttrs(); in getMaxAlignment()
661 void Decl::setAttrsImpl(const AttrVec &attrs, ASTContext &Ctx) { in setAttrsImpl()
664 AttrVec &AttrBlank = Ctx.getDeclAttrs(this); in setAttrsImpl()
678 const AttrVec &Decl::getAttrs() const { in getAttrs()
DDeclPrinter.cpp203 AttrVec &Attrs = D->getAttrs(); in prettyPrintAttributes()
223 AttrVec &Attrs = D->getAttrs(); in prettyPrintPragmas()
DASTContext.cpp785 for (llvm::DenseMap<const Decl*, AttrVec*>::iterator A = DeclAttrs.begin(), in ~ASTContext()
788 A->second->~AttrVec(); in ~ASTContext()
1142 AttrVec& ASTContext::getDeclAttrs(const Decl *D) { in getDeclAttrs()
1143 AttrVec *&Result = DeclAttrs[D]; in getDeclAttrs()
1145 void *Mem = Allocate(sizeof(AttrVec)); in getDeclAttrs()
1146 Result = new (Mem) AttrVec; in getDeclAttrs()
1154 llvm::DenseMap<const Decl*, AttrVec*>::iterator Pos = DeclAttrs.find(D); in eraseDeclAttrs()
1156 Pos->second->~AttrVec(); in eraseDeclAttrs()
DItaniumMangle.cpp485 for (AttrVec::const_reverse_iterator I = FD->getAttrs().rbegin(), in mangleFunctionEncoding()
/external/llvm/lib/IR/
DAttributes.cpp658 SmallVector<Attribute, 4> AttrVec; in get() local
660 AttrVec.push_back(I->second); in get()
665 AttributeSetNode::get(C, AttrVec))); in get()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp1110 static bool MatchTwoAttributeLists(const AttrVec &Attrs1, const AttrVec &Attrs2, in MatchTwoAttributeLists()
1146 const AttrVec &Attrs1 = Decl1->getAttrs(); in AttributesMatch()
1147 const AttrVec &Attrs2 = Decl2->getAttrs(); in AttributesMatch()
/external/clang/lib/Index/
DCommentToXML.cpp998 const AttrVec &Attrs = DI->CommentDecl->getAttrs(); in visitFullComment()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp499 AttrVec Attrs; in VisitDecl()
2365 void ASTReader::ReadAttributes(ModuleFile &F, AttrVec &Attrs, in ReadAttributes()
3706 AttrVec Attrs; in UpdateDecl()
3806 AttrVec Attrs; in UpdateDecl()
DASTReaderStmt.cpp174 AttrVec Attrs; in VisitAttributedStmt()
/external/clang/include/clang/Serialization/
DASTReader.h2033 void ReadAttributes(ModuleFile &F, AttrVec &Attrs,
/external/clang/lib/Sema/
DSemaStmt.cpp3126 const AttrVec *Attrs = nullptr; in BuildReturnStmt()
DSemaDecl.cpp2296 AttrVec &NewAttributes = New->getAttrs(); in checkNewAttributesAfterDef()
2407 if (!foundAny) New->setAttrs(AttrVec()); in mergeDeclAttributes()
2471 if (!foundAny) newDecl->setAttrs(AttrVec()); in mergeParamDeclAttributes()
DSemaDeclAttr.cpp1937 AttrVec &Attrs = D->getAttrs(); in mergeAvailabilityAttr()
DSemaOpenMP.cpp532 StringRef Name, const AttrVec *Attrs = nullptr) { in buildVarDecl()
DSemaChecking.cpp5996 const AttrVec *Attrs, in CheckReturnValExpr()
/external/clang/include/clang/Sema/
DSema.h9082 const AttrVec *Attrs = nullptr,