Home | History | Annotate | Download | only in Basic

Lines Matching refs:SourceFile

629 void SourceManager::overrideFileContents(const FileEntry *SourceFile,
632 const SrcMgr::ContentCache *IR = getOrCreateContentCache(SourceFile);
638 getOverriddenFilesInfo().OverriddenFilesWithBuffer.insert(SourceFile);
641 void SourceManager::overrideFileContents(const FileEntry *SourceFile,
643 assert(SourceFile->getSize() == NewFile->getSize() &&
646 assert(FileInfos.count(SourceFile) == 0 &&
649 getOverriddenFilesInfo().OverriddenFiles[SourceFile] = NewFile;
1490 SourceLocation SourceManager::translateFileLineCol(const FileEntry *SourceFile,
1493 assert(SourceFile && "Null source file!");
1496 FileID FirstFID = translateFile(SourceFile);
1504 FileID SourceManager::translateFile(const FileEntry *SourceFile) const {
1505 assert(SourceFile && "Null source file!");
1525 } else if (MainContentCache->OrigEntry == SourceFile) {
1531 SourceFileName = llvm::sys::path::filename(SourceFile->getName());
1533 SourceFileInode = getActualFileInode(SourceFile);
1538 SourceFile = MainFile;
1558 SLoc.getFile().getContentCache()->OrigEntry == SourceFile) {
1569 SLoc.getFile().getContentCache()->OrigEntry == SourceFile) {
1582 (SourceFileName = llvm::sys::path::filename(SourceFile->getName()))) &&
1584 (SourceFileInode = getActualFileInode(SourceFile)))) {
1602 SourceFile = Entry;
1611 (void) SourceFile;