Home
last modified time | relevance | path

Searched refs:addAttr (Results 1 – 21 of 21) 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.getRange(), in HandleX86ForceAlignArgPointerAttr()
197 D->addAttr(NewAttr); in HandleDLLImportAttr()
240 D->addAttr(NewAttr); in HandleDLLExportAttr()
283 D->addAttr(::new (S.Context) Mips16Attr(Attr.getRange(), S.Context, in HandleMips16Attr()
[all …]
DSemaDeclAttr.cpp514 D->addAttr(::new (S.Context) in handleGuardedVarAttr()
527 D->addAttr(::new (S.Context) in handlePtGuardedVarAttr()
564 D->addAttr(::new (S.Context) GuardedByAttr(Attr.getRange(), S.Context, Arg)); in handleGuardedByAttr()
576 D->addAttr(::new (S.Context) PtGuardedByAttr(Attr.getRange(), in handlePtGuardedByAttr()
601 D->addAttr(::new (S.Context) LockableAttr(Attr.getRange(), S.Context)); in handleLockableAttr()
609 D->addAttr(::new (S.Context) in handleScopedLockableAttr()
627 D->addAttr(::new (S.Context) NoThreadSafetyAnalysisAttr(Attr.getRange(), in handleNoThreadSafetyAnalysis()
644 D->addAttr(::new (S.Context) in handleNoSanitizeAddressAttr()
662 D->addAttr(::new (S.Context) NoSanitizeMemoryAttr(Attr.getRange(), in handleNoSanitizeMemory()
679 D->addAttr(::new (S.Context) NoSanitizeThreadAttr(Attr.getRange(), in handleNoSanitizeThread()
[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()
290 VD->addAttr(::new (Context) UnusedAttr(IdTok.getLocation(), Context)); in ActOnPragmaUnused()
302 D->addAttr(::new (Context) CFAuditedTransferAttr(Loc, Context)); in AddCFAuditedAttribute()
324 D->addAttr(::new (Context) VisibilityAttr(loc, Context, type)); in AddPushedVisibilityAttribute()
DSemaDecl.cpp1954 New->addAttr(Clone); in mergeAlignedAttrs()
1963 New->addAttr(Clone); in mergeAlignedAttrs()
2008 D->addAttr(NewAttr); in mergeDeclAttribute()
2177 newDecl->addAttr(newAttr); in mergeParamDeclAttributes()
4915 NewVD->addAttr(::new (Context) AsmLabelAttr(SE->getStrTokenLoc(0), in ActOnVariableDeclarator()
4921 NewVD->addAttr(I->second); in ActOnVariableDeclarator()
6103 NewFD->addAttr(::new (Context) AsmLabelAttr(SE->getStrTokenLoc(0), Context, in ActOnFunctionDeclarator()
6109 NewFD->addAttr(I->second); in ActOnFunctionDeclarator()
6178 NewFD->addAttr( in ActOnFunctionDeclarator()
6205 NewFD->addAttr(new (Context) WarnUnusedResultAttr(SourceRange(), in ActOnFunctionDeclarator()
[all …]
DSemaDeclObjC.cpp100 method->addAttr(new (Context) UnavailableAttr(loc, Context, in checkInitMethod()
231 method->addAttr(new (S.Context) NSConsumesSelfAttr(SourceLocation(), in CheckARCMethodDecl()
251 method->addAttr(new (S.Context) NSReturnsRetainedAttr(SourceLocation(), in CheckARCMethodDecl()
DSemaObjCProperty.cpp1860 PropertyMethod->addAttr((*A)->clone(S.Context)); in AddPropertyAttrs()
1932 GetterMethod->addAttr( in ProcessPropertyDecl()
DSema.cpp221 fn->addAttr(new (Context) UnavailableAttr(loc, Context, msg)); in makeUnavailableInSystemHeader()
DSemaTemplateInstantiate.cpp2087 I->NewDecl->addAttr(NewAttr); in InstantiateClass()
DSemaExprCXX.cpp1872 Func->addAttr(::new (Context) MallocAttr(SourceLocation(), Context)); in DeclareGlobalAllocationFunction()
1909 Alloc->addAttr(::new (Context) MallocAttr(SourceLocation(), Context)); in DeclareGlobalAllocationFunction()
DSemaTemplateInstantiateDecl.cpp148 New->addAttr(NewAttr); in InstantiateAttrs()
DSemaDeclCXX.cpp1285 Class->addAttr(::new (Context) WeakAttr(SourceRange(), Context)); in AttachBaseSpecifiers()
1821 Member->addAttr(new (Context) OverrideAttr(VS.getOverrideLoc(), Context)); in ActOnCXXMemberDeclarator()
1823 Member->addAttr(new (Context) FinalAttr(VS.getFinalLoc(), Context)); in ActOnCXXMemberDeclarator()
/external/llvm/include/llvm/IR/
DArgument.h82 void addAttr(AttributeSet AS);
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp383 A->addAttr(AttributeSet::get(F->getContext(), A->getArgNo() + 1, B)); in AddNoCaptureAttrs()
398 A->addAttr(AttributeSet::get(F->getContext(), A->getArgNo()+1, B)); in AddNoCaptureAttrs()
433 addAttr(AttributeSet::get(ArgumentSCC[0]->Definition->getContext(), in AddNoCaptureAttrs()
477 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in AddNoCaptureAttrs()
/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/unittests/Transforms/Utils/
DCloning.cpp163 A->addAttr(AS); in TEST_F()
/external/llvm/lib/IR/
DFunction.cpp128 void Argument::addAttr(AttributeSet AS) { in addAttr() function in Argument
DCore.cpp1477 A->addAttr(AttributeSet::get(A->getContext(), A->getArgNo() + 1, B)); in LLVMAddAttribute()
1497 A->addAttr(AttributeSet::get(A->getContext(),A->getArgNo() + 1, B)); in LLVMSetParamAlignment()
/external/llvm/lib/Transforms/Utils/
DCloneFunction.cpp99 Anew->addAttr(attrs); in CloneFunctionInto()
/external/clang/include/clang/AST/
DDeclBase.h416 void addAttr(Attr *A) { in addAttr() function
/external/clang/lib/CodeGen/
DCGCall.cpp1218 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
1291 AI->addAttr(llvm::AttributeSet::get(getLLVMContext(), in EmitFunctionProlog()
/external/clang/lib/AST/
DDeclObjC.cpp752 self->addAttr(new (Context) NSConsumedAttr(SourceLocation(), Context)); in createImplicitParams()