/freebsd/contrib/llvm-project/clang/lib/Serialization/ |
H A D | ASTWriterDecl.cpp | 379 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 D | ASTWriter.cpp | 5836 Record.push_back(D->hasAttrs()); in WriteDeclUpdatesBlocks() 5837 if (D->hasAttrs()) in WriteDeclUpdatesBlocks()
|
H A D | ASTReaderDecl.cpp | 4699 if (!D->hasAttrs()) in UpdateDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclBase.h | 524 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 D | AttrImpl.cpp | 154 if (llvm::all_of(VD->redecls(), [](const Decl *D) { return !D->hasAttrs(); })) in getActiveAttr()
|
H A D | DeclPrinter.cpp | 260 if (D->hasAttrs()) { in prettyPrintAttributes() 296 if (D->hasAttrs()) { in prettyPrintPragmas() 1473 if (OID->hasAttrs()) { in VisitObjCInterfaceDecl()
|
H A D | Mangle.cpp | 124 if (!getASTContext().getLangOpts().CPlusPlus && !D->hasAttrs()) in shouldMangleDeclName()
|
H A D | DeclBase.cpp | 538 if (!hasAttrs()) in getMaxAlignment() 1015 if (!hasAttrs()) { in addAttr()
|
H A D | ASTImporter.cpp | 9405 if (!FromD->hasAttrs() || ToD->hasAttrs()) in ImportAttrs()
|
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 1128 if (!Decl1->hasAttrs() || !Decl2->hasAttrs()) { in AttributesMatch() 1129 AvailabilityArgsMatch = (Decl1->hasAttrs() == Decl2->hasAttrs()); in AttributesMatch()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGHLSLRuntime.cpp | 342 assert(D.hasAttrs() && "Entry parameter missing annotation attribute!"); in emitInputSemantic()
|
H A D | CGOpenMPRuntimeGPU.cpp | 149 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 D | CGOpenMPRuntime.cpp | 2906 if (VD->hasAttrs()) { in createPrivatesRecordDecl()
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | CommentToXML.cpp | 1006 if (DI->CommentDecl->hasAttrs()) { in visitFullComment()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaCUDA.cpp | 112 return D->hasAttrs() && llvm::any_of(D->getAttrs(), [&](Attr *Attribute) { in hasAttr()
|
H A D | SemaOpenMP.cpp | 2913 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 D | SemaDecl.cpp | 2911 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 D | SemaStmt.cpp | 3805 if (FD->hasAttrs()) in BuildReturnStmt() 3822 if (MD->hasAttrs()) in BuildReturnStmt()
|
H A D | SemaObjCProperty.cpp | 1046 if (Decl->hasAttrs()) in RedeclarePropertyAccessor()
|
H A D | SemaDeclAttr.cpp | 2098 if (D->hasAttrs()) { in mergeAvailabilityAttr() 4139 assert(D->hasAttrs() && "no attributes on decl"); in CheckAlignasUnderalignment()
|
H A D | SemaTemplateInstantiateDecl.cpp | 1337 if (Field->hasAttrs()) in VisitFieldDecl()
|
H A D | SemaTemplate.cpp | 3472 ClassTemplate->getTemplatedDecl()->hasAttrs()) { in CheckTemplateIdType()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | MallocChecker.cpp | 1013 if (Func->hasAttrs()) { in isFreeingOwnershipAttrCall() 1423 if (FD->hasAttrs()) in checkOwnershipAttr()
|