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

12

/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DTargetAttributesSema.h16 class AttributeList;
23 const AttributeList &Attr, Sema &S) const;
H A DAttributeList.cpp1 //===--- AttributeList.cpp --------------------------------------*- C++ -*-===//
10 // This file defines the AttributeList class implementation
14 #include "clang/Sema/AttributeList.h"
30 size_t AttributeList::allocated_size() const {
36 return (sizeof(AttributeList) + NumArgs * sizeof(ArgsUnion));
46 assert(size >= sizeof(AttributeList));
48 return ((size - sizeof(AttributeList)) / sizeof(void*));
55 if (AttributeList *attr = FreeLists[index]) {
65 void AttributeFactory::reclaimPool(AttributeList *cur) {
70 AttributeList *nex
[all...]
H A DSemaStmtAttr.cpp27 static Attr *handleFallThroughAttr(Sema &S, Stmt *St, const AttributeList &A,
48 static Attr *ProcessStmtAttribute(Sema &S, Stmt *St, const AttributeList &A,
51 case AttributeList::UnknownAttribute:
56 case AttributeList::AT_FallThrough:
67 StmtResult Sema::ProcessStmtAttributes(Stmt *S, AttributeList *AttrList,
70 for (const AttributeList* l = AttrList; l; l = l->getNext()) {
H A DSemaDeclAttr.cpp212 static unsigned getNumAttributeArgs(const AttributeList &Attr) {
219 static bool checkAttributeNumArgs(Sema &S, const AttributeList &Attr,
233 static bool checkAttributeAtLeastNumArgs(Sema &S, const AttributeList &Attr,
297 bool Sema::checkStringLiteralArgumentAttr(const AttributeList &Attr,
369 const AttributeList &Attr) {
420 static void checkForLockableRecord(Sema &S, Decl *D, const AttributeList &Attr,
462 const AttributeList &Attr,
544 const AttributeList &Attr) {
555 static void handleGuardedVarAttr(Sema &S, Decl *D, const AttributeList &Attr) {
565 const AttributeList
[all...]
H A DTargetAttributesSema.cpp25 const AttributeList &Attr, Sema &S) const {
30 const AttributeList &Attr, Sema &S) {
63 const AttributeList &Attr, Sema &S) const {
74 const AttributeList &Attr, Sema &S) {
110 const AttributeList &Attr, Sema &S) const {
121 const AttributeList& Attr,
175 static void HandleDLLImportAttr(Decl *D, const AttributeList &Attr, Sema &S) {
222 static void HandleDLLExportAttr(Decl *D, const AttributeList &Attr, Sema &S) {
257 const AttributeList &Attr, Sema &S) const {
262 case AttributeList
[all...]
H A DSemaType.cpp66 static void diagnoseBadTypeAttribute(Sema &S, const AttributeList &attr,
71 case AttributeList::AT_ObjCGC: WhichType = TDS_Pointer; break;
72 case AttributeList::AT_ObjCOwnership: WhichType = TDS_ObjCObjOrBlock; break;
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
[all...]
H A DDeclSpec.cpp895 AttributeList* attrs = getAttributes().getList();
897 if (attrs->getKind() == AttributeList::AT_Mode) {
H A DSemaDeclCXX.cpp1428 for (AttributeList *Attr = Attributes.getList(); Attr;
1431 Attr->getKind() == AttributeList::IgnoredAttribute)
1434 Attr->getKind() == AttributeList::UnknownAttribute
1739 AttributeList *Attrs) {
1843 static AttributeList *getMSPropertyAttr(AttributeList *list) {
1844 for (AttributeList* it = list; it != 0; it = it->getNext())
2029 AttributeList *MSPropertyAttr =
5857 AttributeList *AttrList) {
5863 for (const AttributeList*
[all...]
H A DSemaDeclObjC.cpp448 SourceLocation EndProtoLoc, AttributeList *AttrList) {
698 AttributeList *AttrList) {
831 AttributeList *attrList) {
3093 AttributeList *AttrList, tok::ObjCKeywordKind MethodDeclKind,
H A DSemaTemplate.cpp843 AttributeList *Attr,
5778 AttributeList *Attr,
6902 AttributeList *Attr) {
7097 AttributeList *Attr) {
7395 if (AttributeList *Attr = D.getDeclSpec().getAttributes().getList())
7518 AttributeList *Attr = D.getDeclSpec().getAttributes().getList();
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DAttributeList.h1 //===--- AttributeList.h - Parsed attribute sets ----------------*- C++ -*-===//
10 // This file defines the AttributeList class, which is used to collect
58 /// AttributeList as an argument.
62 /// AttributeList - Represents a syntactic attribute.
71 class AttributeList { // TODO: This should really be called ParsedAttribute class in namespace:clang
129 AttributeList *NextInPosition;
132 AttributeList *NextInPool;
204 AttributeList(const AttributeList &) LLVM_DELETED_FUNCTION;
205 void operator=(const AttributeList
212 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, function in class:clang::AttributeList
226 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, function in class:clang::AttributeList
249 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, function in class:clang::AttributeList
268 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, function in class:clang::AttributeList
281 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, function in class:clang::AttributeList
[all...]
H A DDeclSpec.h32 #include "clang/Sema/AttributeList.h"
707 void addAttributes(AttributeList *AL) {
710 void setAttributes(AttributeList *AL) {
1064 AttributeList *AttrList;
1371 const AttributeList *getAttrs() const {
1375 AttributeList *&getAttrListRef() {
2045 const AttributeList *getAttributes() const { return Attrs.getList(); }
2046 AttributeList *getAttributes() { return Attrs.getList(); }
2048 AttributeList *&getAttrListRef() { return Attrs.getListRef(); }
2062 AttributeList *AttrLis
[all...]
H A DSema.h70 class AttributeList;
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 *AttrLis
[all...]
/freebsd-9.3-release/lib/clang/libclangsema/
H A DMakefile9 AttributeList.cpp \
/freebsd-9.3-release/contrib/llvm/lib/IR/
H A DModule.cpp140 AttributeSet AttributeList) {
147 New->setAttributes(AttributeList);
182 AttributeSet AttributeList,
197 AttributeList);
138 getOrInsertFunction(StringRef Name, FunctionType *Ty, AttributeSet AttributeList) argument
181 getOrInsertFunction(StringRef Name, AttributeSet AttributeList, Type *RetTy, ...) argument
H A DInstructions.cpp350 if (AttributeList.hasAttribute(AttributeSet::FunctionIndex, A))
358 if (AttributeList.hasAttribute(i, A))
578 if (AttributeList.hasAttribute(AttributeSet::FunctionIndex, A))
586 if (AttributeList.hasAttribute(i, A))
/freebsd-9.3-release/contrib/llvm/include/llvm/IR/
H A DModule.h324 AttributeSet AttributeList);
336 AttributeSet AttributeList,
H A DInstructions.h1162 AttributeSet AttributeList; ///< parameter attributes for call member in class:llvm::CallInst
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; member in class:llvm::InvokeInst
2903 const AttributeSet &getAttributes() const { return AttributeList; }
2907 void setAttributes(const AttributeSet &Attrs) { AttributeList = Attrs; }
2927 return AttributeList.getParamAlignment(i);
2982 return AttributeList
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Parse/
H A DParseDecl.cpp167 0, SourceLocation(), AttributeList::AS_GNU);
171 AttributeList::AS_GNU);
234 AttrNameLoc, T.get(), AttributeList::AS_GNU);
237 0, AttrNameLoc, 0, 0, AttributeList::AS_GNU);
248 AttributeList::Syntax Syntax) {
252 AttributeList::Kind AttrKind =
253 AttributeList::getKind(AttrName, ScopeName, Syntax);
258 if (AttrKind == AttributeList::AT_Availability) {
270 if (AttrKind == AttributeList::AT_TypeTagForDatatype) {
291 if (AttrKind == AttributeList
[all...]
H A DParseTemplate.cpp30 AttributeList *AccessAttrs) {
63 AttributeList *AccessAttrs) {
170 AttributeList *AccessAttrs) {
H A DParseDeclCXX.cpp1001 AttributeList::AS_GNU);
1951 AttributeList *AccessAttrs,
3183 switch (AttributeList::getKind(AttrName, ScopeName,
3184 AttributeList::AS_CXX11)) {
3185 case AttributeList::AT_CarriesDependency:
3186 case AttributeList::AT_FallThrough:
3187 case AttributeList::AT_CXX11NoReturn: {
3294 ScopeName, ScopeLoc, AttributeList::AS_CXX11);
3311 ScopeName, ScopeLoc, 0, 0, AttributeList::AS_CXX11);
H A DParseObjc.cpp856 AttributeList *list) {
858 AttributeList *cur = list;
884 const_cast<AttributeList*>(D.getTypeObject(i).getAttrs()));
H A DParseCXXInlineMethods.cpp33 AttributeList *AccessAttrs,
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Parse/
H A DParser.h199 /// Factory object for creating AttributeList objects.
1092 AttributeList *AccessAttrs,
1934 AttributeList::Syntax Syntax);
2157 void ParseCXXClassMemberDeclaration(AccessSpecifier AS, AttributeList *Attr,
2241 AttributeList *AccessAttrs = 0);
2245 AttributeList *AccessAttrs);
2252 AttributeList *AccessAttrs = 0);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGCall.cpp2493 CodeGen::AttributeListType AttributeList; local
2494 CGM.ConstructAttributeList(CallInfo, TargetDecl, AttributeList,
2497 AttributeList);

Completed in 831 milliseconds

12