Home | History | Annotate | Download | only in AST

Lines Matching defs:Loc

85                          SourceLocation &Loc);
199 DiagnosticBuilder Diag1(SourceLocation Loc, unsigned DiagID) {
200 return C1.getDiagnostics().Report(Loc, DiagID);
203 DiagnosticBuilder Diag2(SourceLocation Loc, unsigned DiagID) {
204 return C2.getDiagnostics().Report(Loc, DiagID);
1711 SourceLocation &Loc) {
1730 Loc = Importer.Import(D->getLocation());
1737 // NOTE: To.Name and To.Loc are already imported.
1753 SourceLocation Loc = From.getCXXLiteralOperatorNameLoc();
1754 To.setCXXLiteralOperatorNameLoc(Importer.Import(Loc));
1958 SourceLocation Loc;
1959 if (ImportDeclParts(D, DC, LexicalDC, Name, Loc))
2000 Loc, Name.getAsIdentifierInfo());
2024 SourceLocation Loc;
2025 if (ImportDeclParts(D, DC, LexicalDC, Name, Loc))
2069 StartL, Loc,
2074 StartL, Loc,
2097 SourceLocation Loc;
2098 if (ImportDeclParts(D, DC, LexicalDC, Name, Loc))
2143 Loc, Name.getAsIdentifierInfo(), 0,
2198 SourceLocation Loc;
2199 if (ImportDeclParts(D, DC, LexicalDC, Name, Loc))
2261 DC, StartLoc, Loc,
2267 DC, StartLoc, Loc, Name.getAsIdentifierInfo());
2287 SourceLocation Loc;
2288 if (ImportDeclParts(D, DC, LexicalDC, Name, Loc))
2323 = EnumConstantDecl::Create(Importer.getToContext(), cast<EnumDecl>(DC), Loc,
2337 SourceLocation Loc;
2338 if (ImportDeclParts(D, DC, LexicalDC, Name, Loc))
2369 Importer.ToDiag(Loc, diag::err_odr_function_type_inconsistent)
2389 DeclarationNameInfo NameInfo(Name, Loc);
2498 SourceLocation Loc;
2499 if (ImportDeclParts(D, DC, LexicalDC, Name, Loc))
2514 Loc, Name.getAsIdentifierInfo(),
2530 SourceLocation Loc;
2531 if (ImportDeclParts(D, DC, LexicalDC, Name, Loc))
2553 Loc, Name.getAsIdentifierInfo(), T,
2566 SourceLocation Loc;
2567 if (ImportDeclParts(D, DC, LexicalDC, Name, Loc))
2581 Importer.ToDiag(Loc, diag::err_odr_ivar_type_inconsistent)
2602 Loc, Name.getAsIdentifierInfo(),
2616 SourceLocation Loc;
2617 if (ImportDeclParts(D, DC, LexicalDC, Name, Loc))
2664 Importer.ToDiag(Loc, diag::err_odr_variable_type_inconsistent)
2712 Loc, Name.getAsIdentifierInfo(),
2744 SourceLocation Loc = Importer.Import(D->getLocation());
2754 Loc, Name.getAsIdentifierInfo(),
2770 SourceLocation Loc = Importer.Import(D->getLocation());
2781 Loc, Name.getAsIdentifierInfo(),
2793 SourceLocation Loc;
2794 if (ImportDeclParts(D, DC, LexicalDC, Name, Loc))
2807 Importer.ToDiag(Loc, diag::err_odr_objc_method_result_type_inconsistent)
2818 Importer.ToDiag(Loc, diag::err_odr_objc_method_num_params_inconsistent)
2846 Importer.ToDiag(Loc, diag::err_odr_objc_method_variadic_inconsistent)
2868 Loc,
2914 SourceLocation Loc;
2915 if (ImportDeclParts(D, DC, LexicalDC, Name, Loc))
2930 Loc,
2987 SourceLocation Loc;
2988 if (ImportDeclParts(D, DC, LexicalDC, Name, Loc))
3005 ToProto = ObjCProtocolDecl::Create(Importer.getToContext(), DC, Loc,
3047 SourceLocation Loc;
3048 if (ImportDeclParts(D, DC, LexicalDC, Name, Loc))
3066 DC, Loc,
3277 SourceLocation Loc;
3278 if (ImportDeclParts(D, DC, LexicalDC, Name, Loc))
3290 Importer.ToDiag(Loc, diag::err_odr_objc_property_type_inconsistent)
3312 = ObjCPropertyDecl::Create(Importer.getToContext(), DC, Loc,
3431 SourceLocation Loc = Importer.Import(D->getLocation());
3451 = ObjCForwardProtocolDecl::Create(Importer.getToContext(), DC, Loc,
3474 SourceLocation Loc = Importer.Import(D->getLocation());
3490 Loc,
3525 SourceLocation Loc = Importer.Import(D->getLocation());
3542 Loc, D->getDepth(), D->getPosition(),
3555 SourceLocation Loc = Importer.Import(D->getLocation());
3567 Loc, D->getDepth(), D->getPosition(),
3591 SourceLocation Loc;
3592 if (ImportDeclParts(D, DC, LexicalDC, Name, Loc))
3650 Loc, Name, TemplateParams,
4405 DiagnosticBuilder ASTImporter::ToDiag(SourceLocation Loc, unsigned DiagID) {
4406 return ToContext.getDiagnostics().Report(Loc, DiagID);
4409 DiagnosticBuilder ASTImporter::FromDiag(SourceLocation Loc, unsigned DiagID) {
4410 return FromContext.getDiagnostics().Report(Loc, DiagID);