Home
last modified time | relevance | path

Searched refs:AttributeList (Results 1 – 25 of 29) sorted by relevance

12

/trueos/contrib/llvm/tools/clang/include/clang/Sema/
HDAttributeList.h71 class AttributeList { // TODO: This should really be called ParsedAttribute
129 AttributeList *NextInPosition;
132 AttributeList *NextInPool;
204 AttributeList(const AttributeList &) LLVM_DELETED_FUNCTION;
205 void operator=(const AttributeList &) LLVM_DELETED_FUNCTION;
207 ~AttributeList() LLVM_DELETED_FUNCTION;
212 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList() function
226 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList() function
249 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList() function
268 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList() function
[all …]
HDDeclSpec.h707 void addAttributes(AttributeList *AL) { in addAttributes()
710 void setAttributes(AttributeList *AL) { in setAttributes()
1064 AttributeList *AttrList;
1371 const AttributeList *getAttrs() const { in getAttrs()
1375 AttributeList *&getAttrListRef() { in getAttrListRef()
2045 const AttributeList *getAttributes() const { return Attrs.getList(); } in getAttributes()
2046 AttributeList *getAttributes() { return Attrs.getList(); } in getAttributes()
2048 AttributeList *&getAttrListRef() { return Attrs.getListRef(); } in getAttrListRef()
2062 AttributeList *AttrList = Attrs.getList(); in getCXX11AttributeRanges()
HDSema.h70 class AttributeList; variable
1596 AttributeList *AttrList,
1663 AttributeList *Attr, AccessSpecifier AS,
1674 AttributeList *Attr,
1700 AttributeList *MSPropertyAttr);
1726 AttributeList *AttrList);
1772 AttributeList *Attrs,
1777 Scope *S, AttributeList *Attr);
2551 void ProcessDeclAttributeList(Scope *S, Decl *D, const AttributeList *AL,
2554 const AttributeList *AttrList);
[all …]
/trueos/contrib/llvm/tools/clang/lib/Sema/
HDAttributeList.cpp30 size_t AttributeList::allocated_size() const { in allocated_size()
36 return (sizeof(AttributeList) + NumArgs * sizeof(ArgsUnion)); in allocated_size()
46 assert(size >= sizeof(AttributeList)); in getFreeListIndexForSize()
48 return ((size - sizeof(AttributeList)) / sizeof(void*)); in getFreeListIndexForSize()
55 if (AttributeList *attr = FreeLists[index]) { in allocate()
65 void AttributeFactory::reclaimPool(AttributeList *cur) { in reclaimPool()
70 AttributeList *next = cur->NextInPool; in reclaimPool()
87 void AttributePool::takePool(AttributeList *pool) { in takePool()
99 AttributeList *next = pool->NextInPool; in takePool()
106 AttributeList *
[all …]
HDSemaDeclAttr.cpp212 static unsigned getNumAttributeArgs(const AttributeList &Attr) { in getNumAttributeArgs()
219 static bool checkAttributeNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeNumArgs()
233 static bool checkAttributeAtLeastNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeAtLeastNumArgs()
297 bool Sema::checkStringLiteralArgumentAttr(const AttributeList &Attr, in checkStringLiteralArgumentAttr()
369 const AttributeList &Attr) { in threadSafetyCheckIsPointer()
420 static void checkForLockableRecord(Sema &S, Decl *D, const AttributeList &Attr, in checkForLockableRecord()
462 const AttributeList &Attr, in checkAttrArgsAreLockableObjs()
544 const AttributeList &Attr) { in checkGuardedVarAttrCommon()
555 static void handleGuardedVarAttr(Sema &S, Decl *D, const AttributeList &Attr) { in handleGuardedVarAttr()
565 const AttributeList &Attr) { in handlePtGuardedVarAttr()
[all …]
HDTargetAttributesSema.cpp25 const AttributeList &Attr, Sema &S) const { in ProcessDeclAttribute()
30 const AttributeList &Attr, Sema &S) { in HandleARMInterruptAttr()
63 const AttributeList &Attr, Sema &S) const { in ProcessDeclAttribute()
74 const AttributeList &Attr, Sema &S) { in HandleMSP430InterruptAttr()
110 const AttributeList &Attr, Sema &S) const { in ProcessDeclAttribute()
121 const AttributeList& Attr, in HandleX86ForceAlignArgPointerAttr()
175 static void HandleDLLImportAttr(Decl *D, const AttributeList &Attr, Sema &S) { in HandleDLLImportAttr()
222 static void HandleDLLExportAttr(Decl *D, const AttributeList &Attr, Sema &S) { in HandleDLLExportAttr()
257 const AttributeList &Attr, Sema &S) const { in ProcessDeclAttribute()
262 case AttributeList::AT_DLLImport: HandleDLLImportAttr(D, Attr, S); in ProcessDeclAttribute()
[all …]
HDSemaStmtAttr.cpp27 static Attr *handleFallThroughAttr(Sema &S, Stmt *St, const AttributeList &A, in handleFallThroughAttr()
48 static Attr *ProcessStmtAttribute(Sema &S, Stmt *St, const AttributeList &A, in ProcessStmtAttribute()
51 case AttributeList::UnknownAttribute: in ProcessStmtAttribute()
56 case AttributeList::AT_FallThrough: in ProcessStmtAttribute()
67 StmtResult Sema::ProcessStmtAttributes(Stmt *S, AttributeList *AttrList, in ProcessStmtAttributes()
70 for (const AttributeList* l = AttrList; l; l = l->getNext()) { in ProcessStmtAttributes()
HDSemaType.cpp66 static void diagnoseBadTypeAttribute(Sema &S, const AttributeList &attr, in diagnoseBadTypeAttribute()
71 case AttributeList::AT_ObjCGC: WhichType = TDS_Pointer; break; in diagnoseBadTypeAttribute()
72 case AttributeList::AT_ObjCOwnership: WhichType = TDS_ObjCObjOrBlock; break; in diagnoseBadTypeAttribute()
100 case AttributeList::AT_ObjCGC: \
101 case AttributeList::AT_ObjCOwnership
105 case AttributeList::AT_NoReturn: \
106 case AttributeList::AT_CDecl: \
107 case AttributeList::AT_FastCall: \
108 case AttributeList::AT_StdCall: \
109 case AttributeList::AT_ThisCall: \
[all …]
HDTargetAttributesSema.h16 class AttributeList; variable
23 const AttributeList &Attr, Sema &S) const;
HDSemaDeclCXX.cpp1428 for (AttributeList *Attr = Attributes.getList(); Attr; in ActOnBaseSpecifier()
1431 Attr->getKind() == AttributeList::IgnoredAttribute) in ActOnBaseSpecifier()
1434 Attr->getKind() == AttributeList::UnknownAttribute in ActOnBaseSpecifier()
1739 AttributeList *Attrs) { in ActOnAccessSpecifier()
1843 static AttributeList *getMSPropertyAttr(AttributeList *list) { in getMSPropertyAttr()
1844 for (AttributeList* it = list; it != 0; it = it->getNext()) in getMSPropertyAttr()
2029 AttributeList *MSPropertyAttr = in ActOnCXXMemberDeclarator()
5857 AttributeList *AttrList) { in ActOnFinishCXXMemberSpecification()
5863 for (const AttributeList* l = AttrList; l; l = l->getNext()) { in ActOnFinishCXXMemberSpecification()
5864 if (l->getKind() != AttributeList::AT_Visibility) in ActOnFinishCXXMemberSpecification()
[all …]
HDDeclSpec.cpp895 AttributeList* attrs = getAttributes().getList(); in SaveWrittenBuiltinSpecs()
897 if (attrs->getKind() == AttributeList::AT_Mode) { in SaveWrittenBuiltinSpecs()
HDSemaDeclObjC.cpp448 SourceLocation EndProtoLoc, AttributeList *AttrList) { in ActOnStartClassInterface()
698 AttributeList *AttrList) { in ActOnStartProtocolInterface()
831 AttributeList *attrList) { in ActOnForwardProtocolDeclaration()
3093 AttributeList *AttrList, tok::ObjCKeywordKind MethodDeclKind, in ActOnMethodDeclaration()
HDSemaTemplate.cpp843 AttributeList *Attr, in CheckClassTemplate()
5778 AttributeList *Attr, in ActOnClassTemplateSpecialization()
6902 AttributeList *Attr) { in ActOnExplicitInstantiation()
7097 AttributeList *Attr) { in ActOnExplicitInstantiation()
7395 if (AttributeList *Attr = D.getDeclSpec().getAttributes().getList()) in ActOnExplicitInstantiation()
7518 AttributeList *Attr = D.getDeclSpec().getAttributes().getList(); in ActOnExplicitInstantiation()
/trueos/contrib/llvm/lib/IR/
HDModule.cpp140 AttributeSet AttributeList) { in getOrInsertFunction() argument
147 New->setAttributes(AttributeList); in getOrInsertFunction()
182 AttributeSet AttributeList, in getOrInsertFunction() argument
197 AttributeList); in getOrInsertFunction()
HDInstructions.cpp350 if (AttributeList.hasAttribute(AttributeSet::FunctionIndex, A)) in hasFnAttrImpl()
358 if (AttributeList.hasAttribute(i, A)) in paramHasAttr()
578 if (AttributeList.hasAttribute(AttributeSet::FunctionIndex, A)) in hasFnAttrImpl()
586 if (AttributeList.hasAttribute(i, A)) in paramHasAttr()
/trueos/contrib/llvm/tools/clang/lib/Parse/
HDParseDecl.cpp167 0, SourceLocation(), AttributeList::AS_GNU); in ParseGNUAttributes()
171 AttributeList::AS_GNU); in ParseGNUAttributes()
234 AttrNameLoc, T.get(), AttributeList::AS_GNU); in ParseAttributeWithTypeArg()
237 0, AttrNameLoc, 0, 0, AttributeList::AS_GNU); in ParseAttributeWithTypeArg()
248 AttributeList::Syntax Syntax) { in ParseGNUAttributeArgs()
252 AttributeList::Kind AttrKind = in ParseGNUAttributeArgs()
253 AttributeList::getKind(AttrName, ScopeName, Syntax); in ParseGNUAttributeArgs()
258 if (AttrKind == AttributeList::AT_Availability) { in ParseGNUAttributeArgs()
270 if (AttrKind == AttributeList::AT_TypeTagForDatatype) { in ParseGNUAttributeArgs()
291 if (AttrKind == AttributeList::UnknownAttribute || in ParseGNUAttributeArgs()
[all …]
HDParseDeclCXX.cpp1001 AttributeList::AS_GNU); in ParseMicrosoftInheritanceClassAttributes()
1951 AttributeList *AccessAttrs, in ParseCXXClassMemberDeclaration()
3183 switch (AttributeList::getKind(AttrName, ScopeName, in IsBuiltInOrStandardCXX11Attribute()
3184 AttributeList::AS_CXX11)) { in IsBuiltInOrStandardCXX11Attribute()
3185 case AttributeList::AT_CarriesDependency: in IsBuiltInOrStandardCXX11Attribute()
3186 case AttributeList::AT_FallThrough: in IsBuiltInOrStandardCXX11Attribute()
3187 case AttributeList::AT_CXX11NoReturn: { in IsBuiltInOrStandardCXX11Attribute()
3294 ScopeName, ScopeLoc, AttributeList::AS_CXX11); in ParseCXX11AttributeSpecifier()
3311 ScopeName, ScopeLoc, 0, 0, AttributeList::AS_CXX11); in ParseCXX11AttributeSpecifier()
HDParseTemplate.cpp30 AttributeList *AccessAttrs) { in ParseDeclarationStartingWithTemplate()
63 AttributeList *AccessAttrs) { in ParseTemplateDeclarationOrSpecialization()
170 AttributeList *AccessAttrs) { in ParseSingleDeclarationAfterTemplate()
HDParseObjc.cpp856 AttributeList *list) { in takeDeclAttributes()
858 AttributeList *cur = list; in takeDeclAttributes()
884 const_cast<AttributeList*>(D.getTypeObject(i).getAttrs())); in takeDeclAttributes()
HDParseCXXInlineMethods.cpp33 AttributeList *AccessAttrs, in ParseCXXInlineMethodDef()
/trueos/lib/clang/libclangsema/
HDMakefile9 AttributeList.cpp \
/trueos/contrib/llvm/include/llvm/IR/
HDModule.h324 AttributeSet AttributeList);
336 AttributeSet AttributeList,
HDInstructions.h1162 AttributeSet AttributeList; ///< parameter attributes for call
1260 const AttributeSet &getAttributes() const { return AttributeList; }
1264 void setAttributes(const AttributeSet &Attrs) { AttributeList = Attrs; }
1284 return AttributeList.getParamAlignment(i);
1351 return AttributeList.hasAttrSomewhere(Attribute::ByVal);
2842 AttributeSet AttributeList;
2903 const AttributeSet &getAttributes() const { return AttributeList; }
2907 void setAttributes(const AttributeSet &Attrs) { AttributeList = Attrs; }
2927 return AttributeList.getParamAlignment(i);
2982 return AttributeList.hasAttrSomewhere(Attribute::ByVal);
/trueos/contrib/llvm/tools/clang/include/clang/Parse/
HDParser.h1092 AttributeList *AccessAttrs,
1934 AttributeList::Syntax Syntax);
2157 void ParseCXXClassMemberDeclaration(AccessSpecifier AS, AttributeList *Attr,
2241 AttributeList *AccessAttrs = 0);
2245 AttributeList *AccessAttrs);
2252 AttributeList *AccessAttrs = 0);
/trueos/contrib/llvm/tools/clang/lib/CodeGen/
HDCGCall.cpp2493 CodeGen::AttributeListType AttributeList; in EmitCall() local
2494 CGM.ConstructAttributeList(CallInfo, TargetDecl, AttributeList, in EmitCall()
2497 AttributeList); in EmitCall()

12