Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DAttributeList.cpp33 size_t AttributeList::allocated_size() const { in allocated_size()
39 return (sizeof(AttributeList) + NumArgs * sizeof(ArgsUnion)); in allocated_size()
49 assert(size >= sizeof(AttributeList)); in getFreeListIndexForSize()
51 return ((size - sizeof(AttributeList)) / sizeof(void*)); in getFreeListIndexForSize()
58 if (AttributeList *attr = FreeLists[index]) { in allocate()
68 void AttributeFactory::reclaimPool(AttributeList *cur) { in reclaimPool()
73 AttributeList *next = cur->NextInPool; in reclaimPool()
90 void AttributePool::takePool(AttributeList *pool) { in takePool()
102 AttributeList *next = pool->NextInPool; in takePool()
111 AttributeList::Kind AttributeList::getKind(const IdentifierInfo *Name, in getKind()
[all …]
DSemaDeclAttr.cpp146 static unsigned getNumAttributeArgs(const AttributeList &Attr) { in getNumAttributeArgs()
153 static bool checkAttributeNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeNumArgs()
166 static bool checkAttributeAtLeastNumArgs(Sema &S, const AttributeList &Attr, in checkAttributeAtLeastNumArgs()
179 static bool checkUInt32Argument(Sema &S, const AttributeList &Attr, in checkUInt32Argument()
203 const AttributeList &Attr) { in checkAttrMutualExclusion()
217 const AttributeList &Attr, in checkFunctionOrMethodParameterIndex()
264 bool Sema::checkStringLiteralArgumentAttr(const AttributeList &Attr, in checkStringLiteralArgumentAttr()
300 const AttributeList &Attr) { in handleSimpleAttribute()
332 const AttributeList &Attr) { in threadSafetyCheckIsPointer()
454 const AttributeList &Attr, in checkAttrArgsAreCapabilityObjs()
[all …]
DSemaType.cpp64 static void diagnoseBadTypeAttribute(Sema &S, const AttributeList &attr, in diagnoseBadTypeAttribute()
69 case AttributeList::AT_ObjCGC: WhichType = TDS_Pointer; break; in diagnoseBadTypeAttribute()
70 case AttributeList::AT_ObjCOwnership: WhichType = TDS_ObjCObjOrBlock; break; in diagnoseBadTypeAttribute()
99 case AttributeList::AT_ObjCGC: \
100 case AttributeList::AT_ObjCOwnership
104 case AttributeList::AT_NoReturn: \
105 case AttributeList::AT_CDecl: \
106 case AttributeList::AT_FastCall: \
107 case AttributeList::AT_StdCall: \
108 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()
197 static Attr *ProcessStmtAttribute(Sema &S, Stmt *St, const AttributeList &A, in ProcessStmtAttribute()
200 case AttributeList::UnknownAttribute: in ProcessStmtAttribute()
205 case AttributeList::AT_FallThrough: in ProcessStmtAttribute()
207 case AttributeList::AT_LoopHint: in ProcessStmtAttribute()
218 StmtResult Sema::ProcessStmtAttributes(Stmt *S, AttributeList *AttrList, in ProcessStmtAttributes()
221 for (const AttributeList* l = AttrList; l; l = l->getNext()) { in ProcessStmtAttributes()
DCMakeLists.txt7 AttributeList.cpp
DAndroid.mk30 AttributeList.cpp \
/external/clang/include/clang/Sema/
DAttributeList.h72 class AttributeList { // TODO: This should really be called ParsedAttribute
132 AttributeList *NextInPosition;
135 AttributeList *NextInPool;
207 AttributeList(const AttributeList &) LLVM_DELETED_FUNCTION;
208 void operator=(const AttributeList &) LLVM_DELETED_FUNCTION;
210 ~AttributeList() LLVM_DELETED_FUNCTION;
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.h709 void addAttributes(AttributeList *AL) { in addAttributes()
1057 AttributeList *AttrList;
1367 const AttributeList *getAttrs() const { in getAttrs()
1371 AttributeList *&getAttrListRef() { in getAttrListRef()
2041 const AttributeList *getAttributes() const { return Attrs.getList(); } in getAttributes()
2042 AttributeList *getAttributes() { return Attrs.getList(); } in getAttributes()
2044 AttributeList *&getAttrListRef() { return Attrs.getListRef(); } in getAttrListRef()
2058 AttributeList *AttrList = Attrs.getList(); in getCXX11AttributeRanges()
DSema.h72 class AttributeList; variable
1711 AttributeList *AttrList,
1780 AttributeList *Attr, AccessSpecifier AS,
1792 AttributeList *Attr,
1818 AttributeList *MSPropertyAttr);
1844 AttributeList *AttrList);
1890 AttributeList *Attrs,
1895 Scope *S, AttributeList *Attr);
2686 void ProcessDeclAttributeList(Scope *S, Decl *D, const AttributeList *AL,
2689 const AttributeList *AttrList);
[all …]
/external/clang/patches/
D0003-Add-support-for-RenderScript-specific-options.patch86 +static void handleKernelAttr(Sema &S, Decl *D, const AttributeList &Attr) {
96 static void handleMallocAttr(Sema &S, Decl *D, const AttributeList &Attr) {
100 case AttributeList::AT_CUDALaunchBounds:
103 + case AttributeList::AT_Kernel:
106 case AttributeList::AT_Malloc:
/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/chromium_org/third_party/WebKit/Source/core/html/parser/
DHTMLMetaCharsetParser.cpp56 const HTMLToken::AttributeList& tokenAttributes = m_token.attributes(); in processMeta()
58 …for (HTMLToken::AttributeList::const_iterator iter = tokenAttributes.begin(); iter != tokenAttribu… in processMeta()
DHTMLToken.h90 typedef Vector<Attribute, 10> AttributeList; typedef
351 const AttributeList& attributes() const in attributes()
447 AttributeList m_attributes;
DAtomicHTMLToken.h201 void initializeAttributes(const HTMLToken::AttributeList& attributes);
223 inline void AtomicHTMLToken::initializeAttributes(const HTMLToken::AttributeList& attributes) in initializeAttributes()
/external/llvm/lib/IR/
DModule.cpp99 AttributeSet AttributeList) { in getOrInsertFunction() argument
106 New->setAttributes(AttributeList); in getOrInsertFunction()
131 AttributeSet AttributeList, in getOrInsertFunction() argument
146 AttributeList); in getOrInsertFunction()
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom/parse/
Dast.py111 class AttributeList(NodeListBase): class
194 assert attribute_list is None or isinstance(attribute_list, AttributeList)
240 assert attribute_list is None or isinstance(attribute_list, AttributeList)
316 assert attribute_list is None or isinstance(attribute_list, AttributeList)
Dparser.py126 p[0] = ast.AttributeList()
134 p[0] = ast.AttributeList(p[1])
/external/clang/lib/Parse/
DParseDecl.cpp154 AttributeList::AS_GNU); in ParseGNUAttributes()
161 SourceLocation(), AttributeList::AS_GNU, D); in ParseGNUAttributes()
258 nullptr, AttrNameLoc, T.get(), AttributeList::AS_GNU); in ParseAttributeWithTypeArg()
261 nullptr, AttrNameLoc, nullptr, 0, AttributeList::AS_GNU); in ParseAttributeWithTypeArg()
267 SourceLocation ScopeLoc, AttributeList::Syntax Syntax) { in ParseAttributeArgsCommon()
275 AttributeList::Kind AttrKind = in ParseAttributeArgsCommon()
276 AttributeList::getKind(AttrName, ScopeName, Syntax); in ParseAttributeArgsCommon()
280 if (AttrKind == AttributeList::UnknownAttribute || in ParseAttributeArgsCommon()
281 AttrKind == AttributeList::IgnoredAttribute) { in ParseAttributeArgsCommon()
333 AttributeList::Syntax Syntax, in ParseGNUAttributeArgs()
[all …]
DParseDeclCXX.cpp1045 AttributeList::AS_Keyword); in ParseMicrosoftInheritanceClassAttributes()
2004 AttributeList *AccessAttrs, in ParseCXXClassMemberDeclaration()
3201 switch (AttributeList::getKind(AttrName, ScopeName, in IsBuiltInOrStandardCXX11Attribute()
3202 AttributeList::AS_CXX11)) { in IsBuiltInOrStandardCXX11Attribute()
3203 case AttributeList::AT_CarriesDependency: in IsBuiltInOrStandardCXX11Attribute()
3204 case AttributeList::AT_Deprecated: in IsBuiltInOrStandardCXX11Attribute()
3205 case AttributeList::AT_FallThrough: in IsBuiltInOrStandardCXX11Attribute()
3206 case AttributeList::AT_CXX11NoReturn: { in IsBuiltInOrStandardCXX11Attribute()
3252 ScopeLoc, AttributeList::AS_CXX11, nullptr); in ParseCXX11AttributeArgs()
3256 ScopeName, ScopeLoc, AttributeList::AS_CXX11); in ParseCXX11AttributeArgs()
[all …]
/external/llvm/docs/TableGen/
DBackEnds.rst293 ``AttributeList::getAttributeSpellingListIndex``.
312 ``AttributeList::Kind`` parsed attribute enumeration.
318 ``AttributeList.cpp`` to implement several functions on the ``AttributeList``
326 ``AttributeList::getKind`` function, mapping a string (and syntax) to a parsed
327 attribute ``AttributeList::Kind`` enumeration.
/external/chromium_org/sandbox/win/src/
Dtarget_process.h27 class AttributeList; variable
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom_tests/parse/
Dparser_unittest.py859 [ast.Struct('MyStruct', ast.AttributeList(), ast.StructBody())])
869 ast.AttributeList(ast.Attribute("MyAttribute", "MyName")),
880 ast.AttributeList([ast.Attribute("MyAttribute1", "hello"),
/external/llvm/include/llvm/IR/
DModule.h330 AttributeSet AttributeList);
341 AttributeSet AttributeList,
/external/tagsoup/src/org/ccil/cowan/tagsoup/jaxp/
DSAX1ParserAdapter.java191 implements AttributeList
/external/clang/include/clang/Parse/
DParser.h1175 AttributeList *AccessAttrs,
2029 AttributeList::Syntax Syntax);
2056 AttributeList::Syntax Syntax,
2287 void ParseCXXClassMemberDeclaration(AccessSpecifier AS, AttributeList *Attr,
2382 AttributeList *AccessAttrs = nullptr);
2386 AttributeList *AccessAttrs);
2393 AttributeList *AccessAttrs = nullptr);

12