Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DTargetAttributesSema.cpp55 d->addAttr(::new (S.Context) MSP430InterruptAttr(Attr.getLoc(), S.Context, Num)); in HandleMSP430InterruptAttr()
56 d->addAttr(::new (S.Context) UsedAttr(Attr.getLoc(), S.Context)); in HandleMSP430InterruptAttr()
84 d->addAttr(::new (S.Context) MBlazeInterruptHandlerAttr(Attr.getLoc(), in HandleMBlazeInterruptHandlerAttr()
86 d->addAttr(::new (S.Context) UsedAttr(Attr.getLoc(), S.Context)); in HandleMBlazeInterruptHandlerAttr()
99 d->addAttr(::new (S.Context) MBlazeSaveVolatilesAttr(Attr.getLoc(), in HandleMBlazeSaveVolatilesAttr()
101 d->addAttr(::new (S.Context) UsedAttr(Attr.getLoc(), S.Context)); in HandleMBlazeSaveVolatilesAttr()
150 D->addAttr(::new (S.Context) X86ForceAlignArgPointerAttr(Attr.getLoc(), S.Context)); in HandleX86ForceAlignArgPointerAttr()
162 D->addAttr(::new (S.Context) DLLImportAttr(Attr.getLoc(), S.Context)); in HandleDLLImportAttr()
199 D->addAttr(::new (S.Context) DLLImportAttr(Attr.getLoc(), S.Context)); in HandleDLLImportAttr()
211 D->addAttr(::new (S.Context) DLLExportAttr(Attr.getLoc(), S.Context)); in HandleDLLExportAttr()
[all …]
DSemaDeclAttr.cpp264 TD->addAttr(::new (S.Context) PackedAttr(Attr.getLoc(), S.Context)); in handlePackedAttr()
273 FD->addAttr(::new (S.Context) PackedAttr(Attr.getLoc(), S.Context)); in handlePackedAttr()
280 TD->addAttr(::new (S.Context) MsStructAttr(Attr.getLoc(), S.Context)); in handleMsStructAttr()
293 D->addAttr(::new (S.Context) IBActionAttr(Attr.getLoc(), S.Context)); in handleIBAction()
308 D->addAttr(::new (S.Context) IBOutletAttr(Attr.getLoc(), S.Context)); in handleIBOutlet()
363 D->addAttr(::new (S.Context) IBOutletCollectionAttr(Attr.getLoc(), S.Context, in handleIBOutletCollection()
469 D->addAttr(::new (S.Context) NonNullAttr(Attr.getLoc(), S.Context, start, in handleNonNullAttr()
627 D->addAttr(::new (S.Context) OwnershipAttr(AL.getLoc(), S.Context, K, Module, in handleOwnershipAttr()
722 D->addAttr(::new (S.Context) AliasAttr(Attr.getLoc(), S.Context, in handleWeakRefAttr()
726 D->addAttr(::new (S.Context) WeakRefAttr(Attr.getLoc(), S.Context)); in handleWeakRefAttr()
[all …]
DSemaAttr.cpp124 RD->addAttr(::new (Context) AlignMac68kAttr(SourceLocation(), Context)); in AddAlignmentAttributesForRecord()
126 RD->addAttr(::new (Context) MaxFieldAlignmentAttr(SourceLocation(), in AddAlignmentAttributesForRecord()
135 RD->addAttr(::new (Context) MsStructAttr(SourceLocation(), Context)); in AddMsStructLayoutForRecord()
300 VD->addAttr(::new (Context) UnusedAttr(IdTok.getLocation(), Context)); in ActOnPragmaUnused()
321 D->addAttr(::new (Context) VisibilityAttr(loc, Context, type)); in AddPushedVisibilityAttribute()
DSemaDecl.cpp1475 newDecl->addAttr(newAttr); in mergeDeclAttributes()
1503 newDecl->addAttr(newAttr); in mergeParamDeclAttributes()
3743 NewVD->addAttr(::new (Context) AsmLabelAttr(SE->getStrTokenLoc(0), in ActOnVariableDeclarator()
4538 NewFD->addAttr(::new (Context) AsmLabelAttr(SE->getStrTokenLoc(0), Context, in ActOnFunctionDeclarator()
4998 NewFD->addAttr(::new (Context) OverloadableAttr(SourceLocation(), in CheckFunctionDeclaration()
6633 FD->addAttr(::new (Context) FormatAttr(FD->getLocation(), Context, in AddKnownFunctionAttributes()
6640 FD->addAttr(::new (Context) FormatAttr(FD->getLocation(), Context, in AddKnownFunctionAttributes()
6651 FD->addAttr(::new (Context) ConstAttr(FD->getLocation(), Context)); in AddKnownFunctionAttributes()
6655 FD->addAttr(::new (Context) NoThrowAttr(FD->getLocation(), Context)); in AddKnownFunctionAttributes()
6657 FD->addAttr(::new (Context) ConstAttr(FD->getLocation(), Context)); in AddKnownFunctionAttributes()
[all …]
DSemaDeclObjC.cpp98 method->addAttr(new (Context) UnavailableAttr(loc, Context, in checkInitMethod()
271 method->addAttr(new (S.Context) NSConsumesSelfAttr(SourceLocation(), in CheckARCMethodDecl()
296 method->addAttr(new (S.Context) NSReturnsRetainedAttr(SourceLocation(), in CheckARCMethodDecl()
DSema.cpp229 fn->addAttr(new (Context) UnavailableAttr(loc, Context, msg)); in makeUnavailableInSystemHeader()
DSemaObjCProperty.cpp1438 PropertyMethod->addAttr((*A)->clone(S.Context)); in AddPropertyAttrs()
1507 GetterMethod->addAttr( in ProcessPropertyDecl()
DSemaExprCXX.cpp1631 Func->addAttr(::new (Context) MallocAttr(SourceLocation(), Context)); in DeclareGlobalAllocationFunction()
1668 Alloc->addAttr(::new (Context) MallocAttr(SourceLocation(), Context)); in DeclareGlobalAllocationFunction()
DSemaTemplateInstantiateDecl.cpp93 New->addAttr(NewAttr); in InstantiateAttrs()
DSemaDeclCXX.cpp1195 MD->addAttr(new (Context) OverrideAttr(VS.getOverrideLoc(), Context)); in ActOnCXXMemberDeclarator()
1204 MD->addAttr(new (Context) FinalAttr(VS.getFinalLoc(), Context)); in ActOnCXXMemberDeclarator()
/external/llvm/include/llvm/
DArgument.h75 void addAttr(Attributes);
DAttributes.h215 AttrListPtr addAttr(unsigned Idx, Attributes Attrs) const;
/external/llvm/lib/VMCore/
DFunction.cpp119 void Argument::addAttr(Attributes attr) { in addAttr() function in Argument
245 PAL = PAL.addAttr(i, attr); in addAttribute()
DAttributes.cpp269 AttrListPtr AttrListPtr::addAttr(unsigned Idx, Attributes Attrs) const { in addAttr() function in AttrListPtr
DCore.cpp1269 const AttrListPtr PALnew = PAL.addAttr(~0U, PA); in LLVMAddFunctionAttr()
1346 unwrap<Argument>(Arg)->addAttr(PA); in LLVMAddAttribute()
1362 unwrap<Argument>(Arg)->addAttr( in LLVMSetParamAlignment()
1527 Call.getAttributes().addAttr(index, PA)); in LLVMAddInstrAttribute()
1541 Call.getAttributes().addAttr(index, in LLVMSetInstrParamAlignment()
DInstructions.cpp247 PAL = PAL.addAttr(i, attr); in addAttribute()
487 PAL = PAL.addAttr(i, attr); in addAttribute()
/external/llvm/lib/Transforms/Utils/
DCloneFunction.cpp95 Anew->addAttr( OldFunc->getAttributes() in CloneFunctionInto()
98 .addAttr(0, OldFunc->getAttributes() in CloneFunctionInto()
101 .addAttr(~0, OldFunc->getAttributes() in CloneFunctionInto()
/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/
DPruneEH.cpp149 const AttrListPtr &NPAL = PAL.addAttr(~0, NewAttributes); in runOnSCC()
DFunctionAttrs.cpp249 A->addAttr(Attribute::NoCapture); in AddNoCaptureAttrs()
/external/llvm/lib/Transforms/Scalar/
DObjCARC.cpp1507 Attributes.addAttr(~0u, Attribute::NoUnwind); in getRetainRVCallee()
1524 Attributes.addAttr(~0u, Attribute::NoUnwind); in getAutoreleaseRVCallee()
1538 Attributes.addAttr(~0u, Attribute::NoUnwind); in getReleaseCallee()
1554 Attributes.addAttr(~0u, Attribute::NoUnwind); in getRetainCallee()
1570 Attributes.addAttr(~0u, Attribute::NoUnwind); in getAutoreleaseCallee()
3279 Attributes.addAttr(~0u, Attribute::NoUnwind); in getStoreStrongCallee()
3280 Attributes.addAttr(1, Attribute::NoCapture); in getStoreStrongCallee()
3300 Attributes.addAttr(~0u, Attribute::NoUnwind); in getRetainAutoreleaseCallee()
3316 Attributes.addAttr(~0u, Attribute::NoUnwind); in getRetainAutoreleaseRVCallee()
/external/clang/include/clang/AST/
DDeclBase.h367 void addAttr(Attr *A) { in addAttr() function
/external/clang/lib/AST/
DDeclObjC.cpp529 self->addAttr(new (Context) NSConsumedAttr(SourceLocation(), Context)); in createImplicitParams()
/external/clang/lib/CodeGen/
DCGCall.cpp955 AI->addAttr(llvm::Attribute::NoAlias); in EmitFunctionProlog()