Home
last modified time | relevance | path

Searched refs:addAttr (Results 1 – 25 of 29) sorted by relevance

12

/external/clang/lib/Sema/
DSemaCUDA.cpp211 MemberDecl->addAttr(CUDAInvalidTargetAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
257 MemberDecl->addAttr(CUDAInvalidTargetAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
265 MemberDecl->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
267 MemberDecl->addAttr(CUDAHostAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
269 MemberDecl->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
270 MemberDecl->addAttr(CUDAHostAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
275 MemberDecl->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
276 MemberDecl->addAttr(CUDAHostAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
DSemaDeclAttr.cpp345 D->addAttr(::new (S.Context) AttrType(Attr.getRange(), S.Context, in handleSimpleAttribute()
580 D->addAttr(::new (S.Context) in handlePtGuardedVarAttr()
605 D->addAttr(::new (S.Context) GuardedByAttr(Attr.getRange(), S.Context, Arg, in handleGuardedByAttr()
618 D->addAttr(::new (S.Context) PtGuardedByAttr(Attr.getRange(), in handlePtGuardedByAttr()
655 D->addAttr(::new (S.Context) in handleAcquiredAfterAttr()
668 D->addAttr(::new (S.Context) in handleAcquiredBeforeAttr()
692 D->addAttr(::new (S.Context) in handleAssertSharedLockAttr()
705 D->addAttr(::new (S.Context) in handleAssertExclusiveLockAttr()
736 D->addAttr(::new (S.Context) in handleSharedTrylockFunctionAttr()
749 D->addAttr(::new (S.Context) ExclusiveTrylockFunctionAttr( in handleExclusiveTrylockFunctionAttr()
[all …]
DSemaAttr.cpp125 RD->addAttr(AlignMac68kAttr::CreateImplicit(Context)); in AddAlignmentAttributesForRecord()
127 RD->addAttr(MaxFieldAlignmentAttr::CreateImplicit(Context, in AddAlignmentAttributesForRecord()
134 RD->addAttr(MSStructAttr::CreateImplicit(Context)); in AddMsStructLayoutForRecord()
140 RD->addAttr( in AddMsStructLayoutForRecord()
470 VD->addAttr(UnusedAttr::CreateImplicit(Context, IdTok.getLocation())); in ActOnPragmaUnused()
482 D->addAttr(CFAuditedTransferAttr::CreateImplicit(Context, Loc)); in AddCFAuditedAttribute()
508 FD->addAttr(OptimizeNoneAttr::CreateImplicit(Context, Loc)); in AddOptnoneAttributeIfNoConflicts()
510 FD->addAttr(NoInlineAttr::CreateImplicit(Context, Loc)); in AddOptnoneAttributeIfNoConflicts()
532 D->addAttr(VisibilityAttr::CreateImplicit(Context, type, loc)); in AddPushedVisibilityAttribute()
DSemaDecl.cpp2178 New->addAttr(Clone); in mergeAlignedAttrs()
2187 New->addAttr(Clone); in mergeAlignedAttrs()
2246 D->addAttr(NewAttr); in mergeDeclAttribute()
2359 New->addAttr(NewAttr); in mergeDeclAttributes()
2447 newDecl->addAttr(newAttr); in mergeParamDeclAttributes()
3868 IndirectField->addAttr(Attr->clone(SemaRef.Context)); in InjectAnonymousStructOrUnionMembers()
5872 NewVD->addAttr(::new (Context) AsmLabelAttr(SE->getStrTokenLoc(0), in ActOnVariableDeclarator()
5878 NewVD->addAttr(I->second); in ActOnVariableDeclarator()
7394 NewFD->addAttr(::new (Context) AsmLabelAttr(SE->getStrTokenLoc(0), Context, in ActOnFunctionDeclarator()
7400 NewFD->addAttr(I->second); in ActOnFunctionDeclarator()
[all …]
DSemaObjCProperty.cpp1934 PropertyMethod->addAttr(A->clone(S.Context)); in AddPropertyAttrs()
2010 GetterMethod->addAttr(NSReturnsNotRetainedAttr::CreateImplicit(Context, in ProcessPropertyDecl()
2014 GetterMethod->addAttr( in ProcessPropertyDecl()
2018 GetterMethod->addAttr( in ProcessPropertyDecl()
2073 SetterMethod->addAttr( in ProcessPropertyDecl()
DSemaDeclObjC.cpp100 method->addAttr(UnavailableAttr::CreateImplicit(Context, in checkInitMethod()
228 method->addAttr(NSConsumesSelfAttr::CreateImplicit(Context)); in CheckARCMethodDecl()
247 method->addAttr(NSReturnsRetainedAttr::CreateImplicit(Context)); in CheckARCMethodDecl()
3237 ObjCMethod->addAttr(ObjCRequiresSuperAttr::CreateImplicit(Context, in ActOnMethodDeclaration()
DSema.cpp297 fn->addAttr(UnavailableAttr::CreateImplicit(Context, msg, loc)); in makeUnavailableInSystemHeader()
DSemaTemplateInstantiateDecl.cpp202 New->addAttr(EIA); in instantiateDependentEnableIfAttr()
263 New->addAttr(NewAttr); in InstantiateAttrs()
670 IndirectField->addAttr(Attr->clone(SemaRef.Context)); in VisitIndirectFieldDecl()
DSemaExprCXX.cpp2161 Func->addAttr(RestrictAttr::CreateImplicit( in DeclareGlobalAllocationFunction()
2202 Alloc->addAttr(VisibilityAttr::CreateImplicit(Context, in DeclareGlobalAllocationFunction()
2206 Alloc->addAttr( in DeclareGlobalAllocationFunction()
DSemaDeclCXX.cpp1338 BaseTemplateSpec->addAttr(NewAttr); in propagateDLLAttrToBaseClassTemplate()
1644 Class->addAttr(WeakAttr::CreateImplicit(Context)); in AttachBaseSpecifiers()
2258 Member->addAttr(new (Context) OverrideAttr(VS.getOverrideLoc(), Context, 0)); in ActOnCXXMemberDeclarator()
2260 Member->addAttr(new (Context) FinalAttr(VS.getFinalLoc(), Context, in ActOnCXXMemberDeclarator()
4811 Member->addAttr(NewAttr); in checkDLLAttribute()
DSemaTemplateInstantiate.cpp2066 I->NewDecl->addAttr(NewAttr); in InstantiateClass()
DSemaOpenMP.cpp877 VD->addAttr(OMPThreadPrivateDeclAttr::CreateImplicit( in CheckOMPThreadPrivateDecl()
1156 getCurCapturedRegion()->TheCapturedDecl->addAttr( in ActOnOpenMPRegionStart()
/external/llvm/include/llvm/IR/
DArgument.h117 void addAttr(AttributeSet AS);
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp563 A->addAttr(AttributeSet::get(F->getContext(), A->getArgNo() + 1, B)); in AddArgumentAttrs()
581 A->addAttr(AttributeSet::get(F->getContext(), A->getArgNo()+1, B)); in AddArgumentAttrs()
610 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in AddArgumentAttrs()
634 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in AddArgumentAttrs()
675 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in AddArgumentAttrs()
710 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in AddArgumentAttrs()
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
DDOM3TreeWalker.java690 boolean addAttr = true; in serializeAttList()
809 addAttr = false; in serializeAttList()
824 addAttr = false; in serializeAttList()
833 if (addAttr && xmlnsAttr) { in serializeAttList()
842 addAttr && !xmlnsAttr) { // if the node is not a namespace node in serializeAttList()
/external/clang/patches/
D0003-Add-support-for-RenderScript-specific-options.patch88 + D->addAttr(::new (S.Context)
/external/clang/lib/CodeGen/
DCGCall.cpp1743 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), AI->getArgNo() + 1, in EmitFunctionProlog()
1840 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
1859 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
1862 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
1874 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
1894 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
1900 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp169 A->addAttr(AS); in TEST_F()
/external/llvm/lib/Transforms/Utils/
DCloneFunction.cpp105 NewArg->addAttr(attrs); in CloneFunctionInto()
/external/llvm/lib/IR/
DFunction.cpp185 void Argument::addAttr(AttributeSet AS) { in addAttr() function in Argument
DCore.cpp1813 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in LLVMAddAttribute()
1833 A->addAttr(AttributeSet::get(A->getContext(),A->getArgNo() + 1, B)); in LLVMSetParamAlignment()
/external/clang/include/clang/AST/
DDeclBase.h432 void addAttr(Attr *A) { in addAttr() function
/external/clang/lib/AST/
DDeclObjC.cpp940 self->addAttr(NSConsumedAttr::CreateImplicit(Context)); in createImplicitParams()
DDecl.cpp3611 addAttr(CapturedRecordAttr::CreateImplicit(getASTContext())); in setCapturedRecord()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp3809 D->addAttr(OMPThreadPrivateDeclAttr::CreateImplicit( in UpdateDecl()

12