Searched refs:AttrVec (Results 1 – 19 of 19) sorted by relevance
| /NextBSD/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | AttrIterator.h | 42 typedef SmallVector<Attr*, 2> AttrVec; typedef 47 template <typename SpecificAttr, typename Container = AttrVec>
|
| HD | DeclBase.h | 428 void setAttrs(const AttrVec& Attrs) { in setAttrs() 431 AttrVec &getAttrs() { in getAttrs() 432 return const_cast<AttrVec&>(const_cast<const Decl*>(this)->getAttrs()); in getAttrs() 434 const AttrVec &getAttrs() const; 441 setAttrs(AttrVec(1, A)); in addAttr() 444 typedef AttrVec::const_iterator attr_iterator; 462 AttrVec &Vec = getAttrs(); in dropAttr() 997 void setAttrsImpl(const AttrVec& Attrs, ASTContext &Ctx);
|
| HD | ASTContext.h | 286 llvm::DenseMap<const Decl*, AttrVec*> DeclAttrs; 702 AttrVec& getDeclAttrs(const Decl *D);
|
| /NextBSD/contrib/llvm/tools/clang/lib/AST/ |
| HD | DeclBase.cpp | 297 const AttrVec &V = getAttrs(); in getMaxAlignment() 633 void Decl::setAttrsImpl(const AttrVec &attrs, ASTContext &Ctx) { in setAttrsImpl() 636 AttrVec &AttrBlank = Ctx.getDeclAttrs(this); in setAttrsImpl() 650 const AttrVec &Decl::getAttrs() const { in getAttrs()
|
| HD | DeclPrinter.cpp | 202 AttrVec &Attrs = D->getAttrs(); in prettyPrintAttributes() 203 for (AttrVec::const_iterator i=Attrs.begin(), e=Attrs.end(); i!=e; ++i) { in prettyPrintAttributes()
|
| HD | ASTContext.cpp | 781 for (llvm::DenseMap<const Decl*, AttrVec*>::iterator A = DeclAttrs.begin(), in ~ASTContext() 784 A->second->~AttrVec(); in ~ASTContext() 1093 AttrVec& ASTContext::getDeclAttrs(const Decl *D) { in getDeclAttrs() 1094 AttrVec *&Result = DeclAttrs[D]; in getDeclAttrs() 1096 void *Mem = Allocate(sizeof(AttrVec)); in getDeclAttrs() 1097 Result = new (Mem) AttrVec; in getDeclAttrs() 1105 llvm::DenseMap<const Decl*, AttrVec*>::iterator Pos = DeclAttrs.find(D); in eraseDeclAttrs() 1107 Pos->second->~AttrVec(); in eraseDeclAttrs()
|
| HD | ItaniumMangle.cpp | 487 for (AttrVec::const_reverse_iterator I = FD->getAttrs().rbegin(), in mangleFunctionEncoding()
|
| /NextBSD/contrib/llvm/lib/IR/ |
| HD | Attributes.cpp | 652 SmallVector<Attribute, 4> AttrVec; in get() local 654 AttrVec.push_back(I->second); in get() 659 AttributeSetNode::get(C, AttrVec))); in get()
|
| /NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| HD | 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()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Index/ |
| HD | CommentToXML.cpp | 999 const AttrVec &Attrs = DI->CommentDecl->getAttrs(); in visitFullComment()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Serialization/ |
| HD | ASTReaderDecl.cpp | 518 AttrVec Attrs; in VisitDecl() 2372 void ASTReader::ReadAttributes(ModuleFile &F, AttrVec &Attrs, in ReadAttributes() 3842 AttrVec Attrs; in UpdateDecl() 3942 AttrVec Attrs; in UpdateDecl()
|
| HD | ASTReaderStmt.cpp | 174 AttrVec Attrs; in VisitAttributedStmt()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Serialization/ |
| HD | ASTReader.h | 2002 void ReadAttributes(ModuleFile &F, AttrVec &Attrs,
|
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaOverload.cpp | 5820 AttrVec Attrs = Function->getAttrs(); in CheckEnableIf() 5821 AttrVec::iterator E = std::remove_if(Attrs.begin(), Attrs.end(), in CheckEnableIf() 5866 for (AttrVec::iterator I = Attrs.begin(); I != E; ++I) { in CheckEnableIf() 8445 AttrVec Cand1Attrs; in isBetterOverloadCandidate() 8454 AttrVec Cand2Attrs; in isBetterOverloadCandidate()
|
| HD | SemaStmt.cpp | 3090 const AttrVec *Attrs = nullptr; in BuildReturnStmt()
|
| HD | SemaDecl.cpp | 2301 AttrVec &NewAttributes = New->getAttrs(); in checkNewAttributesAfterDef() 2389 if (!foundAny) New->setAttrs(AttrVec()); in mergeDeclAttributes() 2454 if (!foundAny) newDecl->setAttrs(AttrVec()); in mergeParamDeclAttributes()
|
| HD | SemaDeclAttr.cpp | 1836 AttrVec &Attrs = D->getAttrs(); in mergeAvailabilityAttr()
|
| HD | SemaChecking.cpp | 5813 const AttrVec *Attrs, in CheckReturnValExpr()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Sema/ |
| HD | Sema.h | 8875 const AttrVec *Attrs = nullptr,
|