Searched refs:getAttr (Results 1 – 25 of 38) sorted by relevance
12
120 ID->getAttr<UnusedAttr>() || ID->getAttr<IBOutletAttr>() || in checkObjCUnusedIvar()121 ID->getAttr<IBOutletCollectionAttr>() || in checkObjCUnusedIvar()
163 !(VD->getAttr<UnusedAttr>() || VD->getAttr<BlocksAttr>())) { in CheckVarDecl()288 if (!Live.isLive(V) && V->getAttr<UnusedAttr>() == 0) { in observeStmt()
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()
46 const NonNullAttr* Att = FD->getAttr<NonNullAttr>(); in checkPreStmt()
1162 if (pd->getAttr<NSConsumedAttr>()) { in updateSummaryFromAnnotations()1166 } else if (pd->getAttr<CFConsumedAttr>()) { in updateSummaryFromAnnotations()1175 if (FD->getAttr<NSReturnsRetainedAttr>()) { in updateSummaryFromAnnotations()1178 else if (FD->getAttr<CFReturnsRetainedAttr>()) { in updateSummaryFromAnnotations()1181 else if (FD->getAttr<NSReturnsNotRetainedAttr>()) { in updateSummaryFromAnnotations()1184 else if (FD->getAttr<CFReturnsNotRetainedAttr>()) { in updateSummaryFromAnnotations()1188 if (FD->getAttr<CFReturnsRetainedAttr>()) { in updateSummaryFromAnnotations()1191 else if (FD->getAttr<CFReturnsNotRetainedAttr>()) { in updateSummaryFromAnnotations()1207 if (MD->getAttr<NSConsumesSelfAttr>()) { in updateSummaryFromAnnotations()1218 if (pd->getAttr<NSConsumedAttr>()) { in updateSummaryFromAnnotations()[all …]
116 if (FD->getAttr<CFReturnsRetainedAttr>()) { in transformNonObjCToObjCCast()120 if (FD->getAttr<CFReturnsNotRetainedAttr>()) { in transformNonObjCToObjCCast()310 if (PD->getAttr<CFConsumedAttr>()) { in isPassedToCParamWithKnownOwnership()
140 BlocksAttr *attr = var->getAttr<BlocksAttr>(); in traverseBody()
558 if (const SectionAttr *SA = D->getAttr<SectionAttr>()) in SetCommonAttributes()609 if (const SectionAttr *SA = FD->getAttr<SectionAttr>()) in SetFunctionAttributes()768 const AliasAttr *AA = VD->getAttr<AliasAttr>(); in GetWeakRefReference()888 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>(); in TraverseCallExpr()915 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>(); in isTriviallyRecursive()1629 ((!CodeGenOpts.NoCommon && !D->getAttr<NoCommonAttr>()) || in GetLLVMLinkageVarDefinition()1630 D->getAttr<CommonAttr>()) && in GetLLVMLinkageVarDefinition()1632 !D->getAttr<SectionAttr>() && !D->isThreadSpecified() && in GetLLVMLinkageVarDefinition()1633 !D->getAttr<WeakImportAttr>()) { in GetLLVMLinkageVarDefinition()1807 if (const ConstructorAttr *CA = D->getAttr<ConstructorAttr>()) in EmitGlobalFunctionDefinition()[all …]
302 unsigned int order = D->getAttr<InitPriorityAttr>()->getPriority(); in EmitCXXGlobalVarDeclInitFunc()
2936 if (FD->getAttr<CUDAGlobalAttr>()) in SetTargetAttributes()3073 if (const MSP430InterruptAttr *attr = FD->getAttr<MSP430InterruptAttr>()) { in SetTargetAttributes()3444 FD->getAttr<ReqdWorkGroupSizeAttr>()->getXDim()))); in SetTargetAttributes()3447 FD->getAttr<ReqdWorkGroupSizeAttr>()->getYDim()))); in SetTargetAttributes()3450 FD->getAttr<ReqdWorkGroupSizeAttr>()->getZDim()))); in SetTargetAttributes()
312 if (const SectionAttr *SA = D.getAttr<SectionAttr>()) in EmitStaticVarDecl()1191 if (const CleanupAttr *CA = D.getAttr<CleanupAttr>()) { in EmitAutoVarCleanups()
195 if (D->getAttr<DLLExportAttr>()) { in HandleDLLImportAttr()
289 if (!RT->getDecl()->getAttr<LockableAttr>()) { in checkForLockableRecord()480 if (!RT || !RT->getDecl()->getAttr<LockableAttr>()) { in handleAcquireOrderAttr()1383 if (D->getAttr<VecReturnAttr>()) { in handleVecReturnAttr()2094 if (NoThrowAttr *Existing = D->getAttr<NoThrowAttr>()) { in handleNothrowAttr()2109 if (ConstAttr *Existing = D->getAttr<ConstAttr>()) { in handleConstAttr()3375 Existing = D->getAttr<CFUnknownTransferAttr>(); in handleCFTransferAttr()3377 Existing = D->getAttr<CFAuditedTransferAttr>(); in handleCFTransferAttr()
179 if (FD->getAttr<WarnUnusedResultAttr>()) { in DiagnoseUnusedExprResult()183 if (FD->getAttr<PureAttr>()) { in DiagnoseUnusedExprResult()187 if (FD->getAttr<ConstAttr>()) { in DiagnoseUnusedExprResult()198 if (MD && MD->getAttr<WarnUnusedResultAttr>()) { in DiagnoseUnusedExprResult()
2259 if (New->getAttr<WeakImportAttr>() && in MergeVarDecl()2261 !Old->getAttr<WeakImportAttr>()) { in MergeVarDecl()7367 DLLImportAttr *DA = FD->getAttr<DLLImportAttr>(); in ActOnStartOfFunctionDef()7368 if (DA && (!FD->getAttr<DLLExportAttr>())) { in ActOnStartOfFunctionDef()7678 if (!FD->getAttr<FormatAttr>()) { in AddKnownFunctionAttributes()7691 if (!FD->getAttr<FormatAttr>()) in AddKnownFunctionAttributes()7702 if (!FD->getAttr<ConstAttr>()) in AddKnownFunctionAttributes()7707 !FD->getAttr<ReturnsTwiceAttr>()) in AddKnownFunctionAttributes()7709 if (Context.BuiltinInfo.isNoThrow(BuiltinID) && !FD->getAttr<NoThrowAttr>()) in AddKnownFunctionAttributes()7711 if (Context.BuiltinInfo.isConst(BuiltinID) && !FD->getAttr<ConstAttr>()) in AddKnownFunctionAttributes()[all …]
1020 if (PD && PD->getAttr<ScopedLockableAttr>()) in addLocksToSet()1119 if (D->getAttr<PtGuardedVarAttr>() && LSet.isEmpty()) in checkDereference()1137 if (D->getAttr<GuardedVarAttr>() && LSet.isEmpty()) in checkAccess()1477 if (D->getAttr<NoThreadSafetyAnalysisAttr>()) in runAnalysis()
209 function getAttr($attr_nm) function in XMLNode
1803 if (FD->getAttr<WarnUnusedResultAttr>() || in isUnusedResultAWarning()1804 FD->getAttr<PureAttr>() || FD->getAttr<ConstAttr>()) { in isUnusedResultAWarning()1835 if (MD && MD->getAttr<WarnUnusedResultAttr>()) { in isUnusedResultAWarning()
42 if (const VisibilityAttr *A = D->getAttr<VisibilityAttr>()) { in getVisibilityOf()1710 if (getAttr<OverloadableAttr>()) in isExternC()1815 !getAttr<OverloadableAttr>()) in getBuiltinID()
166 if (const AsmLabelAttr *ALA = D->getAttr<AsmLabelAttr>()) { in mangle()
493 if (const AsmLabelAttr *ALA = D->getAttr<AsmLabelAttr>()) in visitFunctionDeclAttrs()
454 template<typename T> T *getAttr() const { in getAttr() function
684 if (VD->getAttr<BlocksAttr>() || !VD->hasLocalStorage()) in VisitBaseRegion()1885 if ((*RI)->getDecl()->getAttr<BlocksAttr>()) in VisitBindingKey()