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

12

/external/clang/lib/Sema/
H A DAttributeList.cpp1 //===--- AttributeList.cpp --------------------------------------*- C++ -*-===//
10 // This file defines the AttributeList class implementation
14 #include "clang/Sema/AttributeList.h"
34 size_t AttributeList::allocated_size() const {
40 return (sizeof(AttributeList) + NumArgs * sizeof(ArgsUnion));
50 assert(size >= sizeof(AttributeList));
52 return ((size - sizeof(AttributeList)) / sizeof(void*));
59 if (AttributeList *attr = FreeLists[index]) {
69 void AttributeFactory::reclaimPool(AttributeList *cur) {
74 AttributeList *nex
[all...]
H A DSemaDeclAttr.cpp171 static unsigned getNumAttributeArgs(const AttributeList &Attr) {
177 static bool checkAttributeNumArgsImpl(Sema &S, const AttributeList &Attr,
190 static bool checkAttributeNumArgs(Sema &S, const AttributeList &Attr,
199 static bool checkAttributeAtLeastNumArgs(Sema &S, const AttributeList &Attr,
208 static bool checkAttributeAtMostNumArgs(Sema &S, const AttributeList &Attr,
217 static bool checkUInt32Argument(Sema &S, const AttributeList &Attr,
263 const AttributeList &Attr,
310 bool Sema::checkStringLiteralArgumentAttr(const AttributeList &Attr,
346 const AttributeList &Attr) {
378 const AttributeList
[all...]
H A DSemaStmtAttr.cpp26 static Attr *handleFallThroughAttr(Sema &S, Stmt *St, const AttributeList &A,
46 static Attr *handleLoopHintAttr(Sema &S, Stmt *St, const AttributeList &A,
207 static Attr *ProcessStmtAttribute(Sema &S, Stmt *St, const AttributeList &A,
210 case AttributeList::UnknownAttribute:
215 case AttributeList::AT_FallThrough:
217 case AttributeList::AT_LoopHint:
228 StmtResult Sema::ProcessStmtAttributes(Stmt *S, AttributeList *AttrList,
231 for (const AttributeList* l = AttrList; l; l = l->getNext()) {
H A DSemaType.cpp65 static void diagnoseBadTypeAttribute(Sema &S, const AttributeList &attr,
70 case AttributeList::AT_ObjCGC: WhichType = TDS_Pointer; break;
71 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 DAndroid.mk27 AttributeList.cpp \
H A DDeclSpec.cpp912 AttributeList* attrs = getAttributes().getList();
914 if (attrs->getKind() == AttributeList::AT_Mode) {
H A DSemaDeclCXX.cpp1498 for (AttributeList *Attr = Attributes.getList(); Attr;
1501 Attr->getKind() == AttributeList::IgnoredAttribute)
1504 Attr->getKind() == AttributeList::UnknownAttribute
1861 AttributeList *Attrs) {
1989 static AttributeList *getMSPropertyAttr(AttributeList *list) {
1990 for (AttributeList *it = list; it != nullptr; it = it->getNext())
2181 AttributeList *MSPropertyAttr =
6421 AttributeList *AttrList) {
6427 for (const AttributeList*
[all...]
/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
59 /// AttributeList as an argument.
63 /// AttributeList - Represents a syntactic attribute.
72 class AttributeList { // TODO: This should really be called ParsedAttribute class in namespace:clang
134 AttributeList *NextInPosition;
137 AttributeList *NextInPool;
207 AttributeList(const AttributeList &) = delete;
208 void operator=(const AttributeList
215 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, function in class:clang::AttributeList
229 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, function in class:clang::AttributeList
252 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, function in class:clang::AttributeList
272 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, function in class:clang::AttributeList
291 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, function in class:clang::AttributeList
304 AttributeList(IdentifierInfo *attrName, SourceRange attrRange, function in class:clang::AttributeList
[all...]
H A DDeclSpec.h32 #include "clang/Sema/AttributeList.h"
726 void addAttributes(AttributeList *AL) {
1099 AttributeList *AttrList;
1436 const AttributeList *getAttrs() const {
1440 AttributeList *&getAttrListRef() {
2132 const AttributeList *getAttributes() const { return Attrs.getList(); }
2133 AttributeList *getAttributes() { return Attrs.getList(); }
2135 AttributeList *&getAttrListRef() { return Attrs.getListRef(); }
2149 AttributeList *AttrList = Attrs.getList();
H A DSema.h72 class AttributeList;
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 *AttrLis
[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)
401 // CHECK-tokens: Identifier: "Kind" [33:12 - 33:16] TypeRef=enum clang::AttributeList
[all...]
/external/google-breakpad/src/common/dwarf/
H A Ddwarf2reader.h63 AttributeList; typedef in namespace:dwarf2reader
64 typedef AttributeList::iterator AttributeIterator;
65 typedef AttributeList::const_iterator ConstAttributeIterator;
248 AttributeList attributes;
/external/llvm/lib/IR/
H A DModule.cpp120 AttributeSet AttributeList) {
127 New->setAttributes(AttributeList);
152 AttributeSet AttributeList,
167 AttributeList);
118 getOrInsertFunction(StringRef Name, FunctionType *Ty, AttributeSet AttributeList) argument
151 getOrInsertFunction(StringRef Name, AttributeSet AttributeList, Type *RetTy, ...) argument
H A DInstructions.cpp292 AttributeList(CI.AttributeList), FTy(CI.FTy) {
351 if (AttributeList.hasAttribute(i, A))
581 AttributeList(II.AttributeList), FTy(II.FTy) {
613 if (AttributeList.hasAttribute(AttributeSet::FunctionIndex, A))
629 if (AttributeList.hasAttribute(i, A))
/external/jetty/src/java/org/eclipse/jetty/jmx/
H A DObjectMBean.java38 import javax.management.AttributeList;
372 public AttributeList getAttributes(String[] names)
374 AttributeList results = new AttributeList(names.length);
440 public AttributeList setAttributes(AttributeList attrs)
444 AttributeList results = new AttributeList(attrs.size());
/external/clang/lib/Parse/
H A DParseDecl.cpp157 AttributeList::AS_GNU);
164 SourceLocation(), AttributeList::AS_GNU, D);
247 AttributeList::Syntax Syntax) {
273 SourceLocation ScopeLoc, AttributeList::Syntax Syntax) {
281 AttributeList::Kind AttrKind =
282 AttributeList::getKind(AttrName, ScopeName, Syntax);
286 if (AttrKind == AttributeList::UnknownAttribute ||
287 AttrKind == AttributeList::IgnoredAttribute) {
340 AttributeList::Syntax Syntax,
345 AttributeList
[all...]
H A DParseDeclCXX.cpp1075 AttributeList::AS_Keyword);
2125 const AttributeList *Attr = DeclaratorInfo.getAttributes();
2245 AttributeList *AccessAttrs,
3625 switch (AttributeList::getKind(AttrName, ScopeName,
3626 AttributeList::AS_CXX11)) {
3627 case AttributeList::AT_CarriesDependency:
3628 case AttributeList::AT_Deprecated:
3629 case AttributeList::AT_FallThrough:
3630 case AttributeList::AT_CXX11NoReturn:
3675 ScopeLoc, AttributeList
[all...]
H A DParseTemplate.cpp31 AttributeList *AccessAttrs) {
64 AttributeList *AccessAttrs) {
177 AttributeList *AccessAttrs) {
H A DParseObjc.cpp399 auto getNullabilityAttr = [&]() -> AttributeList * {
405 AttributeList::AS_ContextSensitiveKeyword);
1228 AttributeList *list) {
1230 AttributeList *cur = list;
1256 const_cast<AttributeList*>(D.getTypeObject(i).getAttrs()));
/external/tagsoup/src/org/ccil/cowan/tagsoup/jaxp/
H A DSAX1ParserAdapter.java191 implements AttributeList
/external/llvm/include/llvm/IR/
H A DModule.h310 AttributeSet AttributeList);
321 AttributeSet AttributeList,
H A DInstructions.h1364 AttributeSet AttributeList; ///< parameter attributes for call member in class:llvm::CallInst
1603 const AttributeSet &getAttributes() const { return AttributeList; }
1607 void setAttributes(const AttributeSet &Attrs) { AttributeList = Attrs; }
1645 /// underlying AttributeList or the OperandBundleUser as appropriate.
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
3334 AttributeSet AttributeList; member in class:llvm::InvokeInst
[all...]
/external/clang/include/clang/Parse/
H A DParser.h219 /// Factory object for creating AttributeList objects.
1187 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 *AccessAttr
[all...]
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/pyasn1_modules/
H A Drfc2251.py223 class AttributeList(univ.SequenceOf): class in inherits:univ.SequenceOf
232 namedtype.NamedType('attributes', AttributeList())
/external/clang/lib/CodeGen/
H A DCGVTables.cpp380 CodeGen::AttributeListType AttributeList; local
381 CGM.ConstructAttributeList(*CurFnInfo, MD, AttributeList, CallingConv,
384 llvm::AttributeSet::get(getLLVMContext(), AttributeList);

Completed in 410 milliseconds

12