Home
last modified time | relevance | path

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

12

/external/clang/lib/Sema/
DSemaStmt.cpp45 return Owned(static_cast<Stmt*>(E)); in ActOnExprStmt()
51 return Owned(new (Context) NullStmt(SemiLoc, LeadingEmptyMacroLoc)); in ActOnNullStmt()
61 return Owned(new (Context) DeclStmt(DG, StartLoc, EndLoc)); in ActOnDeclStmt()
206 return Owned(new (Context) CompoundStmt(Context, Elts, NumElts, L, R)); in ActOnCompoundStmt()
236 return Owned(CS); in ActOnCaseStmt()
250 return Owned(SubStmt); in ActOnDefaultStmt()
255 return Owned(DS); in ActOnDefaultStmt()
266 return Owned(SubStmt); in ActOnLabelStmt()
274 return Owned(LS); in ActOnLabelStmt()
315 return Owned(new (Context) IfStmt(Context, IfLoc, ConditionVar, ConditionExpr, in ActOnIfStmt()
[all …]
DTreeTransform.h126 static inline ExprResult Owned(Expr *E) { return E; } in Owned() function
127 static inline StmtResult Owned(Stmt *S) { return S; } in Owned() function
1245 return Owned(new (getSema().Context) CXXCatchStmt(CatchLoc, ExceptionDecl, in RebuildCXXCatchStmt()
1457 return getSema().Owned(ME); in RebuildMemberExpr()
1590 return SemaRef.Owned(new (SemaRef.Context) ImplicitValueInitExpr(T)); in RebuildImplicitValueInitExpr()
1860 return getSema().Owned( in RebuildCXXThisExpr()
1881 return getSema().Owned(CXXDefaultArgExpr::Create(getSema().Context, Loc, in RebuildCXXDefaultArgExpr()
2133 return SemaRef.Owned(SemaRef.BuildObjCEncodeExpression(AtLoc, EncodeTypeInfo, in RebuildObjCEncodeExpr()
2176 ExprResult Base = getSema().Owned(BaseArg); in RebuildObjCIvarRefExpr()
2204 ExprResult Base = getSema().Owned(BaseArg); in RebuildObjCPropertyRefExpr()
[all …]
DSemaExprMember.cpp450 return Owned(CXXDependentScopeMemberExpr::Create(Context, BaseExpr, BaseType, in ActOnDependentMemberExpr()
627 ExprResult BaseResult = Owned(Base); in BuildMemberReferenceExpr()
637 Owned(Base); in BuildMemberReferenceExpr()
768 return Owned(result); in BuildAnonymousStructUnionMemberReference()
847 return Owned(MemExpr); in BuildMemberReferenceExpr()
884 Owned(BaseExpr); in BuildMemberReferenceExpr()
909 return Owned(BuildMemberExpr(Context, BaseExpr, IsArrow, SS, in BuildMemberReferenceExpr()
927 return Owned(BuildMemberExpr(Context, BaseExpr, IsArrow, SS, in BuildMemberReferenceExpr()
935 return Owned(BuildMemberExpr(Context, BaseExpr, IsArrow, SS, in BuildMemberReferenceExpr()
940 Owned(BaseExpr); in BuildMemberReferenceExpr()
[all …]
DSemaExprCXX.cpp286 return Owned(new (Context) CXXTypeidExpr(TypeInfoType.withConst(), in BuildCXXTypeId()
338 return Owned(new (Context) CXXTypeidExpr(TypeInfoType.withConst(), in BuildCXXTypeId()
411 return Owned(new (Context) CXXUuidofExpr(TypeInfoType.withConst(), in BuildCXXUuidof()
427 return Owned(new (Context) CXXUuidofExpr(TypeInfoType.withConst(), in BuildCXXUuidof()
471 return Owned(new (Context) CXXBoolLiteralExpr(Kind == tok::kw_true, in ActOnCXXBoolLiteral()
478 return Owned(new (Context) CXXNullPtrLiteralExpr(Context.NullPtrTy, Loc)); in ActOnCXXNullPtrLiteral()
533 return Owned(new (Context) CXXThrowExpr(Ex, Context.VoidTy, OpLoc, in BuildCXXThrow()
607 return Owned(E); in CheckCXXThrowOperand()
616 return Owned(E); in CheckCXXThrowOperand()
620 return Owned(E); in CheckCXXThrowOperand()
[all …]
DSemaExpr.cpp286 return Owned(E); in DefaultFunctionArrayConversion()
312 if (!E->isGLValue()) return Owned(E); in DefaultLvalueConversion()
321 return Owned(E); in DefaultLvalueConversion()
324 return Owned(E); in DefaultLvalueConversion()
333 return Owned(E); in DefaultLvalueConversion()
341 return Owned(E); in DefaultLvalueConversion()
359 return Owned(ImplicitCastExpr::Create(Context, T, CK_LValueToRValue, in DefaultLvalueConversion()
383 return Owned(E); in UsualUnaryConversions()
409 return Owned(E); in UsualUnaryConversions()
414 return Owned(E); in UsualUnaryConversions()
[all …]
DSemaExprObjC.cpp408 ExprResult ArgE = PerformCopyInitialization(Entity, lbrac, Owned(argExpr)); in CheckMessageArgumentTypes()
568 return Owned(new (Context) ObjCPropertyRefExpr(PD, ResTy, in HandleExprPropertyRefExpr()
573 return Owned(new (Context) ObjCPropertyRefExpr(PD, ResTy, in HandleExprPropertyRefExpr()
589 return Owned(new (Context) ObjCPropertyRefExpr(PD, T, in HandleExprPropertyRefExpr()
595 return Owned(new (Context) ObjCPropertyRefExpr(PD, T, in HandleExprPropertyRefExpr()
665 return Owned(new (Context) ObjCPropertyRefExpr(Getter, Setter, in HandleExprPropertyRefExpr()
670 return Owned(new (Context) ObjCPropertyRefExpr(Getter, Setter, in HandleExprPropertyRefExpr()
827 return Owned(new (Context) ObjCPropertyRefExpr(Getter, Setter, in ActOnClassPropertyRefExpr()
833 return Owned(new (Context) ObjCPropertyRefExpr(Getter, Setter, in ActOnClassPropertyRefExpr()
1046 return Owned(ObjCMessageExpr::Create(Context, ReceiverType, in BuildClassMessage()
[all …]
DSemaCXXCast.cpp162 ExprResult Ex = Owned(E); in BuildCXXNamedCast()
185 return Owned(CXXConstCastExpr::Create(Context, in BuildCXXNamedCast()
199 return Owned(CXXDynamicCastExpr::Create(Context, in BuildCXXNamedCast()
211 return Owned(CXXReinterpretCastExpr::Create(Context, in BuildCXXNamedCast()
225 return Owned(CXXStaticCastExpr::Create(Context, in BuildCXXNamedCast()
1708 return Owned(CastExpr); in CXXCheckCStyleCast()
1718 return Owned(CastExpr); in CXXCheckCStyleCast()
1734 return Owned(CastExpr); in CXXCheckCStyleCast()
1759 ExprResult CastExprRes = Owned(CastExpr); in CXXCheckCStyleCast()
1767 CastExprRes = Owned(CastExpr); in CXXCheckCStyleCast()
[all …]
DDeclSpec.cpp547 Decl *Rep, bool Owned) { in SetTypeSpecType() argument
548 return SetTypeSpecType(T, Loc, Loc, PrevSpec, DiagID, Rep, Owned); in SetTypeSpecType()
555 Decl *Rep, bool Owned) { in SetTypeSpecType() argument
568 TypeSpecOwned = Owned; in SetTypeSpecType()
DSemaTemplate.cpp394 return Owned(CXXDependentScopeMemberExpr::Create(Context, in ActOnDependentIdExpression()
411 return Owned(DependentScopeDeclRefExpr::Create(Context, in BuildDependentDeclRefExpr()
2197 return Owned(ULE); in BuildTemplateIdExpr()
2711 ExprResult E = Owned(DependentScopeDeclRefExpr::Create(Context, in CheckTemplateArgument()
3690 return Owned(Arg); in CheckTemplateArgument()
3772 return Owned(Arg); in CheckTemplateArgument()
3825 return Owned(Arg); in CheckTemplateArgument()
3837 return Owned(Arg); in CheckTemplateArgument()
3843 return Owned(Arg); in CheckTemplateArgument()
3889 return Owned(Arg); in CheckTemplateArgument()
[all …]
DSemaInit.cpp746 ExprResult ExprRes = SemaRef.Owned(expr); in CheckSubElementType()
781 SemaRef.Owned(expr)); in CheckSubElementType()
823 SemaRef.Owned(expr)); in CheckScalarType()
862 SemaRef.Owned(expr)); in CheckReferenceType()
911 SemaRef.Owned(Init)); in CheckVectorType()
2007 return Owned(DIE); in ActOnDesignatedInitializer()
3855 return S.Owned(CurInitExpr); in CopyObject()
3957 return S.Owned((Expr *)0); in Perform()
3967 ExprResult CurInit = S.Owned((Expr *)0); in Perform()
4063 CurInit = S.Owned(ImplicitCastExpr::Create(S.Context, in Perform()
[all …]
DSemaTemplateInstantiate.cpp1031 return SemaRef.Owned(E); in TransformPredefinedExpr()
1047 return getSema().Owned(PE); in TransformPredefinedExpr()
1059 return SemaRef.Owned(E); in TransformTemplateParmRefExpr()
1100 result = SemaRef.Owned(argExpr); in transformNonTypeTemplateParmRef()
1141 return SemaRef.Owned(new (SemaRef.Context) in transformNonTypeTemplateParmRef()
1152 return getSema().Owned(E); in TransformSubstNonTypeTemplateParmPackExpr()
2204 return Owned(S); in SubstStmt()
2215 return Owned(E); in SubstExpr()
DSema.cpp257 return Owned(E); in ImpCastExprToType()
278 return Owned(E); in ImpCastExprToType()
282 return Owned(ImplicitCastExpr::Create(Context, Ty, Kind, E, BasePath, VK)); in ImpCastExprToType()
DSemaOverload.cpp43 ExprResult E = S.Owned(new (S.Context) DeclRefExpr(Fn, Fn->getType(), in CreateFunctionRefExpr()
3824 return Owned(From); in PerformObjectArgumentInitialization()
3926 return Owned(From); in ConvertToIntegralOrEnumerationType()
3931 return Owned(From); in ConvertToIntegralOrEnumerationType()
3941 return Owned(From); in ConvertToIntegralOrEnumerationType()
3946 return Owned(From); in ConvertToIntegralOrEnumerationType()
4044 return Owned(From); in ConvertToIntegralOrEnumerationType()
4051 return Owned(From); in ConvertToIntegralOrEnumerationType()
8038 Owned(FixOverloadedFunctionReference(SrcExpr, found, fn)); in ResolveAndFixSingleFunctionTemplateSpecialization()
8464 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.h191 void setBufferOwned(bool Owned) { BufferOwned = Owned; } in setBufferOwned() argument
/external/clang/lib/StaticAnalyzer/Core/
DCFRefCount.cpp215 Owned = 0, // Owning reference. enumerator
259 return getKind() == Owned; in isOwned()
276 return RefVal(Owned, o, Count, 0, t); in makeOwned()
326 case Owned: { in print()
2218 case RefVal::Owned: in VisitNode()
2952 case RefVal::Owned: { in evalReturn()
3158 case RefVal::Owned: in Update()
3175 if (V.getKind() == RefVal::Owned) { in Update()
3203 case RefVal::Owned: in Update()
3210 V = (V ^ RefVal::Owned) + 1; in Update()
[all …]
/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/lib/Parse/
DParseObjc.cpp2300 return Owned(Actions.ParseObjCStringLiteral(&AtLocs[0], AtStrings.take(), in ParseObjCStringLiteral()
2324 return Owned(Actions.ParseObjCEncodeExpression(AtLoc, EncLoc, LParenLoc, in ParseObjCEncodeExpression()
2347 return Owned(Actions.ParseObjCProtocolExpression(protocolId, AtLoc, ProtoLoc, in ParseObjCProtocolExpression()
2409 return Owned(Actions.ParseObjCSelectorExpression(Sel, AtLoc, SelectorLoc, in ParseObjCSelectorExpression()
DParseDeclCXX.cpp1062 bool Owned = false; in ParseClassSpecifier() local
1191 TParams, Owned, IsDependent, false, in ParseClassSpecifier()
1224 PrevSpec, DiagID, TagOrTempResult.get(), Owned); in ParseClassSpecifier()
/external/clang/include/clang/Sema/
DDeclSpec.h555 unsigned &DiagID, Decl *Rep, bool Owned);
561 unsigned &DiagID, Decl *Rep, bool Owned);
/external/clang/include/clang/AST/
DDeclTemplate.h141 bool Owned) in TemplateArgumentList() argument
142 : Arguments(Args, Owned), NumArguments(NumArgs) { } in TemplateArgumentList()

12