Lines Matching refs:getLocation
147 << FixItHint::CreateInsertion(rBraceToken.getLocation(), RBraces); in ParseNamespace()
252 DeclEnd = Tok.getLocation(); in ParseNamespaceAlias()
287 Tok.is(tok::l_brace) ? Tok.getLocation() in ParseLinkage()
417 DeclEnd = Tok.getLocation(); in ParseUsingDirective()
451 TypenameLoc = Tok.getLocation(); in ParseUsingDeclaration()
493 Diag(Tok.getLocation(), getLangOpts().CPlusPlus0x ? in ParseUsingDeclaration()
541 DeclEnd = Tok.getLocation(); in ParseUsingDeclaration()
632 DeclEnd = Tok.getLocation(); in ParseStaticAssertDeclaration()
651 SourceLocation StartLoc = Tok.getLocation(); in ParseDecltypeSpecifier()
672 return T.getOpenLocation() == Tok.getLocation() ? in ParseDecltypeSpecifier()
784 << FixItHint::CreateRemoval(Tok.getLocation()); in ParseBaseTypeSpecifier()
792 BaseLoc = Tok.getLocation(); in ParseBaseTypeSpecifier()
1136 Diag(Tok.getLocation(), diag::err_friend_decl_defines_type) in ParseClassSpecifier()
1472 SourceLocation StartLoc = Tok.getLocation(); in ParseBaseSpecifier()
1635 if (VS.SetSpecifier(Specifier, Tok.getLocation(), PrevSpec)) in ParseOptionalCXX0XVirtSpecifierSeq()
1636 Diag(Tok.getLocation(), diag::err_duplicate_virt_specifier) in ParseOptionalCXX0XVirtSpecifierSeq()
1638 << FixItHint::CreateRemoval(Tok.getLocation()); in ParseOptionalCXX0XVirtSpecifierSeq()
1640 Diag(Tok.getLocation(), getLangOpts().CPlusPlus0x ? in ParseOptionalCXX0XVirtSpecifierSeq()
2289 << FixItHint::CreateRemoval(Tok.getLocation()); in ParseCXXMemberSpecification()
2308 SourceLocation ASLoc = Tok.getLocation(); in ParseCXXMemberSpecification()
2316 EndLoc = Tok.getLocation(); in ParseCXXMemberSpecification()
2319 EndLoc = Tok.getLocation(); in ParseCXXMemberSpecification()
2443 Diag(Tok.getLocation(), diag::err_expected_lbrace_or_comma); in ParseConstructorInitializer()
2490 SourceLocation IdLoc = Tok.getLocation(); in ParseMemInitializer()
2604 SpecificationRange.setEnd(Tok.getLocation()); in tryParseExceptionSpecification()
2610 End.setLocation(Tok.getLocation()); in tryParseExceptionSpecification()
2662 Diag(Tok.getLocation(), diag::err_dynamic_and_noexcept_specification); in tryParseExceptionSpecification()
2667 Diag(Tok.getLocation(), diag::err_dynamic_and_noexcept_specification); in tryParseExceptionSpecification()
2843 StringRef Spelling = PP.getSpelling(Tok.getLocation(), SpellingBuf); in TryParseCXX11AttributeIdentifier()
2893 Diag(Tok.getLocation(), diag::warn_cxx98_compat_alignas); in ParseCXX11AttributeSpecifier()
2901 Diag(Tok.getLocation(), diag::warn_cxx98_compat_attribute); in ParseCXX11AttributeSpecifier()
2930 Diag(Tok.getLocation(), diag::err_expected_ident); in ParseCXX11AttributeSpecifier()
2945 Diag(Tok.getLocation(), diag::err_cxx11_attribute_forbids_arguments) in ParseCXX11AttributeSpecifier()
2979 *endLoc = Tok.getLocation(); in ParseCXX11AttributeSpecifier()
2990 SourceLocation StartLoc = Tok.getLocation(), Loc; in ParseCXX11Attributes()
3017 if (endLoc) *endLoc = Tok.getLocation(); in ParseMicrosoftAttributes()
3060 << FixItHint::CreateRemoval(Tok.getLocation()); in ParseMicrosoftIfExistsClassDeclaration()
3069 SourceLocation ASLoc = Tok.getLocation(); in ParseMicrosoftIfExistsClassDeclaration()
3072 Actions.ActOnAccessSpecifier(AS, ASLoc, Tok.getLocation()); in ParseMicrosoftIfExistsClassDeclaration()