Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DSemaDeclAttr.cpp347 D->addAttr(::new (S.Context) AttrType(Attr.getRange(), S.Context, in handleSimpleAttribute()
581 D->addAttr(::new (S.Context) in handlePtGuardedVarAttr()
606 D->addAttr(::new (S.Context) GuardedByAttr(Attr.getRange(), S.Context, Arg, in handleGuardedByAttr()
619 D->addAttr(::new (S.Context) PtGuardedByAttr(Attr.getRange(), in handlePtGuardedByAttr()
653 D->addAttr(::new (S.Context) in handleAcquiredAfterAttr()
666 D->addAttr(::new (S.Context) in handleAcquiredBeforeAttr()
690 D->addAttr(::new (S.Context) in handleAssertSharedLockAttr()
703 D->addAttr(::new (S.Context) in handleAssertExclusiveLockAttr()
734 D->addAttr(::new (S.Context) in handleSharedTrylockFunctionAttr()
747 D->addAttr(::new (S.Context) ExclusiveTrylockFunctionAttr( in handleExclusiveTrylockFunctionAttr()
[all …]
DSemaCUDA.cpp355 MemberDecl->addAttr(CUDAInvalidTargetAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
401 MemberDecl->addAttr(CUDAInvalidTargetAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
409 MemberDecl->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
411 MemberDecl->addAttr(CUDAHostAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
413 MemberDecl->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
414 MemberDecl->addAttr(CUDAHostAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
419 MemberDecl->addAttr(CUDADeviceAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
420 MemberDecl->addAttr(CUDAHostAttr::CreateImplicit(Context)); in inferCUDATargetForImplicitSpecialMember()
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.cpp2175 New->addAttr(Clone); in mergeAlignedAttrs()
2184 New->addAttr(Clone); in mergeAlignedAttrs()
2255 D->addAttr(NewAttr); in mergeDeclAttribute()
2376 New->addAttr(NewAttr); in mergeDeclAttributes()
2478 newDecl->addAttr(newAttr); in mergeParamDeclAttributes()
4043 IndirectField->addAttr(Attr->clone(SemaRef.Context)); in InjectAnonymousStructOrUnionMembers()
6148 NewVD->addAttr(::new (Context) AsmLabelAttr(SE->getStrTokenLoc(0), in ActOnVariableDeclarator()
6155 NewVD->addAttr(I->second); in ActOnVariableDeclarator()
7793 NewFD->addAttr(::new (Context) AsmLabelAttr(SE->getStrTokenLoc(0), Context, in ActOnFunctionDeclarator()
7800 NewFD->addAttr(I->second); in ActOnFunctionDeclarator()
[all …]
DSemaObjCProperty.cpp2075 PropertyMethod->addAttr(A->clone(S.Context)); in AddPropertyAttrs()
2165 GetterMethod->addAttr(NSReturnsNotRetainedAttr::CreateImplicit(Context, in ProcessPropertyDecl()
2169 GetterMethod->addAttr( in ProcessPropertyDecl()
2173 GetterMethod->addAttr( in ProcessPropertyDecl()
2235 SetterMethod->addAttr( in ProcessPropertyDecl()
DSemaDeclObjC.cpp102 method->addAttr(UnavailableAttr::CreateImplicit(Context, "", in checkInitMethod()
229 method->addAttr(NSConsumesSelfAttr::CreateImplicit(Context)); in CheckARCMethodDecl()
248 method->addAttr(NSReturnsRetainedAttr::CreateImplicit(Context)); in CheckARCMethodDecl()
4095 method->addAttr( in mergeInterfaceMethodToImpl()
DSema.cpp314 fn->addAttr(UnavailableAttr::CreateImplicit(Context, "", reason, loc)); in makeUnavailableInSystemHeader()
DSemaTemplateInstantiateDecl.cpp202 New->addAttr(EIA); in instantiateDependentEnableIfAttr()
295 New->addAttr(NewAttr); in InstantiateAttrs()
702 IndirectField->addAttr(Attr->clone(SemaRef.Context)); in VisitIndirectFieldDecl()
DSemaExprCXX.cpp2169 Func->addAttr(RestrictAttr::CreateImplicit( in DeclareGlobalAllocationFunction()
2210 Alloc->addAttr(VisibilityAttr::CreateImplicit(Context, in DeclareGlobalAllocationFunction()
2214 Alloc->addAttr( in DeclareGlobalAllocationFunction()
DSemaDeclCXX.cpp1616 Class->addAttr(WeakAttr::CreateImplicit(Context)); in AttachBaseSpecifiers()
2235 Member->addAttr(new (Context) OverrideAttr(VS.getOverrideLoc(), Context, 0)); in ActOnCXXMemberDeclarator()
2237 Member->addAttr(new (Context) FinalAttr(VS.getFinalLoc(), Context, in ActOnCXXMemberDeclarator()
4824 Member->addAttr(NewAttr); in checkClassLevelDLLAttribute()
4852 BaseTemplateSpec->addAttr(NewAttr); in propagateDLLAttrToBaseClassTemplate()
DSemaOpenMP.cpp541 Decl->addAttr(*I); in buildVarDecl()
1212 VD->addAttr(OMPThreadPrivateDeclAttr::CreateImplicit( in CheckOMPThreadPrivateDecl()
1504 getCurCapturedRegion()->TheCapturedDecl->addAttr( in ActOnOpenMPRegionStart()
DSemaTemplateInstantiate.cpp2065 I->NewDecl->addAttr(NewAttr); in InstantiateClass()
/external/llvm/include/llvm/IR/
DArgument.h121 void addAttr(AttributeSet AS);
/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/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp551 A->addAttr(AttributeSet::get(F->getContext(), A->getArgNo() + 1, B)); in addArgumentAttrs()
570 A->addAttr( in addArgumentAttrs()
602 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in addArgumentAttrs()
627 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in addArgumentAttrs()
671 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in addArgumentAttrs()
709 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in addArgumentAttrs()
/external/clang/lib/CodeGen/
DCGCall.cpp1862 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), AI->getArgNo() + 1, in EmitFunctionProlog()
1954 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
1973 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
1976 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
1988 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
2008 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
2014 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
DCGOpenMPRuntime.cpp2026 FD->addAttr(*I); in createPrivatesRecordDecl()
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp169 A->addAttr(AS); in TEST_F()
/external/llvm/lib/Transforms/Utils/
DCloneFunction.cpp112 NewArg->addAttr(attrs); in CloneFunctionInto()
/external/llvm/lib/IR/
DFunction.cpp192 void Argument::addAttr(AttributeSet AS) { in addAttr() function in Argument
DCore.cpp1837 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in LLVMAddAttribute()
1857 A->addAttr(AttributeSet::get(A->getContext(),A->getArgNo() + 1, B)); in LLVMSetParamAlignment()
/external/clang/include/clang/AST/
DDeclBase.h444 void addAttr(Attr *A) { in addAttr() function
/external/clang/lib/AST/
DDeclObjC.cpp1029 self->addAttr(NSConsumedAttr::CreateImplicit(Context)); in createImplicitParams()
DDecl.cpp3637 addAttr(CapturedRecordAttr::CreateImplicit(getASTContext())); in setCapturedRecord()
/external/clang/lib/Serialization/
DASTReaderDecl.cpp3776 D->addAttr(OMPThreadPrivateDeclAttr::CreateImplicit( in UpdateDecl()
3809 D->addAttr(Attrs[0]); in UpdateDecl()

12