Searched refs:MainFileID (Results 1 - 10 of 10) sorted by relevance
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
H A D | USRFindingAction.cpp | 212 const FileID MainFileID = SourceMgr.getMainFileID(); local 214 if (SymbolOffset >= SourceMgr.getFileIDSize(MainFileID)) { 220 << SourceMgr.getFileEntryForID(MainFileID)->getName() << SymbolOffset; 224 const SourceLocation Point = SourceMgr.getLocForStartOfFile(MainFileID)
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/ProfileData/Coverage/ |
H A D | CoverageMapping.cpp | 659 auto MainFileID = findMainViewFileID(Filename, Function); 664 if (MainFileID && isExpansion(CR, *MainFileID)) 684 auto MainFileID = findMainViewFileID(Filename, Function); 685 if (!MainFileID) 687 InstantiationSetCollector.insert(Function, *MainFileID); 702 auto MainFileID = findMainViewFileID(Function); 703 if (!MainFileID) 706 CoverageData FunctionCoverage(Function.Filenames[*MainFileID]); 709 if (CR.FileID == *MainFileID) { [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/ |
H A D | ModuleDepCollector.cpp | 120 FileID MainFileID = Instance.getSourceManager().getMainFileID(); local 122 Instance.getSourceManager().getFileEntryForID(MainFileID)->getName());
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/ |
H A D | SourceManager.cpp | 375 MainFileID = FileID(); 393 assert(MainFileID.isValid() && "expected initialized SourceManager"); 394 auto FE = getFileEntryRefForID(MainFileID); 401 assert(MainFileID.isInvalid() && "expected uninitialized SourceManager"); 1669 if (MainFileID.isValid()) { 1671 const SLocEntry &MainSLoc = getSLocEntry(MainFileID, &Invalid); 1679 return MainFileID; 1800 (FID == MainFileID && Entry.getFile().Filename == "<built-in>");
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | Preprocessor.cpp | 541 FileID MainFileID = SourceMgr.getMainFileID(); local 543 // If MainFileID is loaded it means we loaded an AST file, no need to enter 545 if (!SourceMgr.isLoadedFileID(MainFileID)) { 547 EnterSourceFile(MainFileID, nullptr, SourceLocation()); 557 if (const FileEntry *FE = SourceMgr.getFileEntryForID(MainFileID))
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | FrontendAction.cpp | 234 auto MainFileID = SourceMgr.getMainFileID(); local 237 const auto *MainFileBuf = SourceMgr.getBuffer(MainFileID, &Invalid); 242 new Lexer(MainFileID, MainFileBuf, SourceMgr, CI.getLangOpts()));
|
H A D | ASTUnit.cpp | 170 llvm::sys::fs::UniqueID MainFileID = FileStatus->getUniqueID(); local 178 if (MainFileID == MID) { 194 if (MainFileID == MID) {
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | SourceManager.h | 707 FileID MainFileID; member in class:clang::SourceManager 805 // MainFileID creation and querying methods. 809 FileID getMainFileID() const { return MainFileID; } 813 MainFileID = FID;
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 70 FileID MainFileID; member in class:__anon1907::RewriteModernObjC 703 MainFileID = SM->getMainFileID(); 704 const llvm::MemoryBuffer *MainBuf = SM->getBuffer(MainFileID); 805 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID); 806 StringRef MainBuf = SM->getBufferData(MainFileID); 5849 InsertText(SM->getLocForStartOfFile(MainFileID), Preamble, false); 5863 // Get the buffer corresponding to MainFileID. If we haven't changed it, then 5866 Rewrite.getRewriteBufferFor(MainFileID)) {
|
H A D | RewriteObjC.cpp | 69 FileID MainFileID; member in class:__anon1910::RewriteObjC 632 MainFileID = SM->getMainFileID(); 633 const llvm::MemoryBuffer *MainBuf = SM->getBuffer(MainFileID); 731 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID); 732 StringRef MainBuf = SM->getBufferData(MainFileID); 4921 InsertText(SM->getLocForStartOfFile(MainFileID), Preamble, false); 4925 // Get the buffer corresponding to MainFileID. If we haven't changed it, then 4928 Rewrite.getRewriteBufferFor(MainFileID)) {
|
Completed in 327 milliseconds