Lines Matching refs:getLocation

80   SourceLocation getLocation() const {  in getLocation()  function
128 SourceLocation getLocation() const { return Tok.getLocation(); }; in getLocation() function
163 auto Loc = SM.getDecomposedLoc(Parser.getLocation()); in parseModuleMap()
221 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_module); in parseTopLevelDecls()
273 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_module); in parseModuleDecl()
320 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_lbrace) in parseModuleDecl()
339 Diags.Report(Tok.getLocation(), diag::err_mmap_config_macro_submodule); in parseModuleDecl()
363 Diags.Report(Tok.getLocation(), diag::err_mmap_submodule_export_as); in parseModuleDecl()
412 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_member); in parseModuleDecl()
423 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_rbrace); in parseModuleDecl()
437 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_module); in parseExternModuleDecl()
452 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_mmap_file); in parseExternModuleDecl()
499 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_config_macro); in parseConfigMacrosDecl()
525 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_conflicts_comma) in parseConflictDecl()
533 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_conflicts_message) in parseConflictDecl()
562 std::make_pair(std::string(Tok.getString()), Tok.getLocation())); in parseExportDecl()
579 Diags.Report(Tok.getLocation(), diag::err_mmap_module_id); in parseExportDecl()
597 Diags.Report(Tok.getLocation(), diag::err_mmap_module_id); in parseExportAsDecl()
647 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_feature); in parseRequiresDecl()
701 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_header) in parseHeaderDecl()
713 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_header) << "header"; in parseHeaderDecl()
738 Diags.Report(Tok.getLocation(), in parseHeaderDecl()
752 Diags.Report(Tok.getLocation(), in parseHeaderDecl()
772 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_rbrace); in parseHeaderDecl()
788 Diags.Report(Tok.getLocation(), diag::err_mmap_missing_exclude_name); in parseExcludeDecl()
810 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_header) in parseUmbrellaDirDecl()
839 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_library_name) in parseLinkDecl()
851 SourceLocation Result = Tok.getLocation(); in consumeToken()
857 Tok.Location = LToken.getLocation().getRawEncoding(); in consumeToken()
922 Diags.Report(LToken.getLocation(), diag::err_invalid_string_udl); in consumeToken()
939 Diags.Report(Tok.getLocation(), diag::err_mmap_unknown_token); in consumeToken()
972 Diags.Report(Tok.getLocation(), diag::err_mmap_unknown_token); in consumeToken()
1038 std::make_pair(std::string(Tok.getString()), Tok.getLocation())); in parseModuleId()
1041 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_module_name); in parseModuleId()
1075 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_attribute); in parseOptionalAttributes()
1110 Diags.Report(Tok.getLocation(), diag::warn_mmap_unknown_attribute) in parseOptionalAttributes()
1134 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_rsquare); in parseOptionalAttributes()