Home
last modified time | relevance | path

Searched refs:hasAttrs (Results 1 – 20 of 20) sorted by relevance

/external/clang/include/clang/AST/
DDeclBase.h440 bool hasAttrs() const { return HasAttrs; } in hasAttrs() function
451 if (hasAttrs()) in addAttr()
465 return hasAttrs() ? getAttrs().begin() : nullptr; in attr_begin()
468 return hasAttrs() ? getAttrs().end() : nullptr; in attr_end()
497 return hasAttrs() ? getSpecificAttr<T>(getAttrs()) : nullptr; in getAttr()
500 return hasAttrs() && hasSpecificAttr<T>(getAttrs()); in hasAttr()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp289 Record.push_back(D->hasAttrs()); in VisitDecl()
290 if (D->hasAttrs()) in VisitDecl()
373 !D->hasAttrs() && in VisitTypedefDecl()
436 !D->hasAttrs() && in VisitEnumDecl()
465 !D->hasAttrs() && in VisitRecordDecl()
722 !D->hasAttrs() && in VisitObjCIvarDecl()
854 !D->hasAttrs() && in VisitFieldDecl()
931 !D->hasAttrs() && in VisitVarDecl()
981 !D->hasAttrs() && in VisitParmVarDecl()
1212 !D->hasAttrs() && in VisitCXXMethodDecl()
DASTWriter.cpp4722 Record.push_back(D->hasAttrs()); in WriteDeclUpdatesBlocks()
4723 if (D->hasAttrs()) in WriteDeclUpdatesBlocks()
/external/clang/lib/Analysis/
DThreadSafety.cpp1411 if(!FunDecl || !FunDecl->hasAttrs()) in getEdgeLockset()
1625 if (!D || !D->hasAttrs()) in checkAccess()
1665 if (!D || !D->hasAttrs()) in checkPtAccess()
1967 if(!D || !D->hasAttrs()) in VisitCallExpr()
1994 if (!CtorD || !CtorD->hasAttrs()) in VisitDeclStmt()
2142 if (!SortedGraph->empty() && D->hasAttrs()) { in runAnalysis()
2309 if (!DD->hasAttrs()) in runAnalysis()
/external/clang/lib/AST/
DMangle.cpp106 if (!getASTContext().getLangOpts().CPlusPlus && !D->hasAttrs()) in shouldMangleDeclName()
DDeclPrinter.cpp204 if (D->hasAttrs()) { in prettyPrintAttributes()
224 if (D->hasAttrs()) { in prettyPrintPragmas()
DDeclBase.cpp332 if (!hasAttrs()) in getMaxAlignment()
DASTImporter.cpp6674 if (From->hasAttrs()) { in Imported()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp1141 if (!Decl1->hasAttrs() || !Decl2->hasAttrs()) { in AttributesMatch()
1142 AvailabilityArgsMatch = (Decl1->hasAttrs() == Decl2->hasAttrs()); in AttributesMatch()
/external/clang/lib/Sema/
DSemaOpenMP.cpp1086 VD->getName(), VD->hasAttrs() ? &VD->getAttrs() : nullptr); in EndOpenMPDSABlock()
4539 LCDecl->hasAttrs() ? &LCDecl->getAttrs() : nullptr); in BuildPrivateCounterVar()
8289 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPPrivateClause()
8547 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPFirstprivateClause()
8719 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPLastprivateClause()
8724 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPLastprivateClause()
9293 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPReductionClause()
9295 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPReductionClause()
9314 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPReductionClause()
9654 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPLinearClause()
[all …]
DSemaDecl.cpp2345 if (!New->hasAttrs()) in checkNewAttributesAfterDef()
2435 if (!Old->hasAttrs() && !New->hasAttrs()) in mergeDeclAttributes()
2474 if (!Old->hasAttrs()) in mergeDeclAttributes()
2477 bool foundAny = New->hasAttrs(); in mergeDeclAttributes()
2538 if (!oldDecl->hasAttrs()) in mergeParamDeclAttributes()
2541 bool foundAny = newDecl->hasAttrs(); in mergeParamDeclAttributes()
6769 if (NewVD->hasAttrs()) in CheckVariableDeclarationType()
13612 if (NewFD->hasAttrs()) in CheckFieldDecl()
14139 if (Record->hasAttrs()) { in ActOnFields()
15007 if (Enum->hasAttrs()) in ActOnEnumBody()
DSemaStmt.cpp3191 if (FD->hasAttrs()) in BuildReturnStmt()
3199 if (MD->hasAttrs()) in BuildReturnStmt()
DSemaDeclAttr.cpp1988 if (D->hasAttrs()) { in mergeAvailabilityAttr()
3298 assert(D->hasAttrs() && "no attributes on decl"); in CheckAlignasUnderalignment()
DSemaTemplateInstantiateDecl.cpp721 if (Field->hasAttrs()) in VisitFieldDecl()
DSemaOverload.cpp5956 if (!Function->hasAttrs()) in getOrderedEnableIfAttrs()
/external/clang/tools/libclang/
DCXIndexDataConsumer.cpp279 if (!D->hasAttrs()) in AttrListInfo()
1156 if (D->hasAttrs()) { in getEntityInfo()
DCIndex.cpp3691 if (D->hasAttrs()) { in clang_Cursor_hasAttrs()
/external/clang/lib/Index/
DCommentToXML.cpp996 if (DI->CommentDecl->hasAttrs()) { in visitFullComment()
/external/clang/lib/StaticAnalyzer/Checkers/
DMallocChecker.cpp621 if (IsOptimistic && FD->hasAttrs()) { in isCMemFunction()
844 if (FD->hasAttrs()) in checkPostStmt()
/external/clang/lib/CodeGen/
DCGOpenMPRuntime.cpp3177 if (VD->hasAttrs()) { in createPrivatesRecordDecl()