Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/lib/AST/
DAttrImpl.cpp137 if (!VD->hasAttrs()) in isDeclareTargetDeclaration()
155 if (!VD->hasAttrs()) in getDeviceType()
173 if (!VD->hasAttrs()) in getLocation()
DMangle.cpp120 if (!getASTContext().getLangOpts().CPlusPlus && !D->hasAttrs()) in shouldMangleDeclName()
DDeclBase.cpp429 if (!hasAttrs()) in getMaxAlignment()
883 if (!hasAttrs()) { in addAttr()
DDeclPrinter.cpp233 if (D->hasAttrs()) { in prettyPrintAttributes()
255 if (D->hasAttrs()) { in prettyPrintPragmas()
/external/clang/include/clang/AST/
DDeclBase.h440 bool hasAttrs() const { return HasAttrs; } in hasAttrs() function
451 if (hasAttrs()) in addAttr()
465 return hasAttrs() ? getAttrs().begin() : nullptr; in attr_begin()
468 return hasAttrs() ? getAttrs().end() : nullptr; in attr_end()
497 return hasAttrs() ? getSpecificAttr<T>(getAttrs()) : nullptr; in getAttr()
500 return hasAttrs() && hasSpecificAttr<T>(getAttrs()); in hasAttr()
/external/llvm-project/clang/include/clang/AST/
DDeclBase.h489 bool hasAttrs() const { return HasAttrs; } in hasAttrs() function
511 return hasAttrs() ? getAttrs().begin() : nullptr; in attr_begin()
514 return hasAttrs() ? getAttrs().end() : nullptr; in attr_end()
544 return hasAttrs() ? getSpecificAttr<T>(getAttrs()) : nullptr; in getAttr()
548 return hasAttrs() && hasSpecificAttr<T>(getAttrs()); in hasAttr()
/external/clang/lib/Serialization/
DASTWriterDecl.cpp289 Record.push_back(D->hasAttrs()); in VisitDecl()
290 if (D->hasAttrs()) in VisitDecl()
373 !D->hasAttrs() && in VisitTypedefDecl()
436 !D->hasAttrs() && in VisitEnumDecl()
465 !D->hasAttrs() && in VisitRecordDecl()
722 !D->hasAttrs() && in VisitObjCIvarDecl()
854 !D->hasAttrs() && in VisitFieldDecl()
931 !D->hasAttrs() && in VisitVarDecl()
981 !D->hasAttrs() && in VisitParmVarDecl()
1212 !D->hasAttrs() && in VisitCXXMethodDecl()
/external/llvm-project/clang/lib/Analysis/
DThreadSafety.cpp1531 if(!FunDecl || !FunDecl->hasAttrs()) in getEdgeLockset()
1755 if (!D || !D->hasAttrs()) in checkAccess()
1794 if (!D || !D->hasAttrs()) in checkPtAccess()
2103 if(!D || !D->hasAttrs()) in VisitCallExpr()
2169 if (!CtorD || !CtorD->hasAttrs()) in VisitDeclStmt()
2182 if (!CtorD || !CtorD->hasAttrs()) in VisitDeclStmt()
2326 if (!SortedGraph->empty() && D->hasAttrs()) { in runAnalysis()
2493 if (!DD->hasAttrs()) in runAnalysis()
/external/llvm-project/clang/lib/Serialization/
DASTWriterDecl.cpp304 Record.push_back(D->hasAttrs()); in VisitDecl()
305 if (D->hasAttrs()) in VisitDecl()
389 !D->hasAttrs() && in VisitTypedefDecl()
454 !D->hasAttrs() && in VisitEnumDecl()
491 !D->hasAttrs() && in VisitRecordDecl()
797 !D->hasAttrs() && in VisitObjCIvarDecl()
931 !D->hasAttrs() && in VisitFieldDecl()
1055 !D->hasAttrs() && in VisitVarDecl()
1103 !D->hasAttrs() && in VisitParmVarDecl()
1381 !D->hasAttrs() && in VisitCXXMethodDecl()
/external/clang/lib/Analysis/
DThreadSafety.cpp1411 if(!FunDecl || !FunDecl->hasAttrs()) in getEdgeLockset()
1625 if (!D || !D->hasAttrs()) in checkAccess()
1665 if (!D || !D->hasAttrs()) in checkPtAccess()
1967 if(!D || !D->hasAttrs()) in VisitCallExpr()
1994 if (!CtorD || !CtorD->hasAttrs()) in VisitDeclStmt()
2142 if (!SortedGraph->empty() && D->hasAttrs()) { in runAnalysis()
2309 if (!DD->hasAttrs()) in runAnalysis()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseOverrideCheck.cpp155 if (Method->hasAttrs()) { in check()
/external/clang/lib/AST/
DMangle.cpp106 if (!getASTContext().getLangOpts().CPlusPlus && !D->hasAttrs()) in shouldMangleDeclName()
DDeclPrinter.cpp204 if (D->hasAttrs()) { in prettyPrintAttributes()
224 if (D->hasAttrs()) { in prettyPrintPragmas()
/external/llvm-project/polly/lib/External/isl/interface/
Dextract_interface.cc119 if (!decl->hasAttrs()) in has_annotation()
Dgenerator.cc462 if (!decl->hasAttrs()) in find_superclasses()
/external/llvm-project/clang/lib/ARCMigrate/
DObjCMT.cpp1134 if (!Decl1->hasAttrs() || !Decl2->hasAttrs()) { in AttributesMatch()
1135 AvailabilityArgsMatch = (Decl1->hasAttrs() == Decl2->hasAttrs()); in AttributesMatch()
/external/clang/lib/ARCMigrate/
DObjCMT.cpp1141 if (!Decl1->hasAttrs() || !Decl2->hasAttrs()) { in AttributesMatch()
1142 AvailabilityArgsMatch = (Decl1->hasAttrs() == Decl2->hasAttrs()); in AttributesMatch()
/external/clang/lib/Sema/
DSemaOpenMP.cpp1086 VD->getName(), VD->hasAttrs() ? &VD->getAttrs() : nullptr); in EndOpenMPDSABlock()
4539 LCDecl->hasAttrs() ? &LCDecl->getAttrs() : nullptr); in BuildPrivateCounterVar()
8289 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPPrivateClause()
8547 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPFirstprivateClause()
8719 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPLastprivateClause()
8724 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPLastprivateClause()
9293 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPReductionClause()
9295 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPReductionClause()
9314 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPReductionClause()
9654 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPLinearClause()
[all …]
DSemaDecl.cpp2345 if (!New->hasAttrs()) in checkNewAttributesAfterDef()
2435 if (!Old->hasAttrs() && !New->hasAttrs()) in mergeDeclAttributes()
2474 if (!Old->hasAttrs()) in mergeDeclAttributes()
2477 bool foundAny = New->hasAttrs(); in mergeDeclAttributes()
2538 if (!oldDecl->hasAttrs()) in mergeParamDeclAttributes()
2541 bool foundAny = newDecl->hasAttrs(); in mergeParamDeclAttributes()
6769 if (NewVD->hasAttrs()) in CheckVariableDeclarationType()
13612 if (NewFD->hasAttrs()) in CheckFieldDecl()
14139 if (Record->hasAttrs()) { in ActOnFields()
15007 if (Enum->hasAttrs()) in ActOnEnumBody()
/external/llvm-project/clang/lib/Sema/
DSemaCUDA.cpp101 return D->hasAttrs() && llvm::any_of(D->getAttrs(), [&](Attr *Attribute) { in hasAttr()
DSemaOpenMP.cpp2625 VD->getName(), VD->hasAttrs() ? &VD->getAttrs() : nullptr, DRE); in EndOpenMPDSABlock()
6125 return FD->hasAttrs() && in checkOpenMPDeclareVariantFunction()
6286 if (NewFD->hasAttrs() && NewFD->hasAttr<OMPDeclareVariantAttr>()) { in checkOpenMPDeclareVariantFunction()
7670 LCDecl->hasAttrs() ? &LCDecl->getAttrs() : nullptr, in buildPrivateCounterVar()
13968 D->hasAttrs() ? &D->getAttrs() : nullptr, in ActOnOpenMPPrivateClause()
14221 D->hasAttrs() ? &D->getAttrs() : nullptr, in ActOnOpenMPFirstprivateClause()
14421 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPLastprivateClause()
14426 D->hasAttrs() ? &D->getAttrs() : nullptr); in ActOnOpenMPLastprivateClause()
15258 D->hasAttrs() ? &D->getAttrs() : nullptr); in actOnOMPReductionKindClause()
15260 D->hasAttrs() ? &D->getAttrs() : nullptr); in actOnOMPReductionKindClause()
[all …]
/external/llvm-project/clang/tools/libclang/
DCXIndexDataConsumer.cpp282 if (!D->hasAttrs()) in AttrListInfo()
1152 if (D->hasAttrs()) { in getEntityInfo()
/external/clang/tools/libclang/
DCXIndexDataConsumer.cpp279 if (!D->hasAttrs()) in AttrListInfo()
1156 if (D->hasAttrs()) { in getEntityInfo()
/external/llvm-project/clang/lib/Index/
DCommentToXML.cpp993 if (DI->CommentDecl->hasAttrs()) { in visitFullComment()
/external/clang/lib/Index/
DCommentToXML.cpp996 if (DI->CommentDecl->hasAttrs()) { in visitFullComment()

12