Lines Matching defs:Intro
635 LambdaIntroducer Intro;
636 Optional<unsigned> DiagID = ParseLambdaIntroducer(Intro);
645 return ParseLambdaExpressionAfterIntroducer(Intro);
683 LambdaIntroducer Intro;
684 if (TryParseLambdaIntroducer(Intro))
687 return ParseLambdaExpressionAfterIntroducer(Intro);
691 /// \param Intro A LambdaIntroducer filled in with information about the
696 /// populate \p Intro. This flag will be set to \c true if we do so.
699 Optional<unsigned> Parser::ParseLambdaIntroducer(LambdaIntroducer &Intro,
707 Intro.Range.setBegin(T.getOpenLocation());
714 Intro.Default = LCD_ByRef;
715 Intro.DefaultLoc = ConsumeToken();
718 Intro.Default = LCD_ByCopy;
719 Intro.DefaultLoc = ConsumeToken();
731 !(getLangOpts().ObjC1 && Intro.Default == LCD_None &&
732 !Intro.Captures.empty())) {
733 Actions.CodeCompleteLambdaIntroducer(getCurScope(), Intro,
750 Actions.CodeCompleteLambdaIntroducer(getCurScope(), Intro,
774 Actions.CodeCompleteLambdaIntroducer(getCurScope(), Intro,
920 Intro.addCapture(Kind, Loc, Id, EllipsisLoc, Init, InitCaptureParsedType);
924 Intro.Range.setEnd(T.getCloseLocation());
931 bool Parser::TryParseLambdaIntroducer(LambdaIntroducer &Intro) {
935 Optional<unsigned> DiagID(ParseLambdaIntroducer(Intro, &SkippedInits));
945 Intro = LambdaIntroducer();
946 DiagID = ParseLambdaIntroducer(Intro);
958 LambdaIntroducer &Intro) {
959 SourceLocation LambdaBeginLoc = Intro.Range.getBegin();
1121 Actions.ActOnStartOfLambdaDefinition(Intro, D, getCurScope());