Home | History | Annotate | Download | only in Tooling

Lines Matching defs:File

5 // This file is distributed under the University of Illinois Open Source
95 Replacement Replace("nonexistent-file.cpp", 0, 1, "");
100 Replacement Replace("/path/to/file.cpp", 0, 1, "");
101 EXPECT_EQ("/path/to/file.cpp", Replace.getFilePath());
154 // This test depends on the value of the file name of an invalid source
280 const FileEntry *File = Context.Files.getFile(Path);
281 assert(File != nullptr);
287 return Context.Sources.createFileID(File, SourceLocation(), SrcMgr::C_User);
294 // a FileEntry, as otherwise we'd read through an already opened file
297 // reopen the file.
362 StringRef File, unsigned Offset, unsigned Length) {
364 EXPECT_EQ(File, Replace.getFilePath());