Searched refs:getAttr (Results 1 - 25 of 43) sorted by relevance

12

/external/clang/lib/ARCMigrate/
H A DTransBlockObjCVariable.cpp137 BlocksAttr *attr = var->getAttr<BlocksAttr>();
/external/clang/lib/Analysis/
H A DConsumed.cpp196 QT->getAsCXXRecordDecl()->getAttr<ConsumableAttr>();
266 switch (FunDecl->getAttr<TestTypestateAttr>()->getTestState()) {
579 const CallableWhenAttr *CWAttr = FunDecl->getAttr<CallableWhenAttr>();
630 if (ParamTypestateAttr *PTA = Param->getAttr<ParamTypestateAttr>()) {
646 else if (ReturnTypestateAttr *RT = Param->getAttr<ReturnTypestateAttr>())
663 if (SetTypestateAttr *STA = FunD->getAttr<SetTypestateAttr>()) {
690 if (ReturnTypestateAttr *RTA = Fun->getAttr<ReturnTypestateAttr>())
784 if (ReturnTypestateAttr *RTA = Constructor->getAttr<ReturnTypestateAttr>()) {
871 if (const ParamTypestateAttr *PTA = Param->getAttr<ParamTypestateAttr>())
1121 const ReturnTypestateAttr *RTA = Param->getAttr<ReturnTypestateAtt
[all...]
H A DThreadSafety.cpp1129 if (const auto *CA = RD->getAttr<CapabilityAttr>())
1133 if (const auto *CA = TD->getAttr<CapabilityAttr>())
/external/clang/lib/AST/
H A DMicrosoftCXXABI.cpp181 MSInheritanceAttr *IA = getAttr<MSInheritanceAttr>();
187 if (MSVtorDispAttr *VDA = getAttr<MSVtorDispAttr>())
H A DMangle.cpp120 if (const AsmLabelAttr *ALA = D->getAttr<AsmLabelAttr>()) {
H A DDeclObjC.cpp887 if (const ObjCMethodFamilyAttr *attr = getAttr<ObjCMethodFamilyAttr>()) {
1432 if (ObjCRuntimeNameAttr *ObjCRTName = getAttr<ObjCRuntimeNameAttr>())
1858 if (ObjCRuntimeNameAttr *ObjCRTName = getAttr<ObjCRuntimeNameAttr>())
H A DRecordLayoutBuilder.cpp1251 if (const MaxFieldAlignmentAttr *MFAA = D->getAttr<MaxFieldAlignmentAttr>())
2424 if (const MaxFieldAlignmentAttr *MFAA = RD->getAttr<MaxFieldAlignmentAttr>()){
/external/clang/include/clang/Sema/
H A DSemaInternal.h95 if (auto *Import = D->getAttr<DLLImportAttr>())
97 if (auto *Export = D->getAttr<DLLExportAttr>())
/external/clang/lib/CodeGen/
H A DCGDeclCXX.cpp167 &D, DeclAddr, D.getAttr<OMPThreadPrivateDeclAttr>()->getLocation(),
325 auto *ISA = D->getAttr<InitSegAttr>();
343 } else if (auto *IPA = D->getAttr<InitPriorityAttr>()) {
H A DCodeGenModule.cpp287 const AliasAttr *AA = D->getAttr<AliasAttr>();
307 if (const SectionAttr *SA = D->getAttr<SectionAttr>()) {
606 if (const TLSModelAttr *Attr = D.getAttr<TLSModelAttr>()) {
913 if (const SectionAttr *SA = D->getAttr<SectionAttr>())
1031 if (const SectionAttr *SA = FD->getAttr<SectionAttr>())
1433 const AliasAttr *AA = VD->getAttr<AliasAttr>();
1567 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>();
1623 AsmLabelAttr *Attr = FD->getAttr<AsmLabelAttr>();
2364 if (const SectionAttr *SA = D->getAttr<SectionAttr>()) {
2721 if (const ConstructorAttr *CA = D->getAttr<ConstructorAtt
[all...]
H A DCGCall.cpp164 if (PcsAttr *PCS = D->getAttr<PcsAttr>())
1571 const auto *TD = FD->getAttr<TargetAttr>();
1801 if (auto ParmNNAttr = PVD->getAttr<NonNullAttr>())
1993 const auto *AVAttr = PVD->getAttr<AlignValueAttr>();
1996 AVAttr = TOTy->getDecl()->getAttr<AlignValueAttr>();
2484 if (auto RetNNAttr = CurCodeDecl->getAttr<ReturnsNonNullAttr>()) {
2839 auto *PS = CalleeDecl->getParamDecl(I)->getAttr<PassObjectSizeAttr>();
3662 if (const auto *AA = TargetDecl->getAttr<AssumeAlignedAttr>()) {
H A DCodeGenFunction.cpp552 const OpenCLImageAccessAttr *A = parm->getAttr<OpenCLImageAccessAttr>();
588 if (const VecTypeHintAttr *A = FD->getAttr<VecTypeHintAttr>()) {
604 if (const WorkGroupSizeHintAttr *A = FD->getAttr<WorkGroupSizeHintAttr>()) {
613 if (const ReqdWorkGroupSizeAttr *A = FD->getAttr<ReqdWorkGroupSizeAttr>()) {
H A DCGDecl.cpp375 if (const SectionAttr *SA = D.getAttr<SectionAttr>())
1403 if (const CleanupAttr *CA = D.getAttr<CleanupAttr>()) {
H A DTargetInfo.cpp4837 const ARMInterruptAttr *Attr = FD->getAttr<ARMInterruptAttr>();
5492 if (CUDALaunchBoundsAttr *Attr = FD->getAttr<CUDALaunchBoundsAttr>()) {
5900 if (const MSP430InterruptAttr *attr = FD->getAttr<MSP430InterruptAttr>()) {
5968 const MipsInterruptAttr *Attr = FD->getAttr<MipsInterruptAttr>();
6334 const ReqdWorkGroupSizeAttr *Attr = FD->getAttr<ReqdWorkGroupSizeAttr>();
6511 if (const auto Attr = FD->getAttr<AMDGPUNumVGPRAttr>()) {
6518 if (const auto Attr = FD->getAttr<AMDGPUNumSGPRAttr>()) {
/external/clang/tools/libclang/
H A DCXComment.cpp216 return cxstring::createRef(HST->getAttr(AttrIdx).Name);
224 return cxstring::createRef(HST->getAttr(AttrIdx).Value);
/external/clang/lib/Sema/
H A DSemaAttr.cpp381 if (auto A = Decl->getAttr<SectionAttr>())
384 if (auto A = OtherDecl->getAttr<SectionAttr>())
H A DSemaDeclAttr.cpp249 if (AttrTy *A = D->getAttr<AttrTy>()) {
1721 if (VecReturnAttr *A = D->getAttr<VecReturnAttr>()) {
2178 T *existingAttr = D->getAttr<T>();
2501 WorkGroupAttr *Existing = D->getAttr<WorkGroupAttr>();
2531 if (VecTypeHintAttr *A = D->getAttr<VecTypeHintAttr>()) {
2546 if (SectionAttr *ExistingAttr = D->getAttr<SectionAttr>()) {
3500 if (OptimizeNoneAttr *Optnone = D->getAttr<OptimizeNoneAttr>()) {
3551 if (OptimizeNoneAttr *Optnone = D->getAttr<OptimizeNoneAttr>()) {
3565 if (AlwaysInlineAttr *Inline = D->getAttr<AlwaysInlineAttr>()) {
3570 if (MinSizeAttr *MinSize = D->getAttr<MinSizeAtt
[all...]
H A DSemaStmtAsm.cpp92 S.Diag(Func->getAttr<NakedAttr>()->getLocation(), diag::note_attribute);
98 S.Diag(Func->getAttr<NakedAttr>()->getLocation(), diag::note_attribute);
H A DSemaDecl.cpp2373 if (UsedAttr *OldAttr = Old->getMostRecentDecl()->getAttr<UsedAttr>()) {
2385 if (AsmLabelAttr *NewA = New->getAttr<AsmLabelAttr>()) {
2386 if (AsmLabelAttr *OldA = Old->getAttr<AsmLabelAttr>()) {
2396 << isa<FunctionDecl>(Old) << New->getAttr<AsmLabelAttr>()->getRange();
2450 const CarriesDependencyAttr *CDA = newDecl->getAttr<CarriesDependencyAttr>();
2644 const auto *AttrA = A->getAttr<PassObjectSizeAttr>();
2645 const auto *AttrB = B->getAttr<PassObjectSizeAttr>();
2976 const CXX11NoReturnAttr *NRA = New->getAttr<CXX11NoReturnAttr>();
2987 const CarriesDependencyAttr *CDA = New->getAttr<CarriesDependencyAttr>();
5404 if (WeakAttr *Attr = ND.getAttr<WeakAtt
[all...]
H A DSemaObjCProperty.cpp2172 if (const SectionAttr *SA = property->getAttr<SectionAttr>())
2234 if (const SectionAttr *SA = property->getAttr<SectionAttr>())
/external/clang/lib/Index/
H A DCommentToXML.cpp207 const HTMLStartTagComment::Attribute &Attr = C->getAttr(i);
/external/clang/include/clang/Serialization/
H A DASTWriter.h341 const Attr *getAttr() const { return Attribute; } function in class:clang::ASTWriter::DeclUpdate
/external/clang/unittests/AST/
H A DCommentParser.cpp403 StringRef ActualName = HST->getAttr(0).Name;
409 StringRef ActualValue = HST->getAttr(0).Value;
/external/clang/include/clang/AST/
H A DComment.h482 const Attribute &getAttr(unsigned Idx) const { function in class:clang::comments::HTMLStartTagComment
H A DDeclBase.h490 template<typename T> T *getAttr() const { function in class:clang::Decl

Completed in 883 milliseconds

12