Home
last modified time | relevance | path

Searched refs:getAttr (Results 1 – 25 of 38) sorted by relevance

12

/external/clang/lib/StaticAnalyzer/Checkers/
DObjCUnusedIVarsChecker.cpp120 ID->getAttr<UnusedAttr>() || ID->getAttr<IBOutletAttr>() || in checkObjCUnusedIvar()
121 ID->getAttr<IBOutletCollectionAttr>() || in checkObjCUnusedIvar()
DDeadStoresChecker.cpp163 !(VD->getAttr<UnusedAttr>() || VD->getAttr<BlocksAttr>())) { in CheckVarDecl()
288 if (!Live.isLive(V) && V->getAttr<UnusedAttr>() == 0) { in observeStmt()
DCheckObjCDealloc.cpp121 ID->getAttr<IBOutletAttr>() || // Skip IBOutlets. in checkObjCDealloc()
122 ID->getAttr<IBOutletCollectionAttr>()) // Skip IBOutletCollections. in checkObjCDealloc()
DNoReturnFunctionChecker.cpp50 if (FD->getAttr<AnalyzerNoReturnAttr>()) in checkPostStmt()
DUndefCapturedBlockVarChecker.cpp73 if (VD->getAttr<BlocksAttr>() || !VD->hasLocalStorage()) in checkPostStmt()
DAttrNonNullChecker.cpp46 const NonNullAttr* Att = FD->getAttr<NonNullAttr>(); in checkPreStmt()
DRetainCountChecker.cpp1162 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 …]
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp116 if (FD->getAttr<CFReturnsRetainedAttr>()) { in transformNonObjCToObjCCast()
120 if (FD->getAttr<CFReturnsNotRetainedAttr>()) { in transformNonObjCToObjCCast()
310 if (PD->getAttr<CFConsumedAttr>()) { in isPassedToCParamWithKnownOwnership()
DTransBlockObjCVariable.cpp140 BlocksAttr *attr = var->getAttr<BlocksAttr>(); in traverseBody()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp558 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 …]
DCGDeclCXX.cpp302 unsigned int order = D->getAttr<InitPriorityAttr>()->getPriority(); in EmitCXXGlobalVarDeclInitFunc()
DTargetInfo.cpp2936 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()
DCGDecl.cpp312 if (const SectionAttr *SA = D.getAttr<SectionAttr>()) in EmitStaticVarDecl()
1191 if (const CleanupAttr *CA = D.getAttr<CleanupAttr>()) { in EmitAutoVarCleanups()
/external/clang/lib/Sema/
DTargetAttributesSema.cpp195 if (D->getAttr<DLLExportAttr>()) { in HandleDLLImportAttr()
DSemaDeclAttr.cpp289 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()
DSemaStmt.cpp179 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()
DSemaDecl.cpp2259 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 …]
/external/clang/lib/Analysis/
DThreadSafety.cpp1020 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()
/external/libvpx/examples/includes/ASCIIMathPHP-2.0/
DASCIIMathPHP-2.0.class.php209 function getAttr($attr_nm) function in XMLNode
/external/clang/lib/AST/
DExpr.cpp1803 if (FD->getAttr<WarnUnusedResultAttr>() || in isUnusedResultAWarning()
1804 FD->getAttr<PureAttr>() || FD->getAttr<ConstAttr>()) { in isUnusedResultAWarning()
1835 if (MD && MD->getAttr<WarnUnusedResultAttr>()) { in isUnusedResultAWarning()
DDecl.cpp42 if (const VisibilityAttr *A = D->getAttr<VisibilityAttr>()) { in getVisibilityOf()
1710 if (getAttr<OverloadableAttr>()) in isExternC()
1815 !getAttr<OverloadableAttr>()) in getBuiltinID()
DMicrosoftMangle.cpp166 if (const AsmLabelAttr *ALA = D->getAttr<AsmLabelAttr>()) { in mangle()
DDumpXML.cpp493 if (const AsmLabelAttr *ALA = D->getAttr<AsmLabelAttr>()) in visitFunctionDeclAttrs()
/external/clang/include/clang/AST/
DDeclBase.h454 template<typename T> T *getAttr() const { in getAttr() function
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp684 if (VD->getAttr<BlocksAttr>() || !VD->hasLocalStorage()) in VisitBaseRegion()
1885 if ((*RI)->getDecl()->getAttr<BlocksAttr>()) in VisitBindingKey()

12