Lines Matching defs:File
5 // This file is distributed under the University of Illinois Open Source
107 /// \brief Return the start location of an included file or expanded macro.
114 /// \brief Return the end location of an included file or expanded macro.
122 /// \brief Find out where the current file is included or macro is expanded.
161 /// Fills \c Mapping with the virtual file mapping needed to write out
162 /// coverage and collects the necessary file information to emit source and
171 FileID File = SM.getFileID(Loc);
172 if (!Visited.insert(File).second)
199 /// \brief Get the coverage mapping file ID for \c Loc.
201 /// If such file id doesn't exist, return None.
256 assert(SM.getFileID(LocStart).isValid() && "region in invalid file");
263 // Ignore regions that don't have a file, such as builtin macros.
284 /// \brief Generate expansion regions for each virtual file we've seen.
296 assert(ExpandedFileID && "expansion in uncovered file");
372 /// \brief A location in the most recently visited file or macro.
375 /// expressions cross file or macro boundaries.
426 // The region ends in a nested file or macro expansion. Create a
435 llvm::report_fatal_error("File
466 // The statement may be spanned by an expansion. Make sure we handle a file
491 // it detects exiting of the virtual file of that macro. If we visited
502 /// \brief Adjust regions and state when \c NewLoc exits a file.
505 /// files, this adjusts our current region stack and creates the file regions
506 /// for the exited file.
512 // If NewLoc is not in a file that contains MostRecentLocation, walk up to
519 // Since there isn't a common ancestor, no file was exited. We just need
520 // to adjust our location to the new file.
551 // If the file is contained completely by another region and doesn't
552 // immediately start its own region, the whole file gets a region
951 OS << "File " << R.FileID << ", " << R.LineStart << ":" << R.ColumnStart
955 OS << " (Expanded file = " << R.ExpandedFileID << ")";
1084 // This variable will *NOT* be emitted to the object file. It is used
1092 unsigned CoverageMappingModuleGen::getFileID(const FileEntry *File) {
1093 auto It = FileEntries.find(File);
1097 FileEntries.insert(std::make_pair(File, FileID));