Lines Matching refs:getLocation
233 Eof.setLocation(Tok.getLocation()); in ParseCXXNonStaticMemberInitializer()
324 SourceLocation origLoc = Tok.getLocation(); in ParseLexedMethodDeclaration()
355 Diag(Tok.getLocation(), diag::err_default_arg_unparsed); in ParseLexedMethodDeclaration()
361 Tok.getLocation()) && in ParseLexedMethodDeclaration()
365 while (Tok.getLocation() != origLoc && Tok.isNot(tok::eof)) in ParseLexedMethodDeclaration()
408 SourceLocation origLoc = Tok.getLocation(); in ParseLexedMethodDef()
429 Tok.getLocation()) && in ParseLexedMethodDef()
433 while (Tok.getLocation() != origLoc && Tok.isNot(tok::eof)) in ParseLexedMethodDef()
444 while (Tok.getLocation() != origLoc && Tok.isNot(tok::eof)) in ParseLexedMethodDef()
463 if (Tok.getLocation() != origLoc) { in ParseLexedMethodDef()
469 if (PP.getSourceManager().isBeforeInTranslationUnit(Tok.getLocation(), in ParseLexedMethodDef()
471 while (Tok.getLocation() != origLoc && Tok.isNot(tok::eof)) in ParseLexedMethodDef()
542 EndLoc = Tok.getLocation(); in ParseLexedMemberInitializer()
672 return Diag(Tok.getLocation(), diag::err_expected_lbrace); in ConsumeAndStoreFunctionPrologue()
700 return Diag(Tok.getLocation(), diag::err_expected_lparen_after) in ConsumeAndStoreFunctionPrologue()
705 Diag(Tok.getLocation(), diag::err_expected_rparen); in ConsumeAndStoreFunctionPrologue()
753 return Diag(Tok.getLocation(), diag::err_expected_lbrace); in ConsumeAndStoreFunctionPrologue()
757 return Diag(Tok.getLocation(), getLangOpts().CPlusPlus11 in ConsumeAndStoreFunctionPrologue()
765 SourceLocation OpenLoc = Tok.getLocation(); in ConsumeAndStoreFunctionPrologue()
819 return Diag(Tok.getLocation(), diag::err_expected_lbrace_or_comma); in ConsumeAndStoreFunctionPrologue()