Home | History | Annotate | Download | only in Sema

Lines Matching refs:getSema

138   Sema &getSema() const { return SemaRef; }
968 return getSema().CheckPackExpansion(Pattern, PatternRange, EllipsisLoc,
1022 return getSema().Context.getSubstTemplateTemplateParmPack(Param, ArgPack);
1033 return getSema().ActOnCompoundStmt(LBraceLoc, RBraceLoc, Statements,
1046 return getSema().ActOnCaseStmt(CaseLoc, LHS, EllipsisLoc, RHS,
1055 getSema().ActOnCaseStmtBody(S, Body);
1066 return getSema().ActOnDefaultStmt(DefaultLoc, ColonLoc, SubStmt,
1096 return getSema().ActOnIfStmt(IfLoc, Cond, CondVar, Then, ElseLoc, Else);
1105 return getSema().ActOnStartOfSwitchStmt(SwitchLoc, Cond,
1115 return getSema().ActOnFinishSwitchStmt(SwitchLoc, Switch, Body);
1124 return getSema().ActOnWhileStmt(WhileLoc, Cond, CondVar, Body);
1134 return getSema().ActOnDoStmt(DoLoc, Body, WhileLoc, LParenLoc,
1146 return getSema().ActOnForStmt(ForLoc, LParenLoc, Init, Cond,
1156 return getSema().ActOnGotoStmt(GotoLoc, LabelLoc, Label);
1166 return getSema().ActOnIndirectGotoStmt(GotoLoc, StarLoc, Target);
1174 return getSema().ActOnReturnStmt(ReturnLoc, Result);
1183 Sema::DeclGroupPtrTy DG = getSema().BuildDeclaratorGroup(Decls);
1184 return getSema().ActOnDeclStmt(DG, StartLoc, EndLoc);
1197 return getSema().ActOnGCCAsmStmt(AsmLoc, IsSimple, IsVolatile, NumOutputs,
1214 return getSema().ActOnMSAsmStmt(AsmLoc, LBraceLoc, AsmToks, AsmString,
1227 return getSema().ActOnObjCAtTryStmt(AtLoc, TryBody, CatchStmts,
1237 return getSema().BuildObjCExceptionDecl(TInfo, T,
1251 return getSema().ActOnObjCAtCatchStmt(AtLoc, RParenLoc,
1261 return getSema().ActOnObjCAtFinallyStmt(AtLoc, Body);
1270 return getSema().BuildObjCAtThrowStmt(AtLoc, Operand);
1281 return getSema().ActOnOpenMPParallelDirective(Clauses, AStmt,
1294 return getSema().ActOnOpenMPDefaultClause(Kind, KindKwLoc,
1306 return getSema().ActOnOpenMPPrivateClause(VarList, StartLoc, LParenLoc,
1316 return getSema().ActOnObjCAtSynchronizedOperand(atLoc, object);
1325 return getSema().ActOnObjCAtSynchronizedStmt(AtLoc, Object, Body);
1334 return getSema().ActOnObjCAutoreleasePoolStmt(AtLoc, Body);
1346 StmtResult ForEachStmt = getSema().ActOnObjCForCollectionStmt(ForLoc,
1353 return getSema().FinishObjCForCollectionStmt(ForEachStmt.take(), Body);
1365 VarDecl *Var = getSema().BuildExceptionDeclaration(0, Declarator,
1368 getSema().CurContext->addDecl(Var);
1379 return Owned(new (getSema().Context) CXXCatchStmt(CatchLoc, ExceptionDecl,
1390 return getSema().ActOnCXXTryBlock(TryLoc, TryBlock, Handlers);
1414 return getSema().ActOnObjCForCollectionStmt(ForLoc, LoopVar, RangeExpr,
1420 return getSema().BuildCXXForRangeStmt(ForLoc, ColonLoc, Range, BeginEnd,
1434 return getSema().BuildMSDependentExistsStmt(KeywordLoc, IsIfExists,
1443 return getSema().FinishCXXForRangeStmt(ForRange, Body);
1450 return getSema().ActOnSEHTryBlock(IsCXXTry,TryLoc,TryBlock,Handler);
1456 return getSema().ActOnSEHExceptBlock(Loc,FilterExpr,Block);
1461 return getSema().ActOnSEHFinallyBlock(Loc,Block);
1471 return getSema().BuildDeclarationNameExpr(SS, R, RequiresADL);
1488 return getSema().BuildDeclarationNameExpr(SS, NameInfo, VD);
1497 return getSema().ActOnParenExpr(LParen, RParen, SubExpr);
1520 return getSema().BuildUnaryOp(/*Scope=*/0, OpLoc, Opc, SubExpr);
1532 return getSema().BuildBuiltinOffsetOf(OperatorLoc, Type, Components,
1545 return getSema().CreateUnaryExprOrTypeTraitExpr(TInfo, OpLoc, ExprKind, R);
1557 = getSema().CreateUnaryExprOrTypeTraitExpr(SubExpr, OpLoc, ExprKind);
1572 return getSema().ActOnArraySubscriptExpr(/*Scope=*/0, LHS,
1585 return getSema().ActOnCallExpr(/*Scope=*/0, Callee, LParenLoc,
1602 ExprResult BaseResult = getSema().PerformMemberExprBaseConversion(Base,
1613 getSema().PerformObjectMemberConversion(BaseResult.take(),
1621 new (getSema().Context) MemberExpr(Base, isArrow,
1625 return getSema().Owned(ME);
1636 LookupResult R(getSema(), MemberNameInfo, Sema::LookupMemberName);
1640 return getSema().BuildMemberReferenceExpr(Base, BaseType, OpLoc, isArrow,
1653 return getSema().BuildBinOp(/*Scope=*/0, OpLoc, Opc, LHS, RHS);
1665 return getSema().ActOnConditionalOp(QuestionLoc, ColonLoc, Cond,
1677 return getSema().BuildCStyleCastExpr(LParenLoc, TInfo, RParenLoc,
1689 return getSema().BuildCompoundLiteralExpr(LParenLoc, TInfo, RParenLoc,
1704 return getSema().BuildMemberReferenceExpr(Base, Base->getType(),
1766 return getSema().BuildVAArgExpr(BuiltinLoc,
1778 return getSema().ActOnParenListExpr(LParenLoc, RParenLoc, SubExprs);
1788 return getSema().ActOnAddrLabel(AmpAmpLoc, LabelLoc, Label);
1798 return getSema().ActOnStmtExpr(LParenLoc, SubStmt, RParenLoc);
1823 return getSema().CreateGenericSelectionExpr(KeyLoc, DefaultLoc, RParenLoc,
1893 return getSema().BuildCXXNamedCast(OpLoc, tok::kw_static_cast,
1910 return getSema().BuildCXXNamedCast(OpLoc, tok::kw_dynamic_cast,
1927 return getSema().BuildCXXNamedCast(OpLoc, tok::kw_reinterpret_cast,
1944 return getSema().BuildCXXNamedCast(OpLoc, tok::kw_const_cast,
1958 return getSema().BuildCXXTypeConstructExpr(TInfo, LParenLoc,
1971 return getSema().BuildCXXTypeId(TypeInfoType, TypeidLoc, Operand,
1984 return getSema().BuildCXXTypeId(TypeInfoType, TypeidLoc, Operand,
1996 return getSema().BuildCXXUuidof(TypeInfoType, TypeidLoc, Operand,
2008 return getSema().BuildCXXUuidof(TypeInfoType, TypeidLoc, Operand,
2020 getSema().CheckCXXThisCapture(ThisLoc);
2021 return getSema().Owned(
2022 new (getSema().Context) CXXThisExpr(ThisLoc, ThisType,
2032 return getSema().BuildCXXThrow(ThrowLoc, Sub, IsThrownVariableInScope);
2042 return getSema().Owned(CXXDefaultArgExpr::Create(getSema().Context, Loc,
2053 return getSema().Owned(CXXDefaultInitExpr::Create(getSema().Context, Loc,
2064 return getSema().BuildCXXTypeConstructExpr(TSInfo, LParenLoc,
2083 return getSema().BuildCXXNew(StartLoc, UseGlobal,
2103 return getSema().ActOnCXXDelete(StartLoc, IsGlobalDelete, IsArrayForm,
2115 return getSema().BuildUnaryTypeTrait(Trait, StartLoc, T, RParenLoc);
2127 return getSema().BuildBinaryTypeTrait(Trait, StartLoc, LhsT, RhsT, RParenLoc);
2138 return getSema().BuildTypeTrait(Trait, StartLoc, Args, RParenLoc);
2150 return getSema().BuildArrayTypeTrait(Trait, StartLoc, TSInfo, DimExpr, RParenLoc);
2161 return getSema().BuildExpressionTrait(Trait, StartLoc, Queried, RParenLoc);
2179 return getSema().BuildQualifiedTemplateIdExpr(SS, TemplateKWLoc,
2182 return getSema().BuildQualifiedDeclarationNameExpr(SS, NameInfo,
2195 return getSema().BuildTemplateIdExpr(SS, TemplateKWLoc, R, RequiresADL,
2214 if (getSema().CompleteConstructorCall(Constructor, Args, Loc,
2218 return getSema().BuildCXXConstructExpr(Loc, T, Constructor, IsElidable,
2234 return getSema().BuildCXXTypeConstructExpr(TSInfo,
2248 return getSema().BuildCXXTypeConstructExpr(TSInfo,
2328 return getSema().BuildObjCBoxedExpr(SR, ValueExpr);
2337 return getSema().BuildObjCArrayLiteral(Range,
2345 return getSema().BuildObjCSubscriptExpression(RB, Base, Key,
2356 return getSema().BuildObjCDictionaryLiteral(Range, Elements, NumElements);
2409 ExprResult Base = getSema().Owned(BaseArg);
2410 LookupResult R(getSema(), Ivar->getDeclName(), IvarLoc,
2412 ExprResult Result = getSema().LookupMemberExpr(R, Base, IsArrow,
2422 return getSema().BuildMemberReferenceExpr(Base.get(), Base.get()->getType(),
2438 ExprResult Base = getSema().Owned(BaseArg);
2439 LookupResult R(getSema(), Property->getDeclName(), PropertyLoc,
2442 ExprResult Result = getSema().LookupMemberExpr(R, Base, IsArrow,
2451 return getSema
2470 new (getSema().Context) ObjCPropertyRefExpr(Getter, Setter, T,
2483 ExprResult Base = getSema().Owned(BaseArg);
2484 LookupResult R(getSema(), &getSema().Context.Idents.get("isa"), IsaLoc,
2486 ExprResult Result = getSema().LookupMemberExpr(R, Base, IsArrow,
2495 return getSema().BuildMemberReferenceExpr(Base.get(), Base.get()->getType(),
2548 = getSema().CheckPackExpansion(Pattern.getSourceExpression(),
2574 = getSema().CheckPackExpansion(Pattern.getTypeSourceInfo(),
2592 return getSema().CheckPackExpansion(Pattern, EllipsisLoc, NumExpansions);
2648 return getSema().ActOnExprStmt(E);
2775 getSema().collectUnexpandedParameterPacks(Pattern, Unexpanded);
2795 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(getSema(), -1);
2819 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(getSema(), I);
3193 EnterExpressionEvaluationContext Unevaluated(getSema(),
3304 = getSema().getTemplateArgumentPackExpansionPattern(
3308 getSema().collectUnexpandedParameterPacks(Pattern, Unexpanded);
3329 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(getSema(), -1);
3345 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(getSema(), I);
3401 TypeSourceInfo *DI = getSema().Context.getTrivialTypeSourceInfo(T,
4177 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(getSema(), I);
4220 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(getSema(), -1);
4250 getSema().collectUnexpandedParameterPacks(Pattern, Unexpanded);
4267 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(getSema(), I);
4298 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(getSema(), -1);
4308 NewType = getSema().Context.getPackExpansionType(NewType,
4551 E = getSema().ActOnDecltypeExpression(E.take());
4902 = getSema().Context.getDependentTemplateSpecializationType(
5242 Sema::CompoundScopeRAII CompoundScope(getSema());
5389 ExprResult CondE = getSema().ActOnBooleanCondition(0, S->getIfLoc(),
5398 Sema::FullExprArg FullCond(getSema().MakeFullExpr(Cond.take()));
5484 ExprResult CondE = getSema().ActOnBooleanCondition(0, S->getWhileLoc(),
5492 Sema::FullExprArg FullCond(getSema().MakeFullExpr(Cond.take()));
5561 ExprResult CondE = getSema().ActOnBooleanCondition(0, S->getForLoc(),
5570 Sema::FullExprArg FullCond(getSema().MakeFullExpr(Cond.take()));
5579 Sema::FullExprArg FullInc(getSema().MakeFullDiscardedValueExpr(Inc.get()));
5880 return getSema().Owned(S);
6135 switch (getSema().CheckMicrosoftIfExistsSymbol(/*S=*/0, SS, NameInfo)) {
6140 return new (getSema().Context) NullStmt(S->getKeywordLoc());
6146 return new (getSema().Context) NullStmt(S->getKeywordLoc());
6770 Sema::FPContractStateRAII FPContractState(getSema());
6771 getSema().FPFeatures.fp_contract = E->isFPContractable();
7200 Sema::FPContractStateRAII FPContractState(getSema());
7201 getSema().FPFeatures.fp_contract = E->isFPContractable();
7416 QualType T = getSema().getCurrentThisType();
7420 getSema().CheckCXXThisCapture(E->getLocStart());
7896 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(getSema(), -1);
8205 = getSema().createLambdaClosureType(E->getIntroducerRange(),
8221 = getSema().startLambdaDefinition(Class, E->getIntroducerRange(),
8251 Sema::ContextRAII SavedContext(getSema(), CallOperator);
8255 = getSema().enterLambdaScope(CallOperator, E->getIntroducerRange(),
8269 getSema().finishLambdaExplicitCaptures(LSI);
8275 getSema().CheckCXXThisCapture(C->getLocation(), C->isExplicit());
8287 FieldDecl *NewFD = getSema().checkInitCapture(
8326 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(getSema(), I);
8336 getSema().tryCaptureVariable(CapturedVar, C->getLocation(), Kind);
8354 getSema().tryCaptureVariable(CapturedVar, C->getLocation(), Kind);
8357 getSema().finishLambdaExplicitCaptures(LSI);
8362 getSema().PushExpressionEvaluationContext(Sema::PotentiallyEvaluated);
8365 getSema().ActOnLambdaError(E->getLocStart(), /*CurScope=*/0,
8373 getSema().ActOnLambdaError(E->getLocStart(), /*CurScope=*/0,
8378 return getSema().ActOnLambdaExpr(E->getLocStart(), Body.take(),
8520 Base = getSema().PerformMemberExprBaseConversion(Base.take(),
8775 getSema().collectUnexpandedParameterPacks(OrigElement.Key, Unexpanded);
8776 getSema().collectUnexpandedParameterPacks(OrigElement.Value, Unexpanded);
8798 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(getSema(), -1);
8827 Sema::ArgumentPackSubstitutionIndexRAII SubstIndex(getSema(), I);
9138 getSema().ActOnBlockError(E->getCaretLocation(), /*Scope=*/0);
9163 getSema().ActOnBlockError(E->getCaretLocation(), /*Scope=*/0);
9462 getSema().ActOnDependentTemplateName(/*Scope=*/0,
9482 getSema().ActOnDependentTemplateName(/*Scope=*/0,
9504 return getSema().CreateBuiltinArraySubscriptExpr(First,
9517 return getSema().CreateBuiltinUnaryOp(OpLoc, Opc, First);
9630 return getSema().BuildMemberReferenceExpr(Base, BaseType,
9643 getSema().ActOnCapturedRegionStart(Loc, /*CurScope*/0,
9648 getSema().ActOnCapturedRegionError();
9652 return getSema().ActOnCapturedRegionEnd(Body.take());