Lines Matching defs:ImportLoc
1293 return std::make_pair(M->ImportLoc, StringRef(M->ModuleName));
1298 if (F->ImportLoc.isValid())
1299 return F->ImportLoc;
1735 DefMacroDirective *import(Preprocessor &PP, SourceLocation ImportLoc) const {
1738 return PP.AllocateDefMacroDirective(MI, ImportLoc, /*isImported=*/true);
1947 SourceLocation ImportLoc = Owner->MacroVisibilityLoc;
1948 if (ImportLoc.isInvalid()) {
1953 ImportLoc = MMI->F->DirectImportLoc;
1954 assert(ImportLoc.isValid() && "no import location for a visible macro?");
1962 DefMacroDirective *MD = MMI->import(PP, ImportLoc);
1969 PP.appendMacroDirective(II, PP.AllocateUndefMacroDirective(ImportLoc));
1980 MD = PP.AllocateDefMacroDirective(NewMI, ImportLoc, /*Imported*/true);
2347 SourceLocation ImportLoc =
2357 switch(ReadASTCore(ImportedFile, ImportedKind, ImportLoc, &F, Loaded,
3344 SourceLocation ImportLoc,
3366 Mod->MacroVisibilityLoc = ImportLoc;
3389 assert(ImportLoc.isValid() && "Missing import location");
3392 Diag(ImportLoc, diag::warn_module_conflict)
3443 SourceLocation ImportLoc,
3446 SetCurImportLocRAII(CurrentImportLoc, ImportLoc);
3456 switch(ASTReadResult ReadResult = ReadASTCore(FileName, Type, ImportLoc,
3525 F.DirectImportLoc = ImportLoc;
3527 F.ImportLoc = M->ImportLoc;
3529 F.ImportLoc = ReadSourceLocation(*M->ImportedBy,
3530 M->ImportLoc.getRawEncoding());
3628 SourceLocation ImportLoc,
3636 = ModuleMgr.addModule(FileName, Type, ImportLoc, ImportedBy,
3747 Loaded.push_back(ImportedModule(M, ImportedBy, ImportLoc));
3890 /*ImportLoc=*/Import.ImportLoc,