Searched refs:hasAttr (Results 76 - 100 of 115) sorted by relevance

12345

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp1072 if (!IvarDecl->hasAttr<IBOutletAttr>())
/freebsd-13-stable/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/
H A DRegistry.cpp263 REGISTER_MATCHER(hasAttr);
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp1253 if (OID->hasAttr<DLLImportAttr>())
1255 else if (OID->hasAttr<DLLExportAttr>())
1784 if (SuperClassDecl->hasAttr<DLLImportAttr>())
1786 else if (SuperClassDecl->hasAttr<DLLExportAttr>())
1949 if (OID->getClassInterface()->hasAttr<DLLExportAttr>()) {
H A DCGExprAgg.cpp1099 return (var && var->hasAttr<BlocksAttr>());
1889 if (!FD->hasAttr<NoUniqueAddressAttr>() || !FD->getType()->isRecordType())
H A DCGClass.cpp320 if (VBase && Derived->hasAttr<FinalAttr>()) {
1793 assert((!DD->isTrivial() || DD->hasAttr<DLLExportAttr>()) &&
2236 if (Param->hasAttr<PassObjectSizeAttr>()) {
H A DCGStmtOpenMP.cpp47 if (!I->hasAttr<OMPCaptureNoInitAttr>()) {
211 if (!I->hasAttr<OMPCaptureNoInitAttr>()) {
794 (!VD || !VD->hasAttr<OMPAllocateDeclAttr>())) {
804 (!VD || !VD->hasAttr<OMPAllocateDeclAttr>())) {
1577 if (!CVD->hasAttr<OMPAllocateDeclAttr>())
H A DCGOpenMPRuntimeNVPTX.cpp331 if (VD->hasAttrs() && VD->hasAttr<OMPAllocateDeclAttr>())
4794 if (VD && VD->hasAttr<OMPAllocateDeclAttr>()) {
4951 if (!VD || !VD->hasAttr<OMPAllocateDeclAttr>())
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenMP.cpp1577 if (VD && VD->hasAttr<OMPThreadPrivateDeclAttr>()) {
1589 !(VD->hasAttr<OMPThreadPrivateDeclAttr>() &&
1593 VD->hasAttr<AsmLabelAttr>() && !VD->isLocalVarDecl())) {
2075 !(isa<OMPCapturedExprDecl>(D) && !D->hasAttr<OMPCaptureNoInitAttr>() &&
2930 !(VD->hasAttr<OMPThreadPrivateDeclAttr>() &&
2933 (VD->getStorageClass() == SC_Register && VD->hasAttr<AsmLabelAttr>() &&
2996 if (!VD->hasAttr<OMPAllocateDeclAttr>())
3047 if (VD->hasAttr<OMPAllocateDeclAttr>())
3086 VD->hasAttr<OMPThreadPrivateDeclAttr>() ||
3087 (VD->getStorageClass() == SC_Register && VD->hasAttr<AsmLabelAtt
[all...]
H A DSemaOverload.cpp47 return P->hasAttr<PassObjectSizeAttr>();
901 FD->hasAttr<EnableIfAttr>();
1662 !ToType->hasAttr(attr::ArmMveStrictPolymorphism))) {
2041 if (!UT || !UT->getDecl()->hasAttr<TransparentUnionAttr>())
6234 if (Function->isMultiVersion() && Function->hasAttr<TargetAttr>() &&
6413 !param->hasAttr<CFConsumedAttr>())
6887 if (Method->isMultiVersion() && Method->hasAttr<TargetAttr>() &&
7341 if (Conversion->isMultiVersion() && Conversion->hasAttr<TargetAttr>() &&
9365 bool Cand1Attr = Cand1->hasAttr<EnableIfAttr>();
9366 bool Cand2Attr = Cand2->hasAttr<EnableIfAtt
[all...]
H A DSemaTemplateInstantiateDecl.cpp611 if (New->hasAttr<DLLExportAttr>() || New->hasAttr<DLLImportAttr>()) {
629 if (!New->hasAttr<PointerAttr>())
635 if (!New->hasAttr<OwnerAttr>())
2490 if (Method->hasAttr<UsedAttr>()) {
5082 if (Var->hasAttr<DLLImportAttr>() &&
H A DSemaCast.cpp168 if (PtrType->getPointeeType()->hasAttr(attr::NoDeref)) {
170 if (!DestType->getPointeeType()->hasAttr(attr::NoDeref)) {
H A DSemaExceptionSpec.cpp1006 if (D && isa<FunctionDecl>(D) && D->hasAttr<NoThrowAttr>())
H A DSemaTemplateInstantiate.cpp3238 if (Function->hasAttr<ExcludeFromExplicitInstantiationAttr>())
3283 if (Var->hasAttr<ExcludeFromExplicitInstantiationAttr>())
3317 if (Record->hasAttr<ExcludeFromExplicitInstantiationAttr>())
H A DSemaInit.cpp6743 return RD->hasAttr<T>();
6876 if (CCE->getNumArgs() > 0 && RD->hasAttr<PointerAttr>())
6940 if (Callee->getParamDecl(I)->hasAttr<LifetimeBoundAttr>())
7677 if (VD->hasAttr<BlocksAttr>())
7811 if (S.getLangOpts().MSVCCompat && D->hasAttr<SelectAnyAttr>())
8209 if (FromPtrType->getPointeeType()->hasAttr(attr::NoDeref) &&
8210 !ToPtrType->getPointeeType()->hasAttr(attr::NoDeref)) {
H A DSemaTemplate.cpp6147 if (Entity && Entity->hasAttr<DLLImportAttr>())
9535 bool PreviouslyDLLExported = Specialization->hasAttr<DLLExportAttr>();
9598 !PreviouslyDLLExported && Specialization->hasAttr<DLLExportAttr>();
9623 PrevDecl->hasAttr<DLLExportAttr>()) {
10107 if (Specialization->hasAttr<InternalLinkageAttr>() &&
10120 Specialization->hasAttr<DLLImportAttr>() &&
H A DSemaExprMember.cpp1761 if (Ptr->getPointeeType()->hasAttr(attr::NoDeref))
H A DSemaLambda.cpp1292 return P->hasAttr<PassObjectSizeAttr>();
H A DSemaType.cpp5167 if (LangOpts.ObjCAutoRefCount && Param->hasAttr<NSConsumedAttr>()) {
5178 if (Param->hasAttr<PassObjectSizeAttr>()) {
5183 if (Param->hasAttr<NoEscapeAttr>()) {
7781 if (TypedefTy->getDecl()->hasAttr<OpenCLAccessAttr>()) {
8381 if (!RD->hasAttr<MSInheritanceAttr>()) {
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DAttributor.h392 bool hasAttr(ArrayRef<Attribute::AttrKind> AKs,
1932 this->hasAttr(getAttrKind(), /* IgnoreSubsumingPositions */ false,
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp515 if (!VD->hasAttr<CleanupAttr>())
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h547 template<typename T> bool hasAttr() const { function
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp1017 if (D->hasAttr<BlocksAttr>() && D->getType()->getAsCXXRecordDecl()) {
1076 !(D->hasAttr<BlocksAttr>() && D->getType()->getAsCXXRecordDecl()) &&
2475 if (!FD->hasAttr<AlwaysInlineAttr>()) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DItaniumMangle.cpp578 if (FD->hasAttr<OverloadableAttr>())
717 if (FD->hasAttr<EnableIfAttr>()) {
1330 FD && FD->hasAttr<CUDAGlobalAttr>() &&
H A DMicrosoftMangle.cpp430 if (FD->hasAttr<OverloadableAttr>())
529 if (FD->isExternC() && FD->hasAttr<OverloadableAttr>())
3142 if (Derived->hasAttr<DLLImportAttr>())
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp1597 if (!VD->hasAttr<BlocksAttr>() && VD->hasLocalStorage()) {

Completed in 553 milliseconds

12345