/external/clang/lib/Sema/ |
H A D | SemaPseudoObject.cpp | 212 ExprResult buildRValueOperation(Expr *op); 213 ExprResult buildAssignmentOperation(Scope *Sc, 217 ExprResult buildIncDecOperation(Scope *Sc, SourceLocation opLoc, 221 virtual ExprResult complete(Expr *syntacticForm); 245 virtual ExprResult buildGet() = 0; 246 virtual ExprResult buildSet(Expr *, SourceLocation, 282 ExprResult buildRValueOperation(Expr *op); 283 ExprResult buildAssignmentOperation(Scope *Sc, 287 ExprResult buildIncDecOperation(Scope *Sc, SourceLocation opLoc, 291 bool tryBuildGetOfReference(Expr *op, ExprResult [all...] |
H A D | SemaCoroutine.cpp | 162 static ExprResult buildOperatorCoawaitCall(Sema &SemaRef, Scope *S, 175 static ExprResult buildMemberCall(Sema &S, Expr *Base, SourceLocation Loc, 182 ExprResult Result = S.BuildMemberReferenceExpr( 205 ExprResult Result = buildMemberCall(S, Operand, Loc, Funcs[I], None); 215 ExprResult Sema::ActOnCoawaitExpr(Scope *S, SourceLocation Loc, Expr *E) { 217 ExprResult R = CheckPlaceholderExpr(E); 222 ExprResult Awaitable = buildOperatorCoawaitCall(*this, S, Loc, E); 227 ExprResult Sema::BuildCoawaitExpr(SourceLocation Loc, Expr *E) { 233 ExprResult R = CheckPlaceholderExpr(E); 260 static ExprResult buildPromiseCal [all...] |
H A D | TreeTransform.h | 133 static inline ExprResult Owned(Expr *E) { return E; } 360 ExprResult TransformExpr(Expr *E); 369 ExprResult TransformInitializer(Expr *Init, bool NotCopyInit); 635 ExprResult TransformCXXNamedCastExpr(CXXNamedCastExpr *E); 642 ExprResult TransformAddressOfOperand(Expr *E); 644 ExprResult TransformDependentScopeDeclRefExpr(DependentScopeDeclRefExpr *E, 648 ExprResult TransformParenDependentScopeDeclRefExpr( 661 ExprResult Transform##Node(Node *E); 1314 ExprResult RebuildCoawaitExpr(SourceLocation CoawaitLoc, Expr *Result) { 1322 ExprResult RebuildCoyieldExp [all...] |
H A D | SemaExpr.cpp | 509 ExprResult Sema::DefaultFunctionArrayConversion(Expr *E, bool Diagnose) { 512 ExprResult result = CheckPlaceholderExpr(E); 630 ExprResult Sema::DefaultLvalueConversion(Expr *E) { 633 ExprResult result = CheckPlaceholderExpr(E); 712 ExprResult Res = ImplicitCastExpr::Create(Context, T, CK_LValueToRValue, E, 727 ExprResult Sema::DefaultFunctionArrayLvalueConversion(Expr *E, bool Diagnose) { 728 ExprResult Res = DefaultFunctionArrayConversion(E, Diagnose); 739 ExprResult Sema::CallExprUnaryConversions(Expr *E) { 741 ExprResult Res = E; 761 ExprResult Sem [all...] |
H A D | SemaExprCXX.cpp | 372 ExprResult Sema::BuildCXXTypeId(QualType TypeInfoType, 397 ExprResult Sema::BuildCXXTypeId(QualType TypeInfoType, 404 ExprResult result = CheckPlaceholderExpr(E); 425 ExprResult Result = TransformToPotentiallyEvaluated(E); 465 ExprResult 549 ExprResult Sema::BuildCXXUuidof(QualType TypeInfoType, 569 ExprResult Sema::BuildCXXUuidof(QualType TypeInfoType, 593 ExprResult 627 ExprResult 636 ExprResult [all...] |
H A D | SemaExprMember.cpp | 234 ExprResult 456 ExprResult 710 static ExprResult LookupMemberExpr(Sema &S, LookupResult &R, 711 ExprResult &BaseExpr, bool &IsArrow, 715 ExprResult 748 ExprResult BaseResult = Base; 749 ExprResult Result = LookupMemberExpr( 774 static ExprResult 780 ExprResult 807 ExprResult resul [all...] |
H A D | SemaExprObjC.cpp | 34 ExprResult Sema::ParseObjCStringLiteral(SourceLocation *AtLocs, 80 ExprResult Sema::BuildObjCStringLiteral(SourceLocation AtLoc, StringLiteral *S){ 314 ExprResult Sema::BuildObjCNumericLiteral(SourceLocation AtLoc, Expr *Number) { 352 ExprResult ConvertedNumber = PerformCopyInitialization(Entity, 365 ExprResult Sema::ActOnObjCBoolLiteral(SourceLocation AtLoc, 368 ExprResult Inner; 384 static ExprResult CheckObjCCollectionLiteralElement(Sema &S, Expr *Element, 391 ExprResult Result = S.CheckPlaceholderExpr(Element); 499 ExprResult Sema::BuildObjCBoxedExpr(SourceRange SR, Expr *ValueExpr) { 508 ExprResult RValu [all...] |
H A D | SemaStmt.cpp | 44 StmtResult Sema::ActOnExprStmt(ExprResult FE) { 386 ExprResult LHS = 427 : ExprResult(); 609 ExprResult Sema::CheckSwitchCondition(SourceLocation SwitchLoc, Expr *Cond) { 657 ExprResult CondResult = 843 ExprResult ConvLo = 960 ExprResult ConvHi = 1263 ExprResult CondResult = CheckBooleanCondition(DoLoc, Cond); 1685 ExprResult result = CheckPlaceholderExpr(E); 1689 ExprResult FullExp [all...] |
H A D | SemaStmtAsm.cpp | 181 ExprResult ER = CheckPlaceholderExpr(Exprs[i]); 262 ExprResult ER = CheckPlaceholderExpr(Exprs[i]); 300 ExprResult Result = DefaultFunctionArrayLvalueConversion(Exprs[i]); 561 ExprResult Sema::LookupInlineAsmIdentifier(CXXScopeSpec &SS, 572 ExprResult Result = ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Id, 672 ExprResult 692 return ExprResult(); 698 return ExprResult(); 705 return ExprResult(); 708 ExprResult Resul [all...] |
H A D | SemaCast.cpp | 51 CastOperation(Sema &S, QualType destType, ExprResult src) 66 ExprResult SrcExpr; 88 ExprResult complete(CastExpr *castExpr) { 181 static TryCastResult TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, 189 static TryCastResult TryStaticImplicitCast(Sema &Self, ExprResult &SrcExpr, 195 static TryCastResult TryStaticCast(Sema &Self, ExprResult &SrcExpr, 202 static TryCastResult TryConstCast(Sema &Self, ExprResult &SrcExpr, 205 static TryCastResult TryReinterpretCast(Sema &Self, ExprResult &SrcExpr, 213 ExprResult 236 ExprResult [all...] |
H A D | SemaTemplateInstantiate.cpp | 772 ExprResult TransformPredefinedExpr(PredefinedExpr *E); 773 ExprResult TransformDeclRefExpr(DeclRefExpr *E); 774 ExprResult TransformCXXDefaultArgExpr(CXXDefaultArgExpr *E); 776 ExprResult TransformTemplateParmRefExpr(DeclRefExpr *E, 778 ExprResult TransformSubstNonTypeTemplateParmPackExpr( 782 ExprResult RebuildParmVarDeclRefExpr(ParmVarDecl *PD, SourceLocation Loc); 785 ExprResult TransformFunctionParmPackRefExpr(DeclRefExpr *E, 791 ExprResult TransformFunctionParmPackExpr(FunctionParmPackExpr *E); 822 ExprResult TransformLambdaExpr(LambdaExpr *E) { 837 ExprResult transformNonTypeTemplateParmRe [all...] |
H A D | SemaOpenMP.cpp | 1151 ExprResult Sema::ActOnOpenMPIdExpression(Scope *CurScope, 1735 ExprResult Res = 1764 static ExprResult buildCapture(Sema &S, Expr *CaptureExpr, DeclRefExpr *&Ref) { 1772 ExprResult Res = Ref; 3658 ExprResult SL; 3747 ExprResult Align; 4060 ExprResult Val = 4372 static ExprResult 4376 return ExprResult(Capture); 4385 ExprResult Re [all...] |
H A D | SemaTemplateVariadic.cpp | 430 ExprResult Result = ActOnPackExpansion(Arg.getAsExpr(), EllipsisLoc); 501 ExprResult Sema::ActOnPackExpansion(Expr *Pattern, SourceLocation EllipsisLoc) { 505 ExprResult Sema::CheckPackExpansion(Expr *Pattern, SourceLocation EllipsisLoc, 830 ExprResult Sema::ActOnSizeofParameterPackExpr(Scope *S, 952 ExprResult Sema::ActOnCXXFoldExpr(SourceLocation LParenLoc, Expr *LHS, 990 ExprResult Sema::BuildCXXFoldExpr(SourceLocation LParenLoc, Expr *LHS, 998 ExprResult Sema::BuildEmptyCXXFoldExpr(SourceLocation EllipsisLoc,
|
H A D | SemaLambda.cpp | 749 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, Args, &DclT); 1373 static ExprResult performLambdaVarCaptureInitialization( 1395 ExprResult RefResult = S.BuildDeclarationNameExpr( 1432 ExprResult IterationVarRef = 1441 ExprResult Subscript = 1466 ExprResult Sema::ActOnLambdaExpr(SourceLocation StartLoc, Stmt *Body, 1489 ExprResult Sema::BuildLambdaExpr(SourceLocation StartLoc, SourceLocation EndLoc, 1647 ExprResult Sema::BuildBlockForLambdaConversion(SourceLocation CurrentLocation, 1660 ExprResult Init = PerformCopyInitialization(
|
H A D | SemaInit.cpp | 321 static ExprResult PerformEmptyInit(Sema &SemaRef, 376 ExprResult InitListChecker::PerformEmptyInit(Sema &SemaRef, 480 return VerifyOnly ? ExprResult(static_cast<Expr *>(nullptr)) 503 ExprResult BaseInit = 553 ExprResult DIE = SemaRef.BuildCXXDefaultInitExpr(Loc, Field); 581 ExprResult MemberInit = PerformEmptyInit(SemaRef, Loc, MemberEntity, 718 ExprResult ElementInit = PerformEmptyInit(SemaRef, ILE->getLocEnd(), 1160 ExprResult Result = 1207 ExprResult ExprRes = expr; 1334 ExprResult Resul [all...] |
/external/clang/include/clang/Parse/ |
H A D | Parser.h | 573 static ExprResult getExprAnnotation(Token &Tok) { 574 return ExprResult::getFromOpaquePointer(Tok.getAnnotationValue()); 579 static void setExprAnnotation(Token &Tok, ExprResult ER) { 1269 ExprResult ParseSimpleAsm(SourceLocation *EndLoc = nullptr); 1270 ExprResult ParseAsmStringLiteral(); 1408 ExprResult ParseExpression(TypeCastState isTypeCast = NotTypeCast); 1409 ExprResult ParseConstantExpression(TypeCastState isTypeCast = NotTypeCast); 1410 ExprResult ParseConstraintExpression(); 1412 ExprResult ParseAssignmentExpression(TypeCastState isTypeCast = NotTypeCast); 1414 ExprResult ParseMSAsmIdentifie [all...] |
/external/clang/include/clang/Sema/ |
H A D | Sema.h | 1561 ExprResult Expr; 1569 NameClassification(ExprResult Expr) : Kind(NC_Expression), Expr(Expr) {} 1613 ExprResult getExpression() const { 2288 void maybeExtendBlockObject(ExprResult &E); 2289 CastKind PrepareCastToObjCObjectPointer(ExprResult &E); 2309 ExprResult PerformMoveOrCopyInitialization(const InitializedEntity &Entity, 2316 ExprResult Init); 2317 ExprResult PerformCopyInitialization(const InitializedEntity &Entity, 2319 ExprResult Init, 2322 ExprResult PerformObjectArgumentInitializatio [all...] |
H A D | Ownership.h | 253 typedef ActionResult<Expr*> ExprResult; typedef in namespace:clang 268 inline ExprResult ExprError() { return ExprResult(true); } 271 inline ExprResult ExprError(const DiagnosticBuilder&) { return ExprError(); } 274 inline ExprResult ExprEmpty() { return ExprResult(false); } 277 inline Expr *AssertSuccess(ExprResult R) {
|
/external/clang/lib/Parse/ |
H A D | ParseExpr.cpp | 120 ExprResult Parser::ParseExpression(TypeCastState isTypeCast) { 121 ExprResult LHS(ParseAssignmentExpression(isTypeCast)); 130 ExprResult 132 ExprResult LHS(ParseObjCAtExpression(AtLoc)); 139 ExprResult 141 ExprResult LHS(true); 157 ExprResult Parser::ParseAssignmentExpression(TypeCastState isTypeCast) { 169 ExprResult LHS = ParseCastExpression(/*isUnaryExpression=*/false, 184 ExprResult 189 ExprResult [all...] |
H A D | ParseInit.cpp | 131 ExprResult Parser::ParseInitializerWithPotentialDesignator() { 207 ExprResult Idx; 245 Idx = ExprResult(static_cast<Expr*>(TypeOrExpr)); 331 ExprResult RHS(ParseConstantExpression()); 389 ExprResult Parser::ParseBraceInitializer() { 426 ExprResult SubElt; 511 ExprResult SubElt;
|
H A D | ParseExprCXX.cpp | 592 ExprResult Parser::tryParseCXXIdExpression(CXXScopeSpec &SS, bool isAddressOfOperand, 656 ExprResult Parser::ParseCXXIdExpression(bool isAddressOfOperand) { 665 ExprResult Result = 668 // If the ExprResult is valid but null, then typo correction suggested a 717 ExprResult Parser::ParseLambdaExpression() { 737 ExprResult Parser::TryParseLambdaExpression() { 851 ExprResult Init; 1110 ExprResult Parser::ParseLambdaExpressionAfterIntroducer( 1179 ExprResult NoexceptExpr; 1335 ExprResult Parse [all...] |
H A D | ParseStmt.cpp | 402 ExprResult Expr(ParseExpression()); 493 ExprResult FilterExpr; 632 StmtResult Parser::ParseCaseStatement(bool MissingCase, ExprResult Expr) { 676 ExprResult LHS; 700 ExprResult RHS; 1013 ExprResult Res(ParseExpressionWithLeadingExtension(ExtLoc)); 1066 ExprResult CondExpr = ParseExpression(); 1463 ExprResult Cond = ParseExpression(); 1556 ExprResult Value; 1561 ExprResult Collectio [all...] |
H A D | ParseObjc.cpp | 2456 ExprResult Res; 2483 ExprResult operand(ParseExpression()); 2769 ExprResult Res(ParseExpressionWithLeadingAt(AtLoc)); 2783 ExprResult Parser::ParseObjCAtExpression(SourceLocation AtLoc) { 2807 ExprResult Lit(Actions.ActOnNumericConstant(Tok)); 2917 ExprResult Receiver = Actions.CorrectDelayedTyposInExpr(ParseExpression()); 2946 ExprResult Receiver = ParseCXXTypeConstructExpression(DS); 3021 ExprResult Parser::ParseObjCMessageExpression() { 3107 ExprResult Res = Actions.CorrectDelayedTyposInExpr(ParseExpression()); 3155 ExprResult [all...] |
H A D | ParseOpenMP.cpp | 53 ExprResult Res = 294 ExprResult CombinerResult = 306 ExprResult InitializerResult; 421 Parser &P, OMPDeclareSimdDeclAttr::BranchStateTy &BS, ExprResult &SimdLen, 504 ExprResult Simdlen; 1212 ExprResult Parser::ParseOpenMPParensExpr(StringRef ClauseName, 1219 ExprResult LHS(ParseCastExpression( 1221 ExprResult Val(ParseRHSOfBinaryExpression(LHS, prec::Conditional)); 1267 ExprResult Val = ParseOpenMPParensExpr(getOpenMPClauseName(Kind), RLoc); 1362 ExprResult Va [all...] |
H A D | ParseStmtAsm.cpp | 66 ExprResult Result = TheParser.ParseMSAsmIdentifier( 184 ExprResult Parser::ParseMSAsmIdentifier(llvm::SmallVectorImpl<Token> &LineToks, 218 ExprResult Result; 709 ExprResult AsmString(ParseAsmStringLiteral()); 779 ExprResult Clobber(ParseAsmStringLiteral()); 838 ExprResult Constraint(ParseAsmStringLiteral()); 854 ExprResult Res = Actions.CorrectDelayedTyposInExpr(ParseExpression());
|