Searched refs:AttrVec (Results 1 – 19 of 19) sorted by relevance
/external/clang/include/clang/AST/ |
D | AttrIterator.h | 42 typedef SmallVector<Attr*, 2> AttrVec; typedef 47 template <typename SpecificAttr, typename Container = AttrVec>
|
D | DeclBase.h | 423 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);
|
D | ASTContext.h | 280 llvm::DenseMap<const Decl*, AttrVec*> DeclAttrs; 691 AttrVec& getDeclAttrs(const Decl *D);
|
/external/clang/lib/AST/ |
D | DeclBase.cpp | 286 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()
|
D | DeclPrinter.cpp | 193 AttrVec &Attrs = D->getAttrs(); in prettyPrintAttributes() 194 for (AttrVec::const_iterator i=Attrs.begin(), e=Attrs.end(); i!=e; ++i) { in prettyPrintAttributes()
|
D | ASTContext.cpp | 781 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()
|
D | ItaniumMangle.cpp | 487 for (AttrVec::const_reverse_iterator I = FD->getAttrs().rbegin(), in mangleFunctionEncoding()
|
/external/llvm/lib/IR/ |
D | Attributes.cpp | 634 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/ |
D | ObjCMT.cpp | 1122 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/ |
D | CommentToXML.cpp | 999 const AttrVec &Attrs = DI->CommentDecl->getAttrs(); in visitFullComment()
|
/external/clang/lib/Serialization/ |
D | ASTReaderDecl.cpp | 447 AttrVec Attrs; in VisitDecl() 2287 void ASTReader::ReadAttributes(ModuleFile &F, AttrVec &Attrs, in ReadAttributes() 3739 AttrVec Attrs; in UpdateDecl()
|
D | ASTReaderStmt.cpp | 174 AttrVec Attrs; in VisitAttributedStmt()
|
/external/clang/include/clang/Serialization/ |
D | ASTReader.h | 2043 void ReadAttributes(ModuleFile &F, AttrVec &Attrs,
|
/external/clang/lib/Sema/ |
D | SemaOverload.cpp | 5836 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()
|
D | SemaStmt.cpp | 3079 const AttrVec *Attrs = nullptr; in BuildReturnStmt()
|
D | SemaDecl.cpp | 2287 AttrVec &NewAttributes = New->getAttrs(); in checkNewAttributesAfterDef() 2375 if (!foundAny) New->setAttrs(AttrVec()); in mergeDeclAttributes() 2440 if (!foundAny) newDecl->setAttrs(AttrVec()); in mergeParamDeclAttributes()
|
D | SemaDeclAttr.cpp | 1845 AttrVec &Attrs = D->getAttrs(); in mergeAvailabilityAttr()
|
D | SemaChecking.cpp | 5505 const AttrVec *Attrs, in CheckReturnValExpr()
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 8557 const AttrVec *Attrs = nullptr,
|