Home
last modified time | relevance | path

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

12

/openbsd/src/gnu/llvm/clang/lib/Analysis/
DThreadSafety.cpp1477 if(!FunDecl || !FunDecl->hasAttrs()) in getEdgeLockset()
1716 if (!D || !D->hasAttrs()) in checkAccess()
1754 if (!D || !D->hasAttrs()) in checkPtAccess()
2067 if(!D || !D->hasAttrs()) in VisitCallExpr()
2080 if (D && D->hasAttrs()) in VisitCXXConstructExpr()
2285 if (!SortedGraph->empty() && D->hasAttrs()) { in runAnalysis()
2410 if (!DD->hasAttrs()) in runAnalysis()
2427 if (DD->hasAttrs()) in runAnalysis()
/openbsd/src/gnu/llvm/clang/include/clang/AST/
DDeclBase.h502 bool hasAttrs() const { return HasAttrs; } in hasAttrs() function
524 return hasAttrs() ? getAttrs().begin() : nullptr; in attr_begin()
527 return hasAttrs() ? getAttrs().end() : nullptr; in attr_end()
557 return hasAttrs() ? getSpecificAttr<T>(getAttrs()) : nullptr; in getAttr()
561 return hasAttrs() && hasSpecificAttr<T>(getAttrs()); in hasAttr()
/openbsd/src/gnu/llvm/clang/lib/Serialization/
DASTWriterDecl.cpp309 Record.push_back(D->hasAttrs()); in VisitDecl()
310 if (D->hasAttrs()) in VisitDecl()
394 !D->hasAttrs() && in VisitTypedefDecl()
459 !D->hasAttrs() && in VisitEnumDecl()
500 !D->hasAttrs() && in VisitRecordDecl()
816 !D->hasAttrs() && in VisitObjCIvarDecl()
951 !D->hasAttrs() && in VisitFieldDecl()
1080 !D->hasAttrs() && in VisitVarDecl()
1128 !D->hasAttrs() && in VisitParmVarDecl()
1428 !D->hasAttrs() && !D->isTopLevelDeclInObjCContainer() && in VisitCXXMethodDecl()
DASTWriter.cpp5255 Record.push_back(D->hasAttrs()); in WriteDeclUpdatesBlocks()
5256 if (D->hasAttrs()) in WriteDeclUpdatesBlocks()
DASTReaderDecl.cpp4482 if (!D->hasAttrs()) in UpdateDecl()
/openbsd/src/gnu/llvm/clang/lib/AST/
DAttrImpl.cpp154 if (!VD->hasAttrs()) in getActiveAttr()
DMangle.cpp124 if (!getASTContext().getLangOpts().CPlusPlus && !D->hasAttrs()) in shouldMangleDeclName()
DDeclBase.cpp443 if (!hasAttrs()) in getMaxAlignment()
904 if (!hasAttrs()) { in addAttr()
DDeclPrinter.cpp241 if (D->hasAttrs()) { in prettyPrintAttributes()
263 if (D->hasAttrs()) { in prettyPrintPragmas()
DASTImporter.cpp9110 if (FromD->hasAttrs()) in Import()
/openbsd/src/gnu/llvm/clang/lib/ARCMigrate/
DObjCMT.cpp1131 if (!Decl1->hasAttrs() || !Decl2->hasAttrs()) { in AttributesMatch()
1132 AvailabilityArgsMatch = (Decl1->hasAttrs() == Decl2->hasAttrs()); in AttributesMatch()
/openbsd/src/gnu/llvm/clang/lib/CodeGen/
DCGHLSLRuntime.cpp343 assert(D.hasAttrs() && "Entry parameter missing annotation attribute!"); in emitInputSemantic()
DCGOpenMPRuntimeGPU.cpp169 if (VD->hasAttrs()) { in buildRecordForGlobalizedVars()
221 if (VD->hasAttrs() && VD->hasAttr<OMPAllocateDeclAttr>()) in markAsEscaped()
229 if (!FD->hasAttrs()) in markAsEscaped()
3378 if (VD->hasAttrs()) { in getAddressOfLocalVariable()
/openbsd/src/gnu/llvm/clang/tools/libclang/
DCXIndexDataConsumer.cpp287 if (!D->hasAttrs()) in AttrListInfo()
1165 if (D->hasAttrs()) { in getEntityInfo()
DCIndex.cpp4353 if (D->hasAttrs()) { in clang_Cursor_hasAttrs()
/openbsd/src/gnu/llvm/clang/lib/Sema/
DSemaCUDA.cpp109 return D->hasAttrs() && llvm::any_of(D->getAttrs(), [&](Attr *Attribute) { in hasAttr()
DSemaOpenMP.cpp2878 VD->getName(), VD->hasAttrs() ? &VD->getAttrs() : nullptr, DRE); in EndOpenMPDSABlock()
7590 if (NewFD->hasAttrs() && NewFD->hasAttr<OMPDeclareVariantAttr>()) { in checkOpenMPDeclareVariantFunction()
9030 LCDecl->hasAttrs() ? &LCDecl->getAttrs() : nullptr, in buildPrivateCounterVar()
18078 D->hasAttrs() ? &D->getAttrs() : nullptr, in ActOnOpenMPPrivateClause()
18315 D->hasAttrs() ? &D->getAttrs() : nullptr, in ActOnOpenMPFirstprivateClause()
18521 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPLastprivateClause()
18526 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPLastprivateClause()
19373 D->hasAttrs() ? &D->getAttrs() : nullptr); in actOnOMPReductionKindClause()
19375 D->hasAttrs() ? &D->getAttrs() : nullptr); in actOnOMPReductionKindClause()
19426 D->hasAttrs() ? &D->getAttrs() : nullptr, in actOnOMPReductionKindClause()
[all …]
DSemaDecl.cpp3001 if (!New->hasAttrs()) in checkNewAttributesAfterDef()
3181 if (!Old->hasAttrs() && !New->hasAttrs()) in mergeDeclAttributes()
3273 if (!Old->hasAttrs()) in mergeDeclAttributes()
3276 bool foundAny = New->hasAttrs(); in mergeDeclAttributes()
3338 if (!oldDecl->hasAttrs()) in mergeParamDeclAttributes()
3341 bool foundAny = newDecl->hasAttrs(); in mergeParamDeclAttributes()
8464 if (NewVD->hasAttrs()) in CheckVariableDeclarationType()
18100 if (NewFD->hasAttrs()) in CheckFieldDecl()
18924 if (Record->hasAttrs()) { in ActOnFields()
19781 if (Enum->hasAttrs()) in ActOnEnumBody()
DSemaStmt.cpp3943 if (FD->hasAttrs()) in BuildReturnStmt()
3960 if (MD->hasAttrs()) in BuildReturnStmt()
DSemaObjCProperty.cpp1061 if (Decl->hasAttrs()) in RedeclarePropertyAccessor()
DSemaDeclAttr.cpp2454 if (D->hasAttrs()) { in mergeAvailabilityAttr()
4494 assert(D->hasAttrs() && "no attributes on decl"); in CheckAlignasUnderalignment()
DSemaTemplateInstantiateDecl.cpp1256 if (Field->hasAttrs()) in VisitFieldDecl()
DSemaTemplate.cpp3993 ClassTemplate->getTemplatedDecl()->hasAttrs()) { in CheckTemplateIdType()
/openbsd/src/gnu/llvm/clang/lib/Index/
DCommentToXML.cpp993 if (DI->CommentDecl->hasAttrs()) { in visitFullComment()
/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
DMallocChecker.cpp1089 if (Func->hasAttrs()) { in isFreeingOwnershipAttrCall()
1443 if (FD->hasAttrs()) in checkOwnershipAttr()

12