Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp532 DeclBits.addBit(D->hasAttrs()); in VisitDecl()
541 if (D->hasAttrs()) in VisitDecl()
620 !D->hasAttrs() && in VisitTypedefDecl()
698 if (D->getDeclContext() == D->getLexicalDeclContext() && !D->hasAttrs() && in VisitEnumDecl()
740 if (D->getDeclContext() == D->getLexicalDeclContext() && !D->hasAttrs() && in VisitRecordDecl()
1086 !D->hasAttrs() && in VisitObjCIvarDecl()
1219 !D->hasAttrs() && in VisitFieldDecl()
1351 if (D->getDeclContext() == D->getLexicalDeclContext() && !D->hasAttrs() && in VisitVarDecl()
1401 if (D->getDeclContext() == D->getLexicalDeclContext() && !D->hasAttrs() && in VisitParmVarDecl()
1621 D->getFirstDecl() == D->getMostRecentDecl() && !D->hasAttrs() && in VisitUsingShadowDecl()
[all …]
H A DASTWriter.cpp6493 Record.push_back(D->hasAttrs()); in WriteDeclUpdatesBlocks()
6494 if (D->hasAttrs()) in WriteDeclUpdatesBlocks()
H A DASTReaderDecl.cpp4835 if (!D->hasAttrs()) in UpdateDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h521 bool hasAttrs() const { return HasAttrs; } in hasAttrs() function
543 return hasAttrs() ? getAttrs().begin() : nullptr; in attr_begin()
546 return hasAttrs() ? getAttrs().end() : nullptr; in attr_end()
577 return hasAttrs() ? getSpecificAttr<T>(getAttrs()) : nullptr; in getAttr()
581 return hasAttrs() && hasSpecificAttr<T>(getAttrs()); in hasAttr()
H A DASTNodeTraverser.h835 if (Node->getDecl()->hasAttrs()) { in VisitLabelStmt()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DAttrImpl.cpp154 if (llvm::all_of(VD->redecls(), [](const Decl *D) { return !D->hasAttrs(); })) in getActiveAttr()
H A DDeclPrinter.cpp264 if (D->hasAttrs()) { in prettyPrintAttributes()
324 if (D->hasAttrs()) { in prettyPrintPragmas()
1509 if (OID->hasAttrs()) { in VisitObjCInterfaceDecl()
H A DMangle.cpp140 if (!getASTContext().getLangOpts().CPlusPlus && !D->hasAttrs()) in shouldMangleDeclName()
H A DDeclBase.cpp544 if (!hasAttrs()) in getMaxAlignment()
1028 if (!hasAttrs()) { in addAttr()
H A DASTStructuralEquivalence.cpp469 if (D1->hasAttrs()) in CheckStructurallyEquivalentAttributes()
471 if (D2->hasAttrs()) in CheckStructurallyEquivalentAttributes()
H A DASTImporter.cpp9923 if (FromD->hasAttrs()) in Import()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafety.cpp1768 if (!D || !D->hasAttrs()) in checkAccess()
1833 if (!D || !D->hasAttrs()) in checkPtAccess()
1870 if (D->hasAttrs() && TagT && Exp->isPRValue()) { in handleCall()
2237 if (D && D->hasAttrs()) in VisitCXXConstructExpr()
2662 if (!DD->hasAttrs()) in runAnalysis()
2688 if (DD->hasAttrs()) in runAnalysis()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLRuntime.cpp221 if (!VD->hasAttrs()) { in fillPackoffsetLayout()
389 assert(D.hasAttrs() && "Entry parameter missing annotation attribute!"); in emitInputSemantic()
H A DCGOpenMPRuntimeGPU.cpp150 if (VD->hasAttrs()) { in buildRecordForGlobalizedVars()
203 if (VD->hasAttrs() && VD->hasAttr<OMPAllocateDeclAttr>()) in markAsEscaped()
213 if (!FD->hasAttrs()) in markAsEscaped()
2096 if (VD->hasAttrs()) { in getAddressOfLocalVariable()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenDecl.cpp445 if (d.hasAttrs()) in emitStaticVarDecl()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp1005 if (DI->CommentDecl->hasAttrs()) { in visitFullComment()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp110 return D->hasAttrs() && llvm::any_of(D->getAttrs(), [&](Attr *Attribute) { in hasAttr()
H A DSemaOpenMP.cpp2893 VD->hasAttrs() ? &VD->getAttrs() : nullptr, DRE); in EndOpenMPDSABlock()
7479 if (NewFD->hasAttrs() && NewFD->hasAttr<OMPDeclareVariantAttr>()) { in checkOpenMPDeclareVariantFunction()
9039 LCDecl->hasAttrs() ? &LCDecl->getAttrs() : nullptr, in buildPrivateCounterVar()
17832 D->hasAttrs() ? &D->getAttrs() : nullptr, in ActOnOpenMPPrivateClause()
18073 D->hasAttrs() ? &D->getAttrs() : nullptr, in ActOnOpenMPFirstprivateClause()
18280 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPLastprivateClause()
18285 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPLastprivateClause()
19188 D->hasAttrs() ? &D->getAttrs() : nullptr); in actOnOMPReductionKindClause()
19190 D->hasAttrs() ? &D->getAttrs() : nullptr); in actOnOMPReductionKindClause()
19241 D->hasAttrs() ? &D->getAttrs() : nullptr, in actOnOMPReductionKindClause()
[all …]
H A DSemaDecl.cpp2942 if (!New->hasAttrs()) in checkNewAttributesAfterDef()
3146 if (!Old->hasAttrs() && !New->hasAttrs()) in mergeDeclAttributes()
3238 if (!Old->hasAttrs()) in mergeDeclAttributes()
3241 bool foundAny = New->hasAttrs(); in mergeDeclAttributes()
3307 if (!From->hasAttrs()) { in propagateAttributes()
3311 bool foundAny = To->hasAttrs(); in propagateAttributes()
8714 if (NewVD->hasAttrs()) in CheckVariableDeclarationType()
19039 if (NewFD->hasAttrs()) in CheckFieldDecl()
19786 if (Record->hasAttrs()) { in ActOnFields()
20558 if (Enum->hasAttrs()) in ActOnEnumBody()
H A DSemaStmt.cpp3925 if (FD->hasAttrs()) in BuildReturnStmt()
3942 if (MD->hasAttrs()) in BuildReturnStmt()
H A DSemaObjCProperty.cpp1047 if (Decl->hasAttrs()) in RedeclarePropertyAccessor()
H A DSemaDeclAttr.cpp2270 if (D->hasAttrs()) { in mergeAvailabilityAttr()
4717 assert(D->hasAttrs() && "no attributes on decl"); in CheckAlignasUnderalignment()
H A DSemaTemplateInstantiateDecl.cpp1799 if (Field->hasAttrs()) in VisitFieldDecl()
H A DSemaTemplate.cpp3757 ClassTemplate->getTemplatedDecl()->hasAttrs()) { in CheckTemplateIdType()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp1147 if (Func->hasAttrs()) { in isFreeingOwnershipAttrCall()
1595 if (FD->hasAttrs()) in checkOwnershipAttr()

12