/external/clang/include/clang/Parse/ |
Parser.h | 260 typedef clang::ExprResult ExprResult; 270 ExprResult ExprError() { return ExprResult(true); } 273 ExprResult ExprError(const DiagnosticBuilder &) { return ExprError(); } 276 ExprResult ExprEmpty() { return ExprResult(false); } 559 static ExprResult getExprAnnotation(Token &Tok) { 560 return ExprResult::getFromOpaquePointer(Tok.getAnnotationValue()); 565 static void setExprAnnotation(Token &Tok, ExprResult ER) [all...] |
/external/clang/include/clang/Sema/ |
Sema.h | [all...] |
Ownership.h | 252 typedef ActionResult<Expr*> ExprResult; 267 inline ExprResult ExprError() { return ExprResult(true); } 270 inline ExprResult ExprError(const DiagnosticBuilder&) { return ExprError(); } 273 inline ExprResult ExprEmpty() { return ExprResult(false); } 276 inline Expr *AssertSuccess(ExprResult R) {
|
/external/clang/lib/Sema/ |
SemaPseudoObject.cpp | 219 ExprResult buildRValueOperation(Expr *op); 220 ExprResult buildAssignmentOperation(Scope *Sc, 224 ExprResult buildIncDecOperation(Scope *Sc, SourceLocation opLoc, 228 virtual ExprResult complete(Expr *syntacticForm); 252 virtual ExprResult buildGet() = 0; 253 virtual ExprResult buildSet(Expr *, SourceLocation, 275 ExprResult buildRValueOperation(Expr *op); 276 ExprResult buildAssignmentOperation(Scope *Sc, 280 ExprResult buildIncDecOperation(Scope *Sc, SourceLocation opLoc, 284 bool tryBuildGetOfReference(Expr *op, ExprResult &result) [all...] |
TreeTransform.h | 132 static inline ExprResult Owned(Expr *E) { return E; } 338 ExprResult TransformExpr(Expr *E); 347 ExprResult TransformInitializer(Expr *Init, bool CXXDirectInit); 594 ExprResult TransformCXXNamedCastExpr(CXXNamedCastExpr *E); 596 typedef std::pair<ExprResult, QualType> InitCaptureInfoTy; 598 ExprResult TransformLambdaScope(LambdaExpr *E, CXXMethodDecl *CallOperator, 606 ExprResult TransformAddressOfOperand(Expr *E); 608 ExprResult TransformDependentScopeDeclRefExpr(DependentScopeDeclRefExpr *E, 612 ExprResult TransformParenDependentScopeDeclRefExpr( 625 ExprResult Transform##Node(Node *E) [all...] |
SemaExpr.cpp | 433 ExprResult Sema::DefaultFunctionArrayConversion(Expr *E) { 436 ExprResult result = CheckPlaceholderExpr(E); 547 ExprResult Sema::DefaultLvalueConversion(Expr *E) { 550 ExprResult result = CheckPlaceholderExpr(E); 624 ExprResult Res = ImplicitCastExpr::Create(Context, T, CK_LValueToRValue, E, 639 ExprResult Sema::DefaultFunctionArrayLvalueConversion(Expr *E) { 640 ExprResult Res = DefaultFunctionArrayConversion(E); 651 ExprResult Sema::CallExprUnaryConversions(Expr *E) { 653 ExprResult Res = E; 673 ExprResult Sema::UsualUnaryConversions(Expr *E) [all...] |
SemaExprCXX.cpp | 366 ExprResult Sema::BuildCXXTypeId(QualType TypeInfoType, 388 ExprResult Sema::BuildCXXTypeId(QualType TypeInfoType, 394 ExprResult result = CheckPlaceholderExpr(E); 415 ExprResult Result = TransformToPotentiallyEvaluated(E); 442 ExprResult 489 ExprResult Sema::BuildCXXUuidof(QualType TypeInfoType, 509 ExprResult Sema::BuildCXXUuidof(QualType TypeInfoType, 529 ExprResult 563 ExprResult 572 ExprResult [all...] |
SemaExprMember.cpp | 234 ExprResult 441 ExprResult 673 static ExprResult LookupMemberExpr(Sema &S, LookupResult &R, 674 ExprResult &BaseExpr, bool &IsArrow, 678 ExprResult 707 ExprResult BaseResult = Base; 708 ExprResult Result = LookupMemberExpr( 733 static ExprResult 739 ExprResult 766 ExprResult result [all...] |
SemaExprObjC.cpp | 34 ExprResult Sema::ParseObjCStringLiteral(SourceLocation *AtLocs, 83 ExprResult Sema::BuildObjCStringLiteral(SourceLocation AtLoc, StringLiteral *S){ 260 ExprResult Sema::BuildObjCNumericLiteral(SourceLocation AtLoc, Expr *Number) { 297 ExprResult ConvertedNumber = PerformCopyInitialization(Entity, 310 ExprResult Sema::ActOnObjCBoolLiteral(SourceLocation AtLoc, 313 ExprResult Inner; 329 static ExprResult CheckObjCCollectionLiteralElement(Sema &S, Expr *Element, 336 ExprResult Result = S.CheckPlaceholderExpr(Element); 444 ExprResult Sema::BuildObjCBoxedExpr(SourceRange SR, Expr *ValueExpr) { 453 ExprResult RValue = DefaultFunctionArrayLvalueConversion(ValueExpr) [all...] |
SemaTemplateInstantiate.cpp | [all...] |
SemaStmt.cpp | 38 StmtResult Sema::ActOnExprStmt(ExprResult FE) { 452 ExprResult CondResult(CondVal.release()); 581 ExprResult CondResult; 795 ExprResult ConvLo = [all...] |
SemaCast.cpp | 50 CastOperation(Sema &S, QualType destType, ExprResult src) 65 ExprResult SrcExpr; 87 ExprResult complete(CastExpr *castExpr) { 183 static TryCastResult TryStaticMemberPointerUpcast(Sema &Self, ExprResult &SrcExpr, 191 static TryCastResult TryStaticImplicitCast(Sema &Self, ExprResult &SrcExpr, 197 static TryCastResult TryStaticCast(Sema &Self, ExprResult &SrcExpr, 204 static TryCastResult TryConstCast(Sema &Self, ExprResult &SrcExpr, 207 static TryCastResult TryReinterpretCast(Sema &Self, ExprResult &SrcExpr, 215 ExprResult 238 ExprResult [all...] |
SemaStmtAsm.cpp | 166 ExprResult Result = DefaultFunctionArrayLvalueConversion(Exprs[i]); 371 ExprResult Sema::LookupInlineAsmIdentifier(CXXScopeSpec &SS, 382 ExprResult Result = ActOnIdExpression(getCurScope(), SS, TemplateKWLoc, Id,
|
SemaOverload.cpp | 42 static ExprResult 64 ExprResult E = DRE; 850 ExprResult result = S.CheckPlaceholderExpr(E); [all...] |
SemaInit.cpp | 316 static ExprResult PerformEmptyInit(Sema &SemaRef, 342 ExprResult InitListChecker::PerformEmptyInit(Sema &SemaRef, 443 return VerifyOnly ? ExprResult(static_cast<Expr *>(nullptr)) 493 ExprResult MemberInit = PerformEmptyInit(SemaRef, Loc, MemberEntity, 594 ExprResult ElementInit = PerformEmptyInit(SemaRef, ILE->getLocEnd(), [all...] |
SemaTemplateVariadic.cpp | 421 ExprResult Result = ActOnPackExpansion(Arg.getAsExpr(), EllipsisLoc); 492 ExprResult Sema::ActOnPackExpansion(Expr *Pattern, SourceLocation EllipsisLoc) { 496 ExprResult Sema::CheckPackExpansion(Expr *Pattern, SourceLocation EllipsisLoc, 792 ExprResult Sema::ActOnSizeofParameterPackExpr(Scope *S, [all...] |
SemaChecking.cpp | 104 ExprResult Arg(TheCall->getArg(0)); 114 ExprResult 116 ExprResult TheCallResult(TheCall); 450 ExprResult RHS = DefaultFunctionArrayLvalueConversion(Arg); 513 ExprResult PointerArgRes = DefaultFunctionArrayLvalueConversion(PointerArg); 589 ExprResult ValArg = TheCall->getArg(0); [all...] |
SemaOpenMP.cpp | 559 ExprResult Sema::ActOnOpenMPIdExpression(Scope *CurScope, 680 ExprResult DE = BuildDeclRefExpr(VD, ExprType, VK_LValue, Id.getLoc()); [all...] |
/external/clang/lib/Parse/ |
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) { 167 ExprResult LHS = ParseCastExpression(/*isUnaryExpression=*/false, 182 ExprResult 187 ExprResult [all...] |
ParseInit.cpp | 131 ExprResult Parser::ParseInitializerWithPotentialDesignator() { 207 ExprResult Idx; 247 Idx = ExprResult(static_cast<Expr*>(TypeOrExpr)); 323 ExprResult RHS(ParseConstantExpression()); 381 ExprResult Parser::ParseBraceInitializer() { 418 ExprResult SubElt; 501 ExprResult SubElt;
|
ParseStmt.cpp | 384 ExprResult Expr(ParseExpression()); 476 ExprResult FilterExpr(ParseExpression()); 598 StmtResult Parser::ParseCaseStatement(bool MissingCase, ExprResult Expr) { 642 ExprResult LHS; 661 ExprResult RHS; [all...] |
ParseExprCXX.cpp | 601 ExprResult Parser::ParseCXXIdExpression(bool isAddressOfOperand) { 668 ExprResult Parser::ParseLambdaExpression() { 688 ExprResult Parser::TryParseLambdaExpression() { 798 ExprResult Init; [all...] |
ParseObjc.cpp | [all...] |
ParseOpenMP.cpp | 268 ExprResult Res = 414 ExprResult LHS(ParseCastExpression(false, false, NotTypeCast)); 415 ExprResult Val(ParseRHSOfBinaryExpression(LHS, prec::Conditional)); 489 ExprResult Val; 502 ExprResult LHS(ParseCastExpression(false, false, NotTypeCast)); 620 ExprResult VarExpr = ParseAssignmentExpression(); 643 ExprResult Tail = ParseAssignmentExpression();
|
ParseStmtAsm.cpp | 65 ExprResult Result = TheParser.ParseMSAsmIdentifier( 169 ExprResult Parser::ParseMSAsmIdentifier(llvm::SmallVectorImpl<Token> &LineToks, 614 ExprResult AsmString(ParseAsmStringLiteral()); 675 ExprResult Clobber(ParseAsmStringLiteral()); 734 ExprResult Constraint(ParseAsmStringLiteral()); 750 ExprResult Res(ParseExpression());
|