/external/clang/lib/Analysis/ |
D | Consumed.cpp | 196 QT->getAsCXXRecordDecl()->getAttr<ConsumableAttr>(); in mapConsumableAttrState() 266 switch (FunDecl->getAttr<TestTypestateAttr>()->getTestState()) { in testsFor() 579 const CallableWhenAttr *CWAttr = FunDecl->getAttr<CallableWhenAttr>(); in checkCallability() 630 if (ParamTypestateAttr *PTA = Param->getAttr<ParamTypestateAttr>()) { in handleCall() 646 else if (ReturnTypestateAttr *RT = Param->getAttr<ReturnTypestateAttr>()) in handleCall() 663 if (SetTypestateAttr *STA = FunD->getAttr<SetTypestateAttr>()) { in handleCall() 690 if (ReturnTypestateAttr *RTA = Fun->getAttr<ReturnTypestateAttr>()) in propagateReturnType() 784 if (ReturnTypestateAttr *RTA = Constructor->getAttr<ReturnTypestateAttr>()) { in VisitCXXConstructExpr() 871 if (const ParamTypestateAttr *PTA = Param->getAttr<ParamTypestateAttr>()) in VisitParmVarDecl() 1132 const ReturnTypestateAttr *RTA = Param->getAttr<ReturnTypestateAttr>(); in checkParamsForReturnTypestate() [all …]
|
D | ThreadSafety.cpp | 1132 if (const auto *CA = RD->getAttr<CapabilityAttr>()) in ClassifyDiagnostic() 1136 if (const auto *CA = TD->getAttr<CapabilityAttr>()) in ClassifyDiagnostic()
|
D | ThreadSafetyCommon.cpp | 364 if (LockReturnedAttr* At = FD->getAttr<LockReturnedAttr>()) { in translateCallExpr()
|
/external/clang/lib/AST/ |
D | MicrosoftCXXABI.cpp | 155 MSInheritanceAttr *IA = getAttr<MSInheritanceAttr>(); in getMSInheritanceModel() 161 if (MSVtorDispAttr *VDA = getAttr<MSVtorDispAttr>()) in getMSVtorDispMode()
|
D | Mangle.cpp | 120 if (const AsmLabelAttr *ALA = D->getAttr<AsmLabelAttr>()) { in mangleName()
|
D | DeclObjC.cpp | 806 if (const ObjCMethodFamilyAttr *attr = getAttr<ObjCMethodFamilyAttr>()) { in getMethodFamily() 1218 if (ObjCRuntimeNameAttr *ObjCRTName = getAttr<ObjCRuntimeNameAttr>()) in getObjCRuntimeNameAsString() 1639 if (ObjCRuntimeNameAttr *ObjCRTName = getAttr<ObjCRuntimeNameAttr>()) in getObjCRuntimeNameAsString()
|
D | RecordLayoutBuilder.cpp | 1254 if (const MaxFieldAlignmentAttr *MFAA = D->getAttr<MaxFieldAlignmentAttr>()) in InitializeLayout() 2391 if (const MaxFieldAlignmentAttr *MFAA = RD->getAttr<MaxFieldAlignmentAttr>()){ in initializeLayout()
|
/external/clang/include/clang/Sema/ |
D | SemaInternal.h | 83 if (auto *Import = D->getAttr<DLLImportAttr>()) in getDLLAttr() 85 if (auto *Export = D->getAttr<DLLExportAttr>()) in getDLLAttr()
|
/external/clang/lib/ARCMigrate/ |
D | TransBlockObjCVariable.cpp | 137 BlocksAttr *attr = var->getAttr<BlocksAttr>(); in traverseBody()
|
/external/clang/tools/libclang/ |
D | CXComment.cpp | 216 return cxstring::createRef(HST->getAttr(AttrIdx).Name); in clang_HTMLStartTag_getAttrName() 224 return cxstring::createRef(HST->getAttr(AttrIdx).Value); in clang_HTMLStartTag_getAttrValue()
|
/external/clang/lib/CodeGen/ |
D | CGDeclCXX.cpp | 168 &D, DeclPtr, D.getAttr<OMPThreadPrivateDeclAttr>()->getLocation(), in EmitCXXGlobalVarDeclInit() 317 auto *ISA = D->getAttr<InitSegAttr>(); in EmitCXXGlobalVarDeclInitFunc() 335 } else if (auto *IPA = D->getAttr<InitPriorityAttr>()) { in EmitCXXGlobalVarDeclInitFunc()
|
D | CodeGenModule.cpp | 268 const AliasAttr *AA = D->getAttr<AliasAttr>(); in checkAliases() 288 if (const SectionAttr *SA = D->getAttr<SectionAttr>()) { in checkAliases() 548 if (const TLSModelAttr *Attr = D.getAttr<TLSModelAttr>()) { in setTLSMode() 827 if (const SectionAttr *SA = D->getAttr<SectionAttr>()) in setNonAliasAttributes() 910 if (const SectionAttr *SA = FD->getAttr<SectionAttr>()) in SetFunctionAttributes() 1300 const AliasAttr *AA = VD->getAttr<AliasAttr>(); in GetWeakRefReference() 1432 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>(); in TraverseCallExpr() 1459 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>(); in isTriviallyRecursive() 2082 if (const SectionAttr *SA = D->getAttr<SectionAttr>()) { in EmitGlobalVarDefinition() 2486 if (const ConstructorAttr *CA = D->getAttr<ConstructorAttr>()) in EmitGlobalFunctionDefinition() [all …]
|
D | CodeGenFunction.cpp | 494 const OpenCLImageAccessAttr *A = parm->getAttr<OpenCLImageAccessAttr>(); in GenOpenCLArgMetadata() 530 if (const VecTypeHintAttr *A = FD->getAttr<VecTypeHintAttr>()) { in EmitOpenCLKernelMetadata() 546 if (const WorkGroupSizeHintAttr *A = FD->getAttr<WorkGroupSizeHintAttr>()) { in EmitOpenCLKernelMetadata() 555 if (const ReqdWorkGroupSizeAttr *A = FD->getAttr<ReqdWorkGroupSizeAttr>()) { in EmitOpenCLKernelMetadata()
|
D | CGCall.cpp | 135 if (PcsAttr *PCS = D->getAttr<PcsAttr>()) in getCallingConventionForDecl() 1686 if (auto ParmNNAttr = PVD->getAttr<NonNullAttr>()) in getNonNullAttr() 1879 const auto *AVAttr = PVD->getAttr<AlignValueAttr>(); in EmitFunctionProlog() 1882 AVAttr = TOTy->getDecl()->getAttr<AlignValueAttr>(); in EmitFunctionProlog() 2371 if (auto RetNNAttr = CurGD.getDecl()->getAttr<ReturnsNonNullAttr>()) { in EmitFunctionEpilog() 3492 if (const auto *AA = TargetDecl->getAttr<AssumeAlignedAttr>()) { in EmitCall()
|
D | CGDecl.cpp | 370 if (const SectionAttr *SA = D.getAttr<SectionAttr>()) in EmitStaticVarDecl() 1327 if (const CleanupAttr *CA = D.getAttr<CleanupAttr>()) { in EmitAutoVarCleanups()
|
D | TargetInfo.cpp | 4502 const ARMInterruptAttr *Attr = FD->getAttr<ARMInterruptAttr>(); in SetTargetAttributes() 5101 FD->getAttr<CUDALaunchBoundsAttr>()->getMaxThreads()); in SetTargetAttributes() 5106 int MinCTASM = FD->getAttr<CUDALaunchBoundsAttr>()->getMinBlocks(); in SetTargetAttributes() 5441 if (const MSP430InterruptAttr *attr = FD->getAttr<MSP430InterruptAttr>()) { in SetTargetAttributes() 5842 const ReqdWorkGroupSizeAttr *Attr = FD->getAttr<ReqdWorkGroupSizeAttr>(); in SetTargetAttributes() 6032 if (const auto Attr = FD->getAttr<AMDGPUNumVGPRAttr>()) { in SetTargetAttributes() 6039 if (const auto Attr = FD->getAttr<AMDGPUNumSGPRAttr>()) { in SetTargetAttributes()
|
/external/clang/lib/Sema/ |
D | SemaAttr.cpp | 381 if (auto A = Decl->getAttr<SectionAttr>()) in UnifySection() 384 if (auto A = OtherDecl->getAttr<SectionAttr>()) in UnifySection()
|
D | SemaDeclAttr.cpp | 248 if (AttrTy *A = D->getAttr<AttrTy>()) { in checkAttrMutualExclusion() 1661 if (VecReturnAttr *A = D->getAttr<VecReturnAttr>()) { in handleVecReturnAttr() 1997 T *existingAttr = D->getAttr<T>(); in mergeVisibilityAttr() 2320 WorkGroupAttr *Existing = D->getAttr<WorkGroupAttr>(); in handleWorkGroupSize() 2350 if (VecTypeHintAttr *A = D->getAttr<VecTypeHintAttr>()) { in handleVecTypeHint() 2365 if (SectionAttr *ExistingAttr = D->getAttr<SectionAttr>()) { in mergeSectionAttr() 3216 if (OptimizeNoneAttr *Optnone = D->getAttr<OptimizeNoneAttr>()) { in mergeAlwaysInlineAttr() 3231 if (OptimizeNoneAttr *Optnone = D->getAttr<OptimizeNoneAttr>()) { in mergeMinSizeAttr() 3245 if (AlwaysInlineAttr *Inline = D->getAttr<AlwaysInlineAttr>()) { in mergeOptimizeNoneAttr() 3250 if (MinSizeAttr *MinSize = D->getAttr<MinSizeAttr>()) { in mergeOptimizeNoneAttr() [all …]
|
D | SemaStmtAsm.cpp | 92 S.Diag(Func->getAttr<NakedAttr>()->getLocation(), diag::note_attribute); in CheckNakedParmReference() 98 S.Diag(Func->getAttr<NakedAttr>()->getLocation(), diag::note_attribute); in CheckNakedParmReference()
|
D | SemaDecl.cpp | 2356 if (UsedAttr *OldAttr = Old->getMostRecentDecl()->getAttr<UsedAttr>()) { in mergeDeclAttributes() 2419 const CarriesDependencyAttr *CDA = newDecl->getAttr<CarriesDependencyAttr>(); in mergeParamDeclAttributes() 2862 const CXX11NoReturnAttr *NRA = New->getAttr<CXX11NoReturnAttr>(); in MergeFunctionDecl() 2873 const CarriesDependencyAttr *CDA = New->getAttr<CarriesDependencyAttr>(); in MergeFunctionDecl() 5205 if (WeakAttr *Attr = ND.getAttr<WeakAttr>()) { in checkAttributesAfterMerging() 5211 if (WeakRefAttr *Attr = ND.getAttr<WeakRefAttr>()) { in checkAttributesAfterMerging() 5221 if (const auto *Attr = VD->getAttr<AliasAttr>()) { in checkAttributesAfterMerging() 5232 if (SelectAnyAttr *Attr = ND.getAttr<SelectAnyAttr>()) { in checkAttributesAfterMerging() 5260 const DLLImportAttr *OldImportAttr = OldDecl->getAttr<DLLImportAttr>(); in checkDLLAttributeRedeclaration() 5261 const DLLExportAttr *OldExportAttr = OldDecl->getAttr<DLLExportAttr>(); in checkDLLAttributeRedeclaration() [all …]
|
D | SemaObjCProperty.cpp | 2017 if (const SectionAttr *SA = property->getAttr<SectionAttr>()) in ProcessPropertyDecl() 2072 if (const SectionAttr *SA = property->getAttr<SectionAttr>()) in ProcessPropertyDecl()
|
/external/clang/unittests/AST/ |
D | CommentParser.cpp | 403 StringRef ActualName = HST->getAttr(0).Name; in HasHTMLStartTagAt() 409 StringRef ActualValue = HST->getAttr(0).Value; in HasHTMLStartTagAt()
|
/external/clang/include/clang/AST/ |
D | Comment.h | 482 const Attribute &getAttr(unsigned Idx) const { in getAttr() function
|
D | DeclBase.h | 479 template<typename T> T *getAttr() const { in getAttr() function
|
/external/clang/lib/Index/ |
D | CommentToXML.cpp | 207 const HTMLStartTagComment::Attribute &Attr = C->getAttr(i); in printHTMLStartTagComment()
|