Home
last modified time | relevance | path

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

12

/external/clang/lib/StaticAnalyzer/Checkers/
DObjCUnusedIVarsChecker.cpp129 ID->getAttr<UnusedAttr>() || ID->getAttr<IBOutletAttr>() || in checkObjCUnusedIvar()
130 ID->getAttr<IBOutletCollectionAttr>() || in checkObjCUnusedIvar()
DDeadStoresChecker.cpp215 !(VD->getAttr<UnusedAttr>() || VD->getAttr<BlocksAttr>())) { in CheckVarDecl()
340 if (!isLive(Live, V) && V->getAttr<UnusedAttr>() == 0) { in observeStmt()
DRetainCountChecker.cpp1151 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 …]
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.cpp41 const NonNullAttr *Att = FD->getAttr<NonNullAttr>(); in checkPreCall()
/external/clang/lib/ARCMigrate/
DTransUnbridgedCasts.cpp120 if (FD->getAttr<CFReturnsRetainedAttr>()) { in transformNonObjCToObjCCast()
124 if (FD->getAttr<CFReturnsNotRetainedAttr>()) { in transformNonObjCToObjCCast()
355 if (PD->getAttr<CFConsumedAttr>()) { in isPassedToCParamWithKnownOwnership()
DTransBlockObjCVariable.cpp137 BlocksAttr *attr = var->getAttr<BlocksAttr>(); in traverseBody()
DTransforms.cpp81 if (FD->getAttr<CFReturnsRetainedAttr>()) in isPlusOneAssign()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp294 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 …]
DCGDeclCXX.cpp251 unsigned int order = D->getAttr<InitPriorityAttr>()->getPriority(); in EmitCXXGlobalVarDeclInitFunc()
DCodeGenFunction.cpp299 WorkGroupSizeHintAttr *attr = FD->getAttr<WorkGroupSizeHintAttr>(); in EmitOpenCLKernelMetadata()
313 ReqdWorkGroupSizeAttr *attr = FD->getAttr<ReqdWorkGroupSizeAttr>(); in EmitOpenCLKernelMetadata()
DTargetInfo.cpp3169 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()
DCGDecl.cpp318 if (const SectionAttr *SA = D.getAttr<SectionAttr>()) in EmitStaticVarDecl()
1212 if (const CleanupAttr *CA = D.getAttr<CleanupAttr>()) { in EmitAutoVarCleanups()
/external/clang/lib/AST/
DCommentDumper.cpp149 const HTMLStartTagComment::Attribute &Attr = C->getAttr(i); in visitHTMLStartTagComment()
/external/clang/tools/libclang/
DCXComment.cpp207 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()
/external/clang/lib/Sema/
DTargetAttributesSema.cpp198 if (DLLImportAttr *Import = D->getAttr<DLLImportAttr>()) { in mergeDLLExportAttr()
DSemaDeclAttr.cpp354 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 …]
DSemaStmt.cpp190 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()
DSemaDecl.cpp2490 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 …]
/external/clang/lib/Analysis/
DThreadSafety.cpp312 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()
/external/libvpx/examples/includes/ASCIIMathPHP-2.0/
DASCIIMathPHP-2.0.class.php209 function getAttr($attr_nm) function in XMLNode
/external/clang/unittests/AST/
DCommentParser.cpp402 StringRef ActualName = HST->getAttr(0).Name; in HasHTMLStartTagAt()
408 StringRef ActualValue = HST->getAttr(0).Value; in HasHTMLStartTagAt()
/external/clang/include/clang/AST/
DComment.h447 const Attribute &getAttr(unsigned Idx) const { in getAttr() function

12