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"
22 size_t AttributeList::allocated_size() const {
26 return (sizeof(AttributeList) + NumArgs * sizeof(Expr*));
36 assert(size >= sizeof(AttributeList));
38 return ((size - sizeof(AttributeList)) / sizeof(void*));
45 if (AttributeList *attr = FreeLists[index]) {
55 void AttributeFactory::reclaimPool(AttributeList *cur) {
60 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::AT_FallThrough:
62 StmtResult Sema::ProcessStmtAttributes(Stmt *S, AttributeList *AttrList,
65 for (const AttributeList* l = AttrList; l; l = l->getNext()) {
H A DSemaDeclAttr.cpp201 static bool checkAttributeNumArgs(Sema &S, const AttributeList &Attr,
214 static bool checkAttributeAtLeastNumArgs(Sema &S, const AttributeList &Attr,
311 const AttributeList &Attr) {
362 static void checkForLockableRecord(Sema &S, Decl *D, const AttributeList &Attr,
404 const AttributeList &Attr,
486 const AttributeList &Attr) {
502 static void handleGuardedVarAttr(Sema &S, Decl *D, const AttributeList &Attr) {
510 const AttributeList &Attr) {
521 const AttributeList &Attr,
547 static void handleGuardedByAttr(Sema &S, Decl *D, const AttributeList
[all...]
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,
166 static void HandleDLLImportAttr(Decl *D, const AttributeList &Attr, Sema &S) {
209 static void HandleDLLExportAttr(Decl *D, const AttributeList &Attr, Sema &S) {
242 const AttributeList
[all...]
H A DSemaType.cpp56 static void diagnoseBadTypeAttribute(Sema &S, const AttributeList &attr,
62 case AttributeList::AT_ObjCGC:
67 case AttributeList::AT_ObjCOwnership:
96 case AttributeList::AT_ObjCGC: \
97 case AttributeList::AT_ObjCOwnership
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.mk26 AttributeList.cpp \
H A DDeclSpec.cpp778 AttributeList* attrs = getAttributes().getList();
780 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
47 /// AttributeList - Represents GCC's __attribute__ declaration. There are
55 class AttributeList { // TODO: This should really be called ParsedAttribute class in namespace:clang
104 AttributeList *NextInPosition;
107 AttributeList *NextInPool;
143 AttributeList(const AttributeList &); // DO NOT IMPLEMENT
144 void operator=(const AttributeList &); // DO NOT IMPLEMENT
146 ~AttributeList(); // D
151 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, function in class:clang::AttributeList
166 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, function in class:clang::AttributeList
189 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, function in class:clang::AttributeList
[all...]
H A DDeclSpec.h26 #include "clang/Sema/AttributeList.h"
655 void addAttributes(AttributeList *AL) {
658 void setAttributes(AttributeList *AL) {
1020 AttributeList *AttrList;
1309 const AttributeList *getAttrs() const {
1313 AttributeList *&getAttrListRef() {
1880 const AttributeList *getAttributes() const { return Attrs.getList(); }
1881 AttributeList *getAttributes() { return Attrs.getList(); }
1883 AttributeList *&getAttrListRef() { return Attrs.getListRef(); }
H A DSema.h63 class AttributeList;
1411 AttributeList *Attr, AccessSpecifier AS,
1422 AttributeList *Attr,
1475 AttributeList *AttrList);
1520 AttributeList *Attrs,
1525 Scope *S, AttributeList *Attr);
2216 void ProcessDeclAttributeList(Scope *S, Decl *D, const AttributeList *AL,
2219 const AttributeList *AttrList);
2223 bool CheckRegparmAttr(const AttributeList &attr, unsigned &value);
2224 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.h322 AttrListPtr AttributeList);
334 AttrListPtr AttributeList,
343 AttrListPtr AttributeList);
H A DInstructions.h1160 AttrListPtr AttributeList; ///< parameter attributes for call member in class:llvm::CallInst
1258 const AttrListPtr &getAttributes() const { return AttributeList; }
1262 void setAttributes(const AttrListPtr &Attrs) { AttributeList = Attrs; }
1280 return AttributeList.getParamAlignment(i);
1340 return AttributeList.hasAttrSomewhere(Attribute::ByVal);
2959 AttrListPtr AttributeList; member in class:llvm::InvokeInst
3020 const AttrListPtr &getAttributes() const { return AttributeList; }
3024 void setAttributes(const AttrListPtr &Attrs) { AttributeList = Attrs; }
3042 return AttributeList.getParamAlignment(i);
3093 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);
200 AttrListPtr AttributeList,
215 AttributeList);
139 getOrInsertFunction(StringRef Name, FunctionType *Ty, AttrListPtr AttributeList) argument
172 getOrInsertTargetIntrinsic(StringRef Name, FunctionType *Ty, AttrListPtr AttributeList) argument
199 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/clang/lib/Parse/
H A DParseDecl.cpp161 0, SourceLocation(), 0, 0, AttributeList::AS_GNU);
280 AttributeList *attr =
283 AttributeList::AS_GNU);
284 if (BuiltinType && attr->getKind() == AttributeList::AT_IBOutletCollection)
307 &ExprList, 1, AttributeList::AS_Declspec);
355 AttributeList::AS_Declspec);
442 0, 0, AttributeList::AS_Declspec);
459 SourceLocation(), 0, 0, AttributeList::AS_MSTypespec);
469 SourceLocation(), 0, 0, AttributeList::AS_MSTypespec);
479 SourceLocation(), 0, 0, AttributeList
[all...]
H A DParseDeclCXX.cpp925 SourceLocation(), 0, 0, AttributeList::AS_GNU);
1746 AttributeList *AccessAttrs,
2936 switch (AttributeList::getKind(AttrName, ScopeName,
2937 AttributeList::AS_CXX11)) {
2939 case AttributeList::AT_CarriesDependency:
2942 case AttributeList::AT_FallThrough:
2943 case AttributeList::AT_NoReturn: {
2954 SourceLocation(), 0, 0, AttributeList::AS_CXX11);
H A DParseTemplate.cpp30 AttributeList *AccessAttrs) {
84 AttributeList *AccessAttrs) {
199 AttributeList *AccessAttrs) {
H A DParseCXXInlineMethods.cpp26 AttributeList *AccessAttrs,
/external/webkit/Source/WebCore/html/
H A DHTMLViewSourceDocument.cpp143 HTMLToken::AttributeList::const_iterator iter = token.attributes().begin();
/external/clang/include/clang/Parse/
H A DParser.h205 /// Factory object for creating AttributeList objects.
1052 Decl *ParseCXXInlineMethodDef(AccessSpecifier AS, AttributeList *AccessAttrs,
2029 void ParseCXXClassMemberDeclaration(AccessSpecifier AS, AttributeList *Attr,
2070 AttributeList *AccessAttrs = 0);
2074 AttributeList *AccessAttrs);
2081 AttributeList *AccessAttrs = 0);

Completed in 349 milliseconds

12