Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp379 DeclBits.addBit(D->hasAttrs()); in VisitDecl()
388 if (D->hasAttrs()) in VisitDecl()
467 !D->hasAttrs() && in VisitTypedefDecl()
545 if (D->getDeclContext() == D->getLexicalDeclContext() && !D->hasAttrs() && in VisitEnumDecl()
586 if (D->getDeclContext() == D->getLexicalDeclContext() && !D->hasAttrs() && in VisitRecordDecl()
913 !D->hasAttrs() && in VisitObjCIvarDecl()
1045 !D->hasAttrs() && in VisitFieldDecl()
1188 if (D->getDeclContext() == D->getLexicalDeclContext() && !D->hasAttrs() && in VisitVarDecl()
1237 if (D->getDeclContext() == D->getLexicalDeclContext() && !D->hasAttrs() && in VisitParmVarDecl()
1446 D->getFirstDecl() == D->getMostRecentDecl() && !D->hasAttrs() && in VisitUsingShadowDecl()
[all …]
H A DASTWriter.cpp5836 Record.push_back(D->hasAttrs()); in WriteDeclUpdatesBlocks()
5837 if (D->hasAttrs()) in WriteDeclUpdatesBlocks()
H A DASTReaderDecl.cpp4699 if (!D->hasAttrs()) in UpdateDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h524 bool hasAttrs() const { return HasAttrs; } in hasAttrs() function
546 return hasAttrs() ? getAttrs().begin() : nullptr; in attr_begin()
549 return hasAttrs() ? getAttrs().end() : nullptr; in attr_end()
580 return hasAttrs() ? getSpecificAttr<T>(getAttrs()) : nullptr; in getAttr()
584 return hasAttrs() && hasSpecificAttr<T>(getAttrs()); in hasAttr()
/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.cpp260 if (D->hasAttrs()) { in prettyPrintAttributes()
296 if (D->hasAttrs()) { in prettyPrintPragmas()
1473 if (OID->hasAttrs()) { in VisitObjCInterfaceDecl()
H A DMangle.cpp124 if (!getASTContext().getLangOpts().CPlusPlus && !D->hasAttrs()) in shouldMangleDeclName()
H A DDeclBase.cpp538 if (!hasAttrs()) in getMaxAlignment()
1015 if (!hasAttrs()) { in addAttr()
H A DASTImporter.cpp9405 if (!FromD->hasAttrs() || ToD->hasAttrs()) in ImportAttrs()
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp1128 if (!Decl1->hasAttrs() || !Decl2->hasAttrs()) { in AttributesMatch()
1129 AvailabilityArgsMatch = (Decl1->hasAttrs() == Decl2->hasAttrs()); in AttributesMatch()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGHLSLRuntime.cpp342 assert(D.hasAttrs() && "Entry parameter missing annotation attribute!"); in emitInputSemantic()
H A DCGOpenMPRuntimeGPU.cpp149 if (VD->hasAttrs()) { in buildRecordForGlobalizedVars()
202 if (VD->hasAttrs() && VD->hasAttr<OMPAllocateDeclAttr>()) in markAsEscaped()
212 if (!FD->hasAttrs()) in markAsEscaped()
2099 if (VD->hasAttrs()) { in getAddressOfLocalVariable()
H A DCGOpenMPRuntime.cpp2906 if (VD->hasAttrs()) { in createPrivatesRecordDecl()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DCommentToXML.cpp1006 if (DI->CommentDecl->hasAttrs()) { in visitFullComment()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCUDA.cpp112 return D->hasAttrs() && llvm::any_of(D->getAttrs(), [&](Attr *Attribute) { in hasAttr()
H A DSemaOpenMP.cpp2913 VD->getName(), VD->hasAttrs() ? &VD->getAttrs() : nullptr, DRE); in EndOpenMPDSABlock()
7530 if (NewFD->hasAttrs() && NewFD->hasAttr<OMPDeclareVariantAttr>()) { in checkOpenMPDeclareVariantFunction()
9000 LCDecl->hasAttrs() ? &LCDecl->getAttrs() : nullptr, in buildPrivateCounterVar()
17213 D->hasAttrs() ? &D->getAttrs() : nullptr, in ActOnOpenMPPrivateClause()
17451 D->hasAttrs() ? &D->getAttrs() : nullptr, in ActOnOpenMPFirstprivateClause()
17658 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPLastprivateClause()
17663 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPLastprivateClause()
18533 D->hasAttrs() ? &D->getAttrs() : nullptr); in actOnOMPReductionKindClause()
18535 D->hasAttrs() ? &D->getAttrs() : nullptr); in actOnOMPReductionKindClause()
18586 D->hasAttrs() ? &D->getAttrs() : nullptr, in actOnOMPReductionKindClause()
[all …]
H A DSemaDecl.cpp2911 if (!New->hasAttrs()) in checkNewAttributesAfterDef()
3090 if (!Old->hasAttrs() && !New->hasAttrs()) in mergeDeclAttributes()
3182 if (!Old->hasAttrs()) in mergeDeclAttributes()
3185 bool foundAny = New->hasAttrs(); in mergeDeclAttributes()
3267 if (!oldDecl->hasAttrs()) in mergeParamDeclAttributes()
3270 bool foundAny = newDecl->hasAttrs(); in mergeParamDeclAttributes()
8514 if (NewVD->hasAttrs()) in CheckVariableDeclarationType()
18496 if (NewFD->hasAttrs()) in CheckFieldDecl()
19205 if (Record->hasAttrs()) { in ActOnFields()
20073 if (Enum->hasAttrs()) in ActOnEnumBody()
H A DSemaStmt.cpp3805 if (FD->hasAttrs()) in BuildReturnStmt()
3822 if (MD->hasAttrs()) in BuildReturnStmt()
H A DSemaObjCProperty.cpp1046 if (Decl->hasAttrs()) in RedeclarePropertyAccessor()
H A DSemaDeclAttr.cpp2098 if (D->hasAttrs()) { in mergeAvailabilityAttr()
4139 assert(D->hasAttrs() && "no attributes on decl"); in CheckAlignasUnderalignment()
H A DSemaTemplateInstantiateDecl.cpp1337 if (Field->hasAttrs()) in VisitFieldDecl()
H A DSemaTemplate.cpp3472 ClassTemplate->getTemplatedDecl()->hasAttrs()) { in CheckTemplateIdType()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp1013 if (Func->hasAttrs()) { in isFreeingOwnershipAttrCall()
1423 if (FD->hasAttrs()) in checkOwnershipAttr()