| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 532 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 D | ASTWriter.cpp | 6493 Record.push_back(D->hasAttrs()); in WriteDeclUpdatesBlocks() 6494 if (D->hasAttrs()) in WriteDeclUpdatesBlocks()
|
| H A D | ASTReaderDecl.cpp | 4835 if (!D->hasAttrs()) in UpdateDecl()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | DeclBase.h | 521 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 D | ASTNodeTraverser.h | 835 if (Node->getDecl()->hasAttrs()) { in VisitLabelStmt()
|
| /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 | 264 if (D->hasAttrs()) { in prettyPrintAttributes() 324 if (D->hasAttrs()) { in prettyPrintPragmas() 1509 if (OID->hasAttrs()) { in VisitObjCInterfaceDecl()
|
| H A D | Mangle.cpp | 140 if (!getASTContext().getLangOpts().CPlusPlus && !D->hasAttrs()) in shouldMangleDeclName()
|
| H A D | DeclBase.cpp | 544 if (!hasAttrs()) in getMaxAlignment() 1028 if (!hasAttrs()) { in addAttr()
|
| H A D | ASTStructuralEquivalence.cpp | 469 if (D1->hasAttrs()) in CheckStructurallyEquivalentAttributes() 471 if (D2->hasAttrs()) in CheckStructurallyEquivalentAttributes()
|
| H A D | ASTImporter.cpp | 9923 if (FromD->hasAttrs()) in Import()
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ThreadSafety.cpp | 1768 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 D | CGHLSLRuntime.cpp | 221 if (!VD->hasAttrs()) { in fillPackoffsetLayout() 389 assert(D.hasAttrs() && "Entry parameter missing annotation attribute!"); in emitInputSemantic()
|
| H A D | CGOpenMPRuntimeGPU.cpp | 150 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 D | CIRGenDecl.cpp | 445 if (d.hasAttrs()) in emitStaticVarDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | CommentToXML.cpp | 1005 if (DI->CommentDecl->hasAttrs()) { in visitFullComment()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCUDA.cpp | 110 return D->hasAttrs() && llvm::any_of(D->getAttrs(), [&](Attr *Attribute) { in hasAttr()
|
| H A D | SemaOpenMP.cpp | 2893 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 D | SemaDecl.cpp | 2942 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 D | SemaStmt.cpp | 3925 if (FD->hasAttrs()) in BuildReturnStmt() 3942 if (MD->hasAttrs()) in BuildReturnStmt()
|
| H A D | SemaObjCProperty.cpp | 1047 if (Decl->hasAttrs()) in RedeclarePropertyAccessor()
|
| H A D | SemaDeclAttr.cpp | 2270 if (D->hasAttrs()) { in mergeAvailabilityAttr() 4717 assert(D->hasAttrs() && "no attributes on decl"); in CheckAlignasUnderalignment()
|
| H A D | SemaTemplateInstantiateDecl.cpp | 1799 if (Field->hasAttrs()) in VisitFieldDecl()
|
| H A D | SemaTemplate.cpp | 3757 ClassTemplate->getTemplatedDecl()->hasAttrs()) { in CheckTemplateIdType()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MallocChecker.cpp | 1147 if (Func->hasAttrs()) { in isFreeingOwnershipAttrCall() 1595 if (FD->hasAttrs()) in checkOwnershipAttr()
|