Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DAttributeList.cpp34 size_t AttributeList::allocated_size() const { in allocated_size()
40 return (sizeof(AttributeList) + NumArgs * sizeof(ArgsUnion)); in allocated_size()
50 assert(size >= sizeof(AttributeList)); in getFreeListIndexForSize()
52 return ((size - sizeof(AttributeList)) / sizeof(void*)); in getFreeListIndexForSize()
59 if (AttributeList *attr = FreeLists[index]) { in allocate()
69 void AttributeFactory::reclaimPool(AttributeList *cur) { in reclaimPool()
74 AttributeList *next = cur->NextInPool; in reclaimPool()
91 void AttributePool::takePool(AttributeList *pool) { in takePool()
103 AttributeList *next = pool->NextInPool; in takePool()
113 AttributeList::Syntax SyntaxUsed) { in normalizeAttrName()
[all …]
DSemaDeclAttr.cpp171 static unsigned getNumAttributeArgs(const AttributeList &Attr) { in getNumAttributeArgs()
177 static bool checkAttributeNumArgsImpl(Sema &S, const AttributeList &Attr, in checkAttributeNumArgsImpl()
190 static bool checkAttributeNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeNumArgs()
199 static bool checkAttributeAtLeastNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeAtLeastNumArgs()
208 static bool checkAttributeAtMostNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeAtMostNumArgs()
217 static bool checkUInt32Argument(Sema &S, const AttributeList &Attr, in checkUInt32Argument()
263 const AttributeList &Attr, in checkFunctionOrMethodParameterIndex()
310 bool Sema::checkStringLiteralArgumentAttr(const AttributeList &Attr, in checkStringLiteralArgumentAttr()
346 const AttributeList &Attr) { in handleSimpleAttribute()
378 const AttributeList &Attr) { in threadSafetyCheckIsPointer()
[all …]
DSemaType.cpp65 static void diagnoseBadTypeAttribute(Sema &S, const AttributeList &attr, in diagnoseBadTypeAttribute()
70 case AttributeList::AT_ObjCGC: WhichType = TDS_Pointer; break; in diagnoseBadTypeAttribute()
71 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 …]
DSemaStmtAttr.cpp26 static Attr *handleFallThroughAttr(Sema &S, Stmt *St, const AttributeList &A, in handleFallThroughAttr()
46 static Attr *handleLoopHintAttr(Sema &S, Stmt *St, const AttributeList &A, in handleLoopHintAttr()
207 static Attr *ProcessStmtAttribute(Sema &S, Stmt *St, const AttributeList &A, in ProcessStmtAttribute()
210 case AttributeList::UnknownAttribute: in ProcessStmtAttribute()
215 case AttributeList::AT_FallThrough: in ProcessStmtAttribute()
217 case AttributeList::AT_LoopHint: in ProcessStmtAttribute()
228 StmtResult Sema::ProcessStmtAttributes(Stmt *S, AttributeList *AttrList, in ProcessStmtAttributes()
231 for (const AttributeList* l = AttrList; l; l = l->getNext()) { in ProcessStmtAttributes()
DCMakeLists.txt7 AttributeList.cpp
DAndroid.mk27 AttributeList.cpp \
DSemaDeclCXX.cpp1498 for (AttributeList *Attr = Attributes.getList(); Attr; in ActOnBaseSpecifier()
1501 Attr->getKind() == AttributeList::IgnoredAttribute) in ActOnBaseSpecifier()
1504 Attr->getKind() == AttributeList::UnknownAttribute in ActOnBaseSpecifier()
1861 AttributeList *Attrs) { in ActOnAccessSpecifier()
1989 static AttributeList *getMSPropertyAttr(AttributeList *list) { in getMSPropertyAttr()
1990 for (AttributeList *it = list; it != nullptr; it = it->getNext()) in getMSPropertyAttr()
2181 AttributeList *MSPropertyAttr = in ActOnCXXMemberDeclarator()
6421 AttributeList *AttrList) { in ActOnFinishCXXMemberSpecification()
6427 for (const AttributeList* l = AttrList; l; l = l->getNext()) { in ActOnFinishCXXMemberSpecification()
6428 if (l->getKind() != AttributeList::AT_Visibility) in ActOnFinishCXXMemberSpecification()
[all …]
/external/clang/include/clang/Sema/
DAttributeList.h72 class AttributeList { // TODO: This should really be called ParsedAttribute
134 AttributeList *NextInPosition;
137 AttributeList *NextInPool;
207 AttributeList(const AttributeList &) = delete;
208 void operator=(const AttributeList &) = delete;
210 ~AttributeList() = delete;
215 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList() function
229 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList() function
252 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList() function
272 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, in AttributeList() function
[all …]
DDeclSpec.h726 void addAttributes(AttributeList *AL) { in addAttributes()
1099 AttributeList *AttrList;
1436 const AttributeList *getAttrs() const { in getAttrs()
1440 AttributeList *&getAttrListRef() { in getAttrListRef()
2132 const AttributeList *getAttributes() const { return Attrs.getList(); } in getAttributes()
2133 AttributeList *getAttributes() { return Attrs.getList(); } in getAttributes()
2135 AttributeList *&getAttrListRef() { return Attrs.getListRef(); } in getAttrListRef()
2149 AttributeList *AttrList = Attrs.getList(); in getCXX11AttributeRanges()
DSema.h72 class AttributeList; variable
1799 AttributeList *AttrList,
1893 AttributeList *Attr, AccessSpecifier AS,
1905 AttributeList *Attr,
1931 AttributeList *MSPropertyAttr);
1957 AttributeList *AttrList);
2017 AttributeList *Attrs,
2022 Scope *S, AttributeList *Attr);
2926 void ProcessDeclAttributeList(Scope *S, Decl *D, const AttributeList *AL,
2929 const AttributeList *AttrList);
[all …]
/external/clang/test/Index/
Drecursive-cxx-member-calls.cpp12 class AttributeList { class
100 AttributeList::Kind AttributeList::getKind(const IdentifierInfo * Name) { in getKind()
105 return llvm::StringSwitch < AttributeList::Kind > (AttrName) in getKind()
/external/jetty/src/java/org/eclipse/jetty/jmx/
DObjectMBean.java38 import javax.management.AttributeList;
372 public AttributeList getAttributes(String[] names) in getAttributes()
374 AttributeList results = new AttributeList(names.length); in getAttributes()
440 public AttributeList setAttributes(AttributeList attrs) in setAttributes()
444 AttributeList results = new AttributeList(attrs.size()); in setAttributes()
/external/google-breakpad/src/common/dwarf/
Ddwarf2reader.h63 AttributeList; typedef
64 typedef AttributeList::iterator AttributeIterator;
65 typedef AttributeList::const_iterator ConstAttributeIterator;
248 AttributeList attributes;
/external/llvm/lib/IR/
DModule.cpp120 AttributeSet AttributeList) { in getOrInsertFunction() argument
127 New->setAttributes(AttributeList); in getOrInsertFunction()
152 AttributeSet AttributeList, in getOrInsertFunction() argument
167 AttributeList); in getOrInsertFunction()
/external/clang/lib/Parse/
DParseDecl.cpp157 AttributeList::AS_GNU); in ParseGNUAttributes()
164 SourceLocation(), AttributeList::AS_GNU, D); in ParseGNUAttributes()
247 AttributeList::Syntax Syntax) { in ParseAttributeWithTypeArg()
273 SourceLocation ScopeLoc, AttributeList::Syntax Syntax) { in ParseAttributeArgsCommon()
281 AttributeList::Kind AttrKind = in ParseAttributeArgsCommon()
282 AttributeList::getKind(AttrName, ScopeName, Syntax); in ParseAttributeArgsCommon()
286 if (AttrKind == AttributeList::UnknownAttribute || in ParseAttributeArgsCommon()
287 AttrKind == AttributeList::IgnoredAttribute) { in ParseAttributeArgsCommon()
340 AttributeList::Syntax Syntax, in ParseGNUAttributeArgs()
345 AttributeList::Kind AttrKind = in ParseGNUAttributeArgs()
[all …]
DParseDeclCXX.cpp1075 AttributeList::AS_Keyword); in ParseMicrosoftInheritanceClassAttributes()
2125 const AttributeList *Attr = DeclaratorInfo.getAttributes(); in ParseCXXMemberDeclaratorBeforeInitializer()
2245 AttributeList *AccessAttrs, in ParseCXXClassMemberDeclaration()
3625 switch (AttributeList::getKind(AttrName, ScopeName, in IsBuiltInOrStandardCXX11Attribute()
3626 AttributeList::AS_CXX11)) { in IsBuiltInOrStandardCXX11Attribute()
3627 case AttributeList::AT_CarriesDependency: in IsBuiltInOrStandardCXX11Attribute()
3628 case AttributeList::AT_Deprecated: in IsBuiltInOrStandardCXX11Attribute()
3629 case AttributeList::AT_FallThrough: in IsBuiltInOrStandardCXX11Attribute()
3630 case AttributeList::AT_CXX11NoReturn: in IsBuiltInOrStandardCXX11Attribute()
3675 ScopeLoc, AttributeList::AS_CXX11, nullptr); in ParseCXX11AttributeArgs()
[all …]
DParseTemplate.cpp31 AttributeList *AccessAttrs) { in ParseDeclarationStartingWithTemplate()
64 AttributeList *AccessAttrs) { in ParseTemplateDeclarationOrSpecialization()
177 AttributeList *AccessAttrs) { in ParseSingleDeclarationAfterTemplate()
/external/llvm/docs/TableGen/
DBackEnds.rst292 ``AttributeList::getAttributeSpellingListIndex``.
311 ``AttributeList::Kind`` parsed attribute enumeration.
317 ``AttributeList.cpp`` to implement several functions on the ``AttributeList``
325 ``AttributeList::getKind`` function, mapping a string (and syntax) to a parsed
326 attribute ``AttributeList::Kind`` enumeration.
/external/clang/include/clang/Parse/
DParser.h1187 AttributeList *AccessAttrs,
2092 AttributeList::Syntax Syntax);
2119 AttributeList::Syntax Syntax,
2195 AttributeList::Syntax Syntax);
2203 AttributeList::Syntax Syntax);
2211 AttributeList::Syntax Syntax);
2219 AttributeList::Syntax Syntax);
2395 AccessSpecifier AS, AttributeList *Attr,
2500 AttributeList *AccessAttrs = nullptr);
2504 AttributeList *AccessAttrs);
[all …]
/external/llvm/include/llvm/IR/
DInstructions.h1364 AttributeSet AttributeList; ///< parameter attributes for call
1603 const AttributeSet &getAttributes() const { return AttributeList; }
1607 void setAttributes(const AttributeSet &Attrs) { AttributeList = Attrs; }
1657 return AttributeList.getParamAlignment(i);
1663 return AttributeList.getDereferenceableBytes(i);
1669 return AttributeList.getDereferenceableOrNullBytes(i);
1676 return AttributeList.hasAttribute(n, Attribute::NoAlias);
1761 return AttributeList.hasAttrSomewhere(Attribute::ByVal);
1804 if (AttributeList.hasAttribute(AttributeSet::FunctionIndex, A))
3334 AttributeSet AttributeList;
[all …]
DModule.h310 AttributeSet AttributeList);
321 AttributeSet AttributeList,
/external/tagsoup/src/org/ccil/cowan/tagsoup/jaxp/
DSAX1ParserAdapter.java191 implements AttributeList
/external/clang/lib/CodeGen/
DCGVTables.cpp380 CodeGen::AttributeListType AttributeList; in EmitMustTailThunk() local
381 CGM.ConstructAttributeList(*CurFnInfo, MD, AttributeList, CallingConv, in EmitMustTailThunk()
384 llvm::AttributeSet::get(getLLVMContext(), AttributeList); in EmitMustTailThunk()
/external/llvm/docs/
DHowToUseAttributes.rst44 The ``AttributeSet`` class replaces the old ``AttributeList`` class. The
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/pyasn1_modules/
Drfc2251.py223 class AttributeList(univ.SequenceOf): class
232 namedtype.NamedType('attributes', AttributeList())

12