Home
last modified time | relevance | path

Searched refs:Owned (Results 1 – 25 of 36) sorted by relevance

12

/external/clang/lib/Sema/
DSemaStmt.cpp48 return Owned(static_cast<Stmt*>(E)); in ActOnExprStmt()
54 return Owned(new (Context) NullStmt(SemiLoc, HasLeadingEmptyMacro)); in ActOnNullStmt()
64 return Owned(new (Context) DeclStmt(DG, StartLoc, EndLoc)); in ActOnDeclStmt()
301 return Owned(new (Context) CompoundStmt(Context, Elts, NumElts, L, R)); in ActOnCompoundStmt()
335 return Owned(CS); in ActOnCaseStmt()
353 return Owned(SubStmt); in ActOnDefaultStmt()
358 return Owned(DS); in ActOnDefaultStmt()
368 return Owned(SubStmt); in ActOnLabelStmt()
376 return Owned(LS); in ActOnLabelStmt()
384 return Owned(LS); in ActOnAttributedStmt()
[all …]
DTreeTransform.h132 static inline ExprResult Owned(Expr *E) { return E; } in Owned() function
133 static inline StmtResult Owned(Stmt *S) { return S; } in Owned() function
1308 return Owned(new (getSema().Context) CXXCatchStmt(CatchLoc, ExceptionDecl, in RebuildCXXCatchStmt()
1536 return getSema().Owned(ME); in RebuildMemberExpr()
1667 return SemaRef.Owned(new (SemaRef.Context) ImplicitValueInitExpr(T)); in RebuildImplicitValueInitExpr()
1934 return getSema().Owned( in RebuildCXXThisExpr()
1955 return getSema().Owned(CXXDefaultArgExpr::Create(getSema().Context, Loc, in RebuildCXXDefaultArgExpr()
2264 return SemaRef.Owned(SemaRef.BuildObjCEncodeExpression(AtLoc, EncodeTypeInfo, in RebuildObjCEncodeExpr()
2307 ExprResult Base = getSema().Owned(BaseArg); in RebuildObjCIvarRefExpr()
2336 ExprResult Base = getSema().Owned(BaseArg); in RebuildObjCPropertyRefExpr()
[all …]
DSemaExprMember.cpp470 return Owned(CXXDependentScopeMemberExpr::Create(Context, BaseExpr, BaseType, in ActOnDependentMemberExpr()
663 ExprResult BaseResult = Owned(Base); in BuildMemberReferenceExpr()
673 Owned(Base); in BuildMemberReferenceExpr()
805 return Owned(result); in BuildAnonymousStructUnionMemberReference()
919 return Owned(MemExpr); in BuildMemberReferenceExpr()
957 Owned(BaseExpr); in BuildMemberReferenceExpr()
972 return Owned(BuildMemberExpr(*this, Context, BaseExpr, IsArrow, SS, in BuildMemberReferenceExpr()
989 return Owned(BuildMemberExpr(*this, Context, BaseExpr, IsArrow, SS, in BuildMemberReferenceExpr()
997 return Owned(BuildMemberExpr(*this, Context, BaseExpr, IsArrow, SS, in BuildMemberReferenceExpr()
1002 Owned(BaseExpr); in BuildMemberReferenceExpr()
[all …]
DSemaExprCXX.cpp306 return Owned(new (Context) CXXTypeidExpr(TypeInfoType.withConst(), in BuildCXXTypeId()
361 return Owned(new (Context) CXXTypeidExpr(TypeInfoType.withConst(), in BuildCXXTypeId()
444 return Owned(new (Context) CXXUuidofExpr(TypeInfoType.withConst(), in BuildCXXUuidof()
460 return Owned(new (Context) CXXUuidofExpr(TypeInfoType.withConst(), in BuildCXXUuidof()
504 return Owned(new (Context) CXXBoolLiteralExpr(Kind == tok::kw_true, in ActOnCXXBoolLiteral()
511 return Owned(new (Context) CXXNullPtrLiteralExpr(Context.NullPtrTy, Loc)); in ActOnCXXNullPtrLiteral()
566 return Owned(new (Context) CXXThrowExpr(Ex, Context.VoidTy, OpLoc, in BuildCXXThrow()
639 return Owned(E); in CheckCXXThrowOperand()
648 return Owned(E); in CheckCXXThrowOperand()
652 return Owned(E); in CheckCXXThrowOperand()
[all …]
DSemaExpr.cpp420 return Owned(E); in DefaultFunctionArrayConversion()
453 if (!E->isGLValue()) return Owned(E); in DefaultLvalueConversion()
464 return Owned(E); in DefaultLvalueConversion()
472 return Owned(E); in DefaultLvalueConversion()
490 ExprResult Res = Owned(ImplicitCastExpr::Create(Context, T, CK_LValueToRValue, in DefaultLvalueConversion()
498 Res = Owned(ImplicitCastExpr::Create(Context, T, CK_AtomicToNonAtomic, in DefaultLvalueConversion()
525 return Owned(E); in UsualUnaryConversions()
556 return Owned(E); in UsualUnaryConversions()
561 return Owned(E); in UsualUnaryConversions()
564 return Owned(E); in UsualUnaryConversions()
[all …]
DSemaStmtAsm.cpp319 return Owned(NS); in ActOnGCCAsmStmt()
482 if (AsmToks.empty()) { DEF_SIMPLE_MSASM(EmptyAsmStr); return Owned(NS); } in ActOnMSAsmStmt()
495 if (bailOnMSAsm(Pieces)) { DEF_SIMPLE_MSASM(EmptyAsmStr); return Owned(NS); } in ActOnMSAsmStmt()
549 if (HadError) { DEF_SIMPLE_MSASM(EmptyAsmStr); return Owned(NS); } in ActOnMSAsmStmt()
559 if (HadError) { DEF_SIMPLE_MSASM(EmptyAsmStr); return Owned(NS); } in ActOnMSAsmStmt()
684 return Owned(NS); in ActOnMSAsmStmt()
DSemaExprObjC.cpp296 Owned(Number)); in BuildObjCNumericLiteral()
424 return Owned(BoxedExpr); in BuildObjCBoxedExpr()
567 Owned(ValueExpr)); in BuildObjCBoxedExpr()
605 return Owned(ObjCSubscriptRefExpr::Create(Context, in BuildObjCSubscriptExpression()
1206 ExprResult ArgE = PerformCopyInitialization(Entity, lbrac, Owned(argExpr)); in CheckMessageArgumentTypes()
1394 return Owned(new (Context) ObjCPropertyRefExpr(PD, Context.PseudoObjectTy, in HandleExprPropertyRefExpr()
1399 return Owned(new (Context) ObjCPropertyRefExpr(PD, Context.PseudoObjectTy, in HandleExprPropertyRefExpr()
1412 return Owned(new (Context) ObjCPropertyRefExpr(PD, in HandleExprPropertyRefExpr()
1419 return Owned(new (Context) ObjCPropertyRefExpr(PD, in HandleExprPropertyRefExpr()
1470 return Owned(new (Context) ObjCPropertyRefExpr(Getter, Setter, in HandleExprPropertyRefExpr()
[all …]
DSemaInit.cpp813 ExprResult ExprRes = SemaRef.Owned(expr); in CheckSubElementType()
850 SemaRef.Owned(expr), in CheckSubElementType()
936 if (!SemaRef.CanPerformCopyInitialization(Entity, SemaRef.Owned(expr))) in CheckScalarType()
944 SemaRef.Owned(expr), in CheckScalarType()
999 if (!SemaRef.CanPerformCopyInitialization(Entity, SemaRef.Owned(expr))) in CheckReferenceType()
1007 SemaRef.Owned(expr), in CheckReferenceType()
1047 if (!SemaRef.CanPerformCopyInitialization(Entity, SemaRef.Owned(Init))) in CheckVectorType()
1055 SemaRef.Owned(Init), in CheckVectorType()
2274 return Owned(DIE); in ActOnDesignatedInitializer()
4513 return S.Owned(CurInitExpr); in CopyObject()
[all …]
DDeclSpec.cpp593 Decl *Rep, bool Owned) { in SetTypeSpecType() argument
594 return SetTypeSpecType(T, Loc, Loc, PrevSpec, DiagID, Rep, Owned); in SetTypeSpecType()
601 Decl *Rep, bool Owned) { in SetTypeSpecType() argument
614 TypeSpecOwned = Owned; in SetTypeSpecType()
DSemaTemplate.cpp423 return Owned(CXXDependentScopeMemberExpr::Create(Context, in ActOnDependentIdExpression()
442 return Owned(DependentScopeDeclRefExpr::Create(Context, in BuildDependentDeclRefExpr()
2304 return Owned(ULE); in BuildTemplateIdExpr()
2872 ExprResult E = Owned(DependentScopeDeclRefExpr::Create(Context, in CheckTemplateArgument()
4106 return Owned(Arg); in CheckTemplateArgument()
4150 return Owned(Arg); in CheckTemplateArgument()
4252 return Owned(Arg); in CheckTemplateArgument()
4306 return Owned(Arg); in CheckTemplateArgument()
4354 return Owned(Arg); in CheckTemplateArgument()
4360 return Owned(Arg); in CheckTemplateArgument()
[all …]
DSemaTemplateInstantiate.cpp1080 return SemaRef.Owned(E); in TransformPredefinedExpr()
1100 return getSema().Owned(PE); in TransformPredefinedExpr()
1112 return SemaRef.Owned(E); in TransformTemplateParmRefExpr()
1161 result = SemaRef.Owned(argExpr); in transformNonTypeTemplateParmRef()
1208 return SemaRef.Owned(new (SemaRef.Context) in transformNonTypeTemplateParmRef()
1219 return getSema().Owned(E); in TransformSubstNonTypeTemplateParmPackExpr()
2475 return Owned(S); in SubstStmt()
2486 return Owned(E); in SubstExpr()
DSema.cpp272 return Owned(E); in ImpCastExprToType()
293 return Owned(E); in ImpCastExprToType()
297 return Owned(ImplicitCastExpr::Create(Context, Ty, Kind, E, BasePath, VK)); in ImpCastExprToType()
DSemaOverload.cpp48 ExprResult E = S.Owned(DRE); in CreateFunctionRefExpr()
4424 if (S.CanPerformCopyInitialization(Entity, S.Owned(From))) { in TryListConversion()
4752 return Owned(From); in PerformObjectArgumentInitialization()
5047 return Owned(From); in ConvertToIntegralOrEnumerationType()
5069 return Owned(From); in ConvertToIntegralOrEnumerationType()
5086 return Owned(From); in ConvertToIntegralOrEnumerationType()
5194 return Owned(From); in ConvertToIntegralOrEnumerationType()
9341 Owned(FixOverloadedFunctionReference(SrcExpr.take(), found, fn)); in ResolveAndFixSingleFunctionTemplateSpecialization()
9753 *Result = Owned(CE); in buildOverloadedCallSet()
9922 return Owned(new (Context) UnaryOperator(Input, in CreateOverloadedUnaryOp()
[all …]
/external/chromium/chrome/browser/ui/cocoa/tab_contents/
Dsad_tab_view_unittest.mm20 SadTabView* view_; // Weak. Owned by the view hierarchy.
/external/chromium/chrome/browser/ui/cocoa/
Dfloating_bar_backing_view_unittest.mm20 FloatingBarBackingView* view_; // Weak. Owned by the view hierarchy.
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dinstant_opt_in_view_unittest.mm20 InstantOptInView* view_; // Weak. Owned by the view hierarchy.
Domnibox_popup_view_unittest.mm21 OmniboxPopupView* view_; // Weak. Owned by the view hierarchy.
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.h205 void setBufferOwned(bool Owned) { BufferOwned = Owned; } in setBufferOwned() argument
/external/clang/lib/StaticAnalyzer/Checkers/
DRetainCountChecker.cpp155 Owned = 0, // Owning reference. enumerator
199 return getKind() == Owned; in isOwned()
216 return RefVal(Owned, o, Count, 0, t); in makeOwned()
266 case Owned: { in print()
2083 case RefVal::Owned: in VisitNode()
2986 case RefVal::Owned: in updateSymbol()
3003 if (V.getKind() == RefVal::Owned) { in updateSymbol()
3028 case RefVal::Owned: in updateSymbol()
3035 V = (V ^ RefVal::Owned) + 1; in updateSymbol()
3048 case RefVal::Owned: in updateSymbol()
[all …]
/external/clang/lib/Parse/
DParseObjc.cpp2588 return Owned(Actions.ParseObjCStringLiteral(&AtLocs[0], AtStrings.data(), in ParseObjCStringLiteral()
2612 return Owned(Actions.BuildObjCNumericLiteral(AtLoc, Lit.take())); in ParseObjCCharacterLiteral()
2626 return Owned(Actions.BuildObjCNumericLiteral(AtLoc, Lit.take())); in ParseObjCNumericLiteral()
2650 return Owned(Actions.BuildObjCBoxedExpr(SourceRange(AtLoc, RPLoc), in ParseObjCBoxedExpr()
2684 return Owned(Actions.BuildObjCArrayLiteral(SourceRange(AtLoc, EndLoc), Args)); in ParseObjCArrayLiteral()
2740 return Owned(Actions.BuildObjCDictionaryLiteral(SourceRange(AtLoc, EndLoc), in ParseObjCDictionaryLiteral()
2766 return Owned(Actions.ParseObjCEncodeExpression(AtLoc, EncLoc, in ParseObjCEncodeExpression()
2791 return Owned(Actions.ParseObjCProtocolExpression(protocolId, AtLoc, ProtoLoc, in ParseObjCProtocolExpression()
2855 return Owned(Actions.ParseObjCSelectorExpression(Sel, AtLoc, SelectorLoc, in ParseObjCSelectorExpression()
DParseDeclCXX.cpp1280 bool Owned = false; in ParseClassSpecifier() local
1419 TParams, Owned, IsDependent, in ParseClassSpecifier()
1453 PrevSpec, DiagID, TagOrTempResult.get(), Owned); in ParseClassSpecifier()
/external/oprofile/events/x86-64/family10/
Dunit_masks191 0x08 Owned
341 0x04 Owned
350 0x04 Owned
/external/chromium/chrome/browser/renderer_host/
Drender_widget_host_view_mac_unittest.mm30 // Owned by its |native_view()|, i.e. |rwhv_cocoa_|.
/external/clang/include/clang/Sema/
DDeclSpec.h574 unsigned &DiagID, Decl *Rep, bool Owned);
580 unsigned &DiagID, Decl *Rep, bool Owned);
/external/clang/include/clang/AST/
DDeclTemplate.h156 bool Owned) in TemplateArgumentList() argument
157 : Arguments(Args, Owned), NumArguments(NumArgs) { } in TemplateArgumentList()

12