Home
last modified time | relevance | path

Searched refs:getAttrs (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/lib/Analysis/
DStratifiedSets.h266 StratifiedAttrs &getAttrs() { in getAttrs() function
455 auto Attrs = Link->getAttrs(); in getAttributes()
458 Attrs |= Link->getAttrs(); in getAttributes()
477 return Link.getAttrs(); in getRawAttributes()
585 auto &FromAttrs = LinksFrom->getAttrs(); in mergeDirect()
617 auto Attrs = Current->getAttrs(); in tryMergeUpwards()
620 Attrs |= Current->getAttrs(); in tryMergeUpwards()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DDialogPreferenceTest.java48 assertThat(shadow.getAttrs(), sameInstance((AttributeSet) attrs)); in testConstructors()
54 assertThat(shadow.getAttrs(), sameInstance((AttributeSet) attrs)); in testConstructors()
DPreferenceTest.java54 assertThat(shadow.getAttrs(), sameInstance((AttributeSet)attrs)); in shouldConstruct()
60 assertThat(shadow.getAttrs(), sameInstance((AttributeSet)attrs)); in shouldConstruct()
66 assertThat(shadow.getAttrs(), nullValue()); in shouldConstruct()
/external/clang/include/clang/AST/
DDeclBase.h438 AttrVec &getAttrs() { in getAttrs() function
439 return const_cast<AttrVec&>(const_cast<const Decl*>(this)->getAttrs()); in getAttrs()
441 const AttrVec &getAttrs() const;
446 getAttrs().push_back(A); in addAttr()
459 return hasAttrs() ? getAttrs().begin() : nullptr; in attr_begin()
462 return hasAttrs() ? getAttrs().end() : nullptr; in attr_end()
469 AttrVec &Vec = getAttrs(); in dropAttr()
491 return hasAttrs() ? getSpecificAttr<T>(getAttrs()) : nullptr; in getAttr()
494 return hasAttrs() && hasSpecificAttr<T>(getAttrs()); in hasAttr()
DStmt.h850 ArrayRef<const Attr*> getAttrs() const { in getAttrs() function
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPreference.java58 public AttributeSet getAttrs() { in getAttrs() method in ShadowPreference
/external/clang/lib/CodeGen/
DCGStmt.cpp492 EmitDoStmt(cast<DoStmt>(*SubStmt), S.getAttrs()); in EmitAttributedStmt()
495 EmitForStmt(cast<ForStmt>(*SubStmt), S.getAttrs()); in EmitAttributedStmt()
498 EmitWhileStmt(cast<WhileStmt>(*SubStmt), S.getAttrs()); in EmitAttributedStmt()
501 EmitCXXForRangeStmt(cast<CXXForRangeStmt>(*SubStmt), S.getAttrs()); in EmitAttributedStmt()
DCGOpenMPRuntime.cpp2023 for (specific_attr_iterator<AlignedAttr> I(VD->getAttrs().begin()), in createPrivatesRecordDecl()
2024 E(VD->getAttrs().end()); in createPrivatesRecordDecl()
/external/clang/lib/Sema/
DSemaOpenMP.cpp937 VD->getName(), VD->hasAttrs() ? &VD->getAttrs() : nullptr); in EndOpenMPDSABlock()
3144 NewVD->setAttrs(VD->getAttrs()); in TransformDefinition()
3326 Var->hasAttrs() ? &Var->getAttrs() : nullptr); in BuildPrivateCounterVar()
6413 VD->hasAttrs() ? &VD->getAttrs() : nullptr); in ActOnOpenMPPrivateClause()
6660 VD->hasAttrs() ? &VD->getAttrs() : nullptr); in ActOnOpenMPFirstprivateClause()
6819 VD->hasAttrs() ? &VD->getAttrs() : nullptr); in ActOnOpenMPLastprivateClause()
6824 VD->hasAttrs() ? &VD->getAttrs() : nullptr); in ActOnOpenMPLastprivateClause()
7274 VD->hasAttrs() ? &VD->getAttrs() : nullptr); in ActOnOpenMPReductionClause()
7276 VD->hasAttrs() ? &VD->getAttrs() : nullptr); in ActOnOpenMPReductionClause()
7291 VD->hasAttrs() ? &VD->getAttrs() : nullptr); in ActOnOpenMPReductionClause()
[all …]
DSemaType.cpp2434 for (const AttributeList *attr = chunk.getAttrs(); attr; in inferARCWriteback()
3457 hasCFReturnsAttr(InnermostChunk->getAttrs()) || in GetFullTypeForDeclarator()
3837 for (const AttributeList *Attr = ReturnTypeChunk.getAttrs(); in GetFullTypeForDeclarator()
4108 const_cast<AttributeList *>(DeclType.getAttrs())); in GetFullTypeForDeclarator()
4333 for (const AttributeList *attr = chunk.getAttrs(); attr; in transferARCOwnershipToDeclaratorChunk()
4707 fillAttributedTypeLoc(TL, Chunk.getAttrs()); in VisitAttributedTypeLoc()
4865 fillAttributedTypeLoc(TL, D.getTypeObject(i).getAttrs(), DeclAttrs); in GetTypeSourceInfoForDeclarator()
DSemaStmt.cpp3132 Attrs = &FD->getAttrs(); in BuildReturnStmt()
3140 Attrs = &MD->getAttrs(); in BuildReturnStmt()
DSemaDeclAttr.cpp1937 AttrVec &Attrs = D->getAttrs(); in mergeAvailabilityAttr()
5560 ::checkUnusedDeclAttributes(*this, D.getTypeObject(i).getAttrs()); in checkUnusedDeclAttributes()
5674 if (const AttributeList *Attrs = PD.getTypeObject(i).getAttrs()) in ProcessDeclAttributes()
DAnalysisBasedWarnings.cpp1042 if (hasSpecificAttr<FallThroughAttr>(AS->getAttrs())) in asFallThroughAttr()
/external/clang/tools/libclang/
DIndexingContext.h256 const CXIdxAttrInfo *const *getAttrs() const { in getAttrs() function
DIndexingContext.cpp930 EntityInfo.attributes = EntityInfo.AttrList->getAttrs(); in getEntityInfo()
/external/clang/lib/AST/
DDeclPrinter.cpp203 AttrVec &Attrs = D->getAttrs(); in prettyPrintAttributes()
223 AttrVec &Attrs = D->getAttrs(); in prettyPrintPragmas()
DDeclBase.cpp324 const AttrVec &V = getAttrs(); in getMaxAlignment()
678 const AttrVec &Decl::getAttrs() const { in getAttrs() function in Decl
DASTDumper.cpp1674 for (ArrayRef<const Attr *>::iterator I = Node->getAttrs().begin(), in VisitAttributedStmt()
1675 E = Node->getAttrs().end(); in VisitAttributedStmt()
DItaniumMangle.cpp485 for (AttrVec::const_reverse_iterator I = FD->getAttrs().rbegin(), in mangleFunctionEncoding()
486 E = FD->getAttrs().rend(); in mangleFunctionEncoding()
DStmtPrinter.cpp172 for (const auto *Attr : Node->getAttrs()) { in VisitAttributedStmt()
/external/clang/include/clang/Sema/
DDeclSpec.h1436 const AttributeList *getAttrs() const { in getAttrs() function
2141 if (getTypeObject(i).getAttrs()) in hasAttributes()
/external/clang/lib/Index/
DCommentToXML.cpp998 const AttrVec &Attrs = DI->CommentDecl->getAttrs(); in visitFullComment()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp1146 const AttrVec &Attrs1 = Decl1->getAttrs(); in AttributesMatch()
1147 const AttrVec &Attrs2 = Decl2->getAttrs(); in AttributesMatch()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp286 Writer.WriteAttributes(llvm::makeArrayRef(D->getAttrs().begin(), in VisitDecl()
287 D->getAttrs().size()), Record); in VisitDecl()
DASTWriterStmt.cpp113 Record.push_back(S->getAttrs().size()); in VisitAttributedStmt()
114 Writer.WriteAttributes(S->getAttrs(), Record); in VisitAttributedStmt()

12