Searched refs:getAttr (Results 1 – 25 of 44) sorted by relevance
12
129 ID->getAttr<UnusedAttr>() || ID->getAttr<IBOutletAttr>() || in checkObjCUnusedIvar()130 ID->getAttr<IBOutletCollectionAttr>() || in checkObjCUnusedIvar()
215 !(VD->getAttr<UnusedAttr>() || VD->getAttr<BlocksAttr>())) { in CheckVarDecl()340 if (!isLive(Live, V) && V->getAttr<UnusedAttr>() == 0) { in observeStmt()
1151 if (FD->getAttr<CFAuditedTransferAttr>()) { in getFunctionSummary()1302 if (pd->getAttr<NSConsumedAttr>()) { in updateSummaryFromAnnotations()1306 } else if (pd->getAttr<CFConsumedAttr>()) { in updateSummaryFromAnnotations()1315 if (FD->getAttr<NSReturnsRetainedAttr>()) { in updateSummaryFromAnnotations()1318 else if (FD->getAttr<CFReturnsRetainedAttr>()) { in updateSummaryFromAnnotations()1321 else if (FD->getAttr<NSReturnsNotRetainedAttr>()) { in updateSummaryFromAnnotations()1324 else if (FD->getAttr<CFReturnsNotRetainedAttr>()) { in updateSummaryFromAnnotations()1328 if (FD->getAttr<CFReturnsRetainedAttr>()) { in updateSummaryFromAnnotations()1331 else if (FD->getAttr<CFReturnsNotRetainedAttr>()) { in updateSummaryFromAnnotations()1348 if (MD->getAttr<NSConsumesSelfAttr>()) { in updateSummaryFromAnnotations()[all …]
121 ID->getAttr<IBOutletAttr>() || // Skip IBOutlets. in checkObjCDealloc()122 ID->getAttr<IBOutletCollectionAttr>()) // Skip IBOutletCollections. in checkObjCDealloc()
50 if (FD->getAttr<AnalyzerNoReturnAttr>()) in checkPostStmt()
73 if (VD->getAttr<BlocksAttr>() || !VD->hasLocalStorage()) in checkPostStmt()
41 const NonNullAttr *Att = FD->getAttr<NonNullAttr>(); in checkPreCall()
120 if (FD->getAttr<CFReturnsRetainedAttr>()) { in transformNonObjCToObjCCast()124 if (FD->getAttr<CFReturnsNotRetainedAttr>()) { in transformNonObjCToObjCCast()355 if (PD->getAttr<CFConsumedAttr>()) { in isPassedToCParamWithKnownOwnership()
137 BlocksAttr *attr = var->getAttr<BlocksAttr>(); in traverseBody()
81 if (FD->getAttr<CFReturnsRetainedAttr>()) in isPlusOneAssign()
294 const TLSModelAttr *Attr = D.getAttr<TLSModelAttr>(); in setTLSMode()616 if (const SectionAttr *SA = D->getAttr<SectionAttr>()) in SetCommonAttributes()667 if (const SectionAttr *SA = FD->getAttr<SectionAttr>()) in SetFunctionAttributes()826 const AliasAttr *AA = VD->getAttr<AliasAttr>(); in GetWeakRefReference()946 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>(); in TraverseCallExpr()973 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>(); in isTriviallyRecursive()1718 ((!CodeGenOpts.NoCommon && !D->getAttr<NoCommonAttr>()) || in GetLLVMLinkageVarDefinition()1719 D->getAttr<CommonAttr>()) && in GetLLVMLinkageVarDefinition()1721 !D->getAttr<SectionAttr>() && !D->isThreadSpecified() && in GetLLVMLinkageVarDefinition()1722 !D->getAttr<WeakImportAttr>()) { in GetLLVMLinkageVarDefinition()[all …]
251 unsigned int order = D->getAttr<InitPriorityAttr>()->getPriority(); in EmitCXXGlobalVarDeclInitFunc()
299 WorkGroupSizeHintAttr *attr = FD->getAttr<WorkGroupSizeHintAttr>(); in EmitOpenCLKernelMetadata()313 ReqdWorkGroupSizeAttr *attr = FD->getAttr<ReqdWorkGroupSizeAttr>(); in EmitOpenCLKernelMetadata()
3169 if (FD->getAttr<CUDAGlobalAttr>()) in SetTargetAttributes()3306 if (const MSP430InterruptAttr *attr = FD->getAttr<MSP430InterruptAttr>()) { in SetTargetAttributes()3685 FD->getAttr<ReqdWorkGroupSizeAttr>()->getXDim()))); in SetTargetAttributes()3688 FD->getAttr<ReqdWorkGroupSizeAttr>()->getYDim()))); in SetTargetAttributes()3691 FD->getAttr<ReqdWorkGroupSizeAttr>()->getZDim()))); in SetTargetAttributes()
318 if (const SectionAttr *SA = D.getAttr<SectionAttr>()) in EmitStaticVarDecl()1212 if (const CleanupAttr *CA = D.getAttr<CleanupAttr>()) { in EmitAutoVarCleanups()
149 const HTMLStartTagComment::Attribute &Attr = C->getAttr(i); in visitHTMLStartTagComment()
207 return createCXString(HST->getAttr(AttrIdx).Name, /*DupString=*/ false); in clang_HTMLStartTag_getAttrName()215 return createCXString(HST->getAttr(AttrIdx).Value, /*DupString=*/ false); in clang_HTMLStartTag_getAttrValue()521 const HTMLStartTagComment::Attribute &Attr = C->getAttr(i); in PrintHTMLStartTagComment()
198 if (DLLImportAttr *Import = D->getAttr<DLLImportAttr>()) { in mergeDLLExportAttr()
354 if (RT->getDecl()->getAttr<LockableAttr>()) in checkBaseClassIsLockableCallback()384 if (RD->getAttr<LockableAttr>()) in checkForLockableRecord()654 if (!RT || !RT->getDecl()->getAttr<LockableAttr>()) { in checkAcquireOrderAttrCommon()1760 if (D->getAttr<VecReturnAttr>()) { in handleVecReturnAttr()2147 VisibilityAttr *ExistingAttr = D->getAttr<VisibilityAttr>(); in mergeVisibilityAttr()2537 ReqdWorkGroupSizeAttr *A = D->getAttr<ReqdWorkGroupSizeAttr>(); in handleWorkGroupSize()2548 WorkGroupSizeHintAttr *A = D->getAttr<WorkGroupSizeHintAttr>(); in handleWorkGroupSize()2569 if (SectionAttr *ExistingAttr = D->getAttr<SectionAttr>()) { in mergeSectionAttr()2620 if (NoThrowAttr *Existing = D->getAttr<NoThrowAttr>()) { in handleNothrowAttr()2635 if (ConstAttr *Existing = D->getAttr<ConstAttr>()) { in handleConstAttr()[all …]
190 if (FD->getAttr<WarnUnusedResultAttr>()) { in DiagnoseUnusedExprResult()194 if (FD->getAttr<PureAttr>()) { in DiagnoseUnusedExprResult()198 if (FD->getAttr<ConstAttr>()) { in DiagnoseUnusedExprResult()209 if (MD && MD->getAttr<WarnUnusedResultAttr>()) { in DiagnoseUnusedExprResult()
2490 if (New->getAttr<WeakImportAttr>() && in MergeVarDecl()2492 !Old->getAttr<WeakImportAttr>()) { in MergeVarDecl()7711 DLLImportAttr *DA = FD->getAttr<DLLImportAttr>(); in ActOnStartOfFunctionDef()7712 if (DA && (!FD->getAttr<DLLExportAttr>())) { in ActOnStartOfFunctionDef()8032 if (!FD->getAttr<FormatAttr>()) { in AddKnownFunctionAttributes()8045 if (!FD->getAttr<FormatAttr>()) in AddKnownFunctionAttributes()8056 if (!FD->getAttr<ConstAttr>()) in AddKnownFunctionAttributes()8061 !FD->getAttr<ReturnsTwiceAttr>()) in AddKnownFunctionAttributes()8063 if (Context.BuiltinInfo.isNoThrow(BuiltinID) && !FD->getAttr<NoThrowAttr>()) in AddKnownFunctionAttributes()8065 if (Context.BuiltinInfo.isConst(BuiltinID) && !FD->getAttr<ConstAttr>()) in AddKnownFunctionAttributes()[all …]
312 if (LockReturnedAttr* At = MD->getAttr<LockReturnedAttr>()) { in buildSExpr()343 if (LockReturnedAttr* At = FD->getAttr<LockReturnedAttr>()) { in buildSExpr()1818 if (D->getAttr<PtGuardedVarAttr>() && FSet.isEmpty()) in checkDereference()1837 if (D->getAttr<GuardedVarAttr>() && FSet.isEmpty()) in checkAccess()1929 if (PD && PD->getAttr<ScopedLockableAttr>()) in handleCall()2150 if (D->getAttr<NoThreadSafetyAnalysisAttr>()) in runAnalysis()
209 function getAttr($attr_nm) function in XMLNode
402 StringRef ActualName = HST->getAttr(0).Name; in HasHTMLStartTagAt()408 StringRef ActualValue = HST->getAttr(0).Value; in HasHTMLStartTagAt()
447 const Attribute &getAttr(unsigned Idx) const { in getAttr() function