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

12

/external/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"
20 size_t AttributeList::allocated_size() const {
22 return (sizeof(AttributeList) + NumArgs * sizeof(Expr*));
32 assert(size >= sizeof(AttributeList));
34 return ((size - sizeof(AttributeList)) / sizeof(void*));
41 if (AttributeList *attr = FreeLists[index]) {
51 void AttributeFactory::reclaimPool(AttributeList *cur) {
56 AttributeList *nex
[all...]
H A DSemaStmtAttr.cpp25 static Attr *ProcessStmtAttribute(Sema &S, Stmt *St, const AttributeList &A) {
36 StmtResult Sema::ProcessStmtAttributes(Stmt *S, AttributeList *AttrList,
39 for (const AttributeList* l = AttrList; l; l = l->getNext()) {
H A DTargetAttributesSema.cpp25 const AttributeList &Attr, Sema &S) const {
30 const AttributeList &Attr, Sema &S) {
64 const AttributeList &Attr, Sema &S) const {
74 static void HandleMBlazeInterruptHandlerAttr(Decl *d, const AttributeList &Attr,
89 static void HandleMBlazeSaveVolatilesAttr(Decl *d, const AttributeList &Attr,
109 bool ProcessDeclAttribute(Scope *scope, Decl *D, const AttributeList &Attr,
124 const AttributeList& Attr,
154 static void HandleDLLImportAttr(Decl *D, const AttributeList &Attr, Sema &S) {
187 for (AttributeList *nextAttr = Attr.getNext(); nextAttr;
189 if (nextAttr->getKind() == AttributeList
[all...]
H A DSemaDeclAttr.cpp199 static bool checkAttributeNumArgs(Sema &S, const AttributeList &Attr,
212 static bool checkAttributeAtLeastNumArgs(Sema &S, const AttributeList &Attr,
246 static bool checkIsPointer(Sema &S, const Decl *D, const AttributeList &Attr) {
275 static void checkForLockableRecord(Sema &S, Decl *D, const AttributeList &Attr,
302 const AttributeList &Attr,
353 static void handleGuardedVarAttr(Sema &S, Decl *D, const AttributeList &Attr,
376 static void handleGuardedByAttr(Sema &S, Decl *D, const AttributeList &Attr,
407 static void handleLockableAttr(Sema &S, Decl *D, const AttributeList &Attr,
428 const AttributeList &Attr) {
445 const AttributeList
[all...]
H A DSemaType.cpp56 static void diagnoseBadTypeAttribute(Sema &S, const AttributeList &attr,
62 case AttributeList::AT_objc_gc:
67 case AttributeList::AT_objc_ownership:
96 case AttributeList::AT_objc_gc: \
97 case AttributeList::AT_objc_ownership
101 case AttributeList::AT_noreturn: \
102 case AttributeList::AT_cdecl: \
103 case AttributeList::AT_fastcall: \
104 case AttributeList::AT_stdcall: \
105 case AttributeList
[all...]
H A DAndroid.mk24 AttributeList.cpp \
H A DDeclSpec.cpp757 AttributeList* attrs = getAttributes().getList();
759 if (attrs->getKind() == AttributeList::AT_mode) {
/external/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
46 /// AttributeList - Represents GCC's __attribute__ declaration. There are
54 class AttributeList { // TODO: This should really be called ParsedAttribute class in namespace:clang
92 AttributeList *NextInPosition;
95 AttributeList *NextInPool;
115 AttributeList(const AttributeList &); // DO NOT IMPLEMENT
116 void operator=(const AttributeList &); // DO NOT IMPLEMENT
118 ~AttributeList(); // D
122 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, function in class:clang::AttributeList
137 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, function in class:clang::AttributeList
[all...]
H A DDeclSpec.h23 #include "clang/Sema/AttributeList.h"
639 void addAttributes(AttributeList *AL) {
642 void setAttributes(AttributeList *AL) {
1002 AttributeList *AttrList;
1284 const AttributeList *getAttrs() const {
1288 AttributeList *&getAttrListRef() {
1860 const AttributeList *getAttributes() const { return Attrs.getList(); }
1861 AttributeList *getAttributes() { return Attrs.getList(); }
1863 AttributeList *&getAttrListRef() { return Attrs.getListRef(); }
H A DSema.h60 class AttributeList;
1274 AttributeList *Attr, AccessSpecifier AS,
1285 AttributeList *Attr,
1336 AttributeList *AttrList);
1381 AttributeList *Attrs,
1386 Scope *S, AttributeList *Attr);
1985 void ProcessDeclAttributeList(Scope *S, Decl *D, const AttributeList *AL,
1988 const AttributeList *AttrList);
1992 bool CheckRegparmAttr(const AttributeList &attr, unsigned &value);
1993 bool CheckCallingConvAttr(const AttributeList
[all...]
/external/llvm/include/llvm/
H A DFunction.h88 AttrListPtr AttributeList; ///< Parameter attributes member in class:llvm::Function
165 const AttrListPtr &getAttributes() const { return AttributeList; }
169 void setAttributes(const AttrListPtr &attrs) { AttributeList = attrs; }
174 return AttributeList.paramHasAttr(~0U, N);
200 return AttributeList.paramHasAttr(i, attr);
211 return AttributeList.getParamAlignment(i);
H A DModule.h326 AttrListPtr AttributeList);
338 AttrListPtr AttributeList,
347 AttrListPtr AttributeList);
H A DInstructions.h1158 AttrListPtr AttributeList; ///< parameter attributes for call member in class:llvm::CallInst
1256 const AttrListPtr &getAttributes() const { return AttributeList; }
1260 void setAttributes(const AttrListPtr &Attrs) { AttributeList = Attrs; }
1273 return AttributeList.getParamAlignment(i);
1333 return AttributeList.hasAttrSomewhere(Attribute::ByVal);
2835 AttrListPtr AttributeList; member in class:llvm::InvokeInst
2896 const AttrListPtr &getAttributes() const { return AttributeList; }
2900 void setAttributes(const AttrListPtr &Attrs) { AttributeList = Attrs; }
2913 return AttributeList.getParamAlignment(i);
2964 return AttributeList
[all...]
/external/clang/test/Index/
H A Drecursive-cxx-member-calls.cpp12 class AttributeList { class in namespace:clang
100 AttributeList::Kind AttributeList::getKind(const IdentifierInfo * Name) {
105 return llvm::StringSwitch < AttributeList::Kind > (AttrName)
251 // CHECK-tokens: Keyword: "class" [12:3 - 12:8] ClassDecl=AttributeList:12:9 (Definition)
252 // CHECK-tokens: Identifier: "AttributeList" [12:9 - 12:22] ClassDecl=AttributeList:12:9 (Definition)
253 // CHECK-tokens: Punctuation: "{" [12:23 - 12:24] ClassDecl=AttributeList:12:9 (Definition)
399 // CHECK-tokens: Punctuation: ";" [32:6 - 32:7] ClassDecl=AttributeList:12:9 (Definition)
400 // CHECK-tokens: Keyword: "static" [33:5 - 33:11] ClassDecl=AttributeList
[all...]
/external/llvm/lib/VMCore/
H A DModule.cpp141 AttrListPtr AttributeList) {
148 New->setAttributes(AttributeList);
174 AttrListPtr AttributeList) {
180 New->setAttributes(AttributeList);
191 AttrListPtr AttributeList = AttrListPtr::get((AttributeWithIndex *)0, 0); local
192 return getOrInsertFunction(Name, Ty, AttributeList);
201 AttrListPtr AttributeList,
216 AttributeList);
139 getOrInsertFunction(StringRef Name, FunctionType *Ty, AttrListPtr AttributeList) argument
172 getOrInsertTargetIntrinsic(StringRef Name, FunctionType *Ty, AttrListPtr AttributeList) argument
200 getOrInsertFunction(StringRef Name, AttrListPtr AttributeList, Type *RetTy, ...) argument
/external/webkit/Source/WebCore/html/parser/
H A DHTMLPreloadScanner.cpp59 void processAttributes(const HTMLToken::AttributeList& attributes)
67 for (HTMLToken::AttributeList::const_iterator iter = attributes.begin();
H A DHTMLToken.h62 typedef WTF::Vector<Attribute, 10> AttributeList; typedef in class:WebCore::HTMLToken
246 const AttributeList& attributes() const
375 AttributeList m_attributes;
498 void initializeAttributes(const HTMLToken::AttributeList& attributes);
535 inline void AtomicHTMLToken::initializeAttributes(const HTMLToken::AttributeList& attributes)
/external/tagsoup/src/org/ccil/cowan/tagsoup/jaxp/
H A DSAX1ParserAdapter.java191 implements AttributeList
/external/webkit/Source/WebCore/html/
H A DHTMLViewSourceDocument.cpp143 HTMLToken::AttributeList::const_iterator iter = token.attributes().begin();
/external/clang/lib/Parse/
H A DParseTemplate.cpp30 AttributeList *AccessAttrs) {
84 AttributeList *AccessAttrs) {
198 AttributeList *AccessAttrs) {
H A DParseCXXInlineMethods.cpp25 AttributeList *AccessAttrs,
/external/clang/include/clang/Parse/
H A DParser.h191 /// Factory object for creating AttributeList objects.
1161 Decl *ParseCXXInlineMethodDef(AccessSpecifier AS, AttributeList *AccessAttrs,
2107 void ParseCXXClassMemberDeclaration(AccessSpecifier AS, AttributeList *Attr,
2148 AttributeList *AccessAttrs = 0);
2152 AttributeList *AccessAttrs);
2159 AttributeList *AccessAttrs = 0);
/external/clang/lib/CodeGen/
H A DCGCall.cpp2067 CodeGen::AttributeListType AttributeList; local
2068 CGM.ConstructAttributeList(CallInfo, TargetDecl, AttributeList, CallingConv);
2069 llvm::AttrListPtr Attrs = llvm::AttrListPtr::get(AttributeList.begin(),
2070 AttributeList.end());
H A DCodeGenModule.cpp475 AttributeListType AttributeList; local
476 ConstructAttributeList(Info, D, AttributeList, CallingConv);
477 F->setAttributes(llvm::AttrListPtr::get(AttributeList.begin(),
478 AttributeList.size()));

Completed in 1323 milliseconds

12