Searched refs:MainFileID (Results 1 – 4 of 4) sorted by relevance
505 FileID MainFileID; variable539 assert(MainFileID.isInvalid() && "MainFileID already set!"); in createMainFileIDForMemBuffer()540 MainFileID = createFileIDForMemBuffer(Buffer); in createMainFileIDForMemBuffer()541 return MainFileID; in createMainFileIDForMemBuffer()549 FileID getMainFileID() const { return MainFileID; } in getMainFileID()553 assert(MainFileID.isInvalid() && "MainFileID already set!"); in createMainFileID()554 MainFileID = createFileID(SourceFile, SourceLocation(), SrcMgr::C_User); in createMainFileID()555 return MainFileID; in createMainFileID()561 assert(MainFileID.isInvalid() && "MainFileID already set!"); in SetPreambleFileID()562 MainFileID = Preamble; in SetPreambleFileID()
363 FileID MainFileID = SourceMgr.getMainFileID(); in EnterMainSourceFile() local366 EnterSourceFile(MainFileID, 0, SourceLocation()); in EnterMainSourceFile()376 if (const FileEntry *FE = SourceMgr.getFileEntryForID(MainFileID)) in EnterMainSourceFile()
393 MainFileID = FileID(); in clearIDTables()1320 if (!MainFileID.isInvalid()) { in getLocation()1322 const SLocEntry &MainSLoc = getSLocEntry(MainFileID, &Invalid); in getLocation()1332 FirstFID = MainFileID; in getLocation()1344 FirstFID = MainFileID; in getLocation()
66 FileID MainFileID; member in __anon83c1dbf00111::RewriteObjC561 MainFileID = SM->getMainFileID(); in Initialize()562 const llvm::MemoryBuffer *MainBuf = SM->getBuffer(MainFileID); in Initialize()733 SourceLocation LocStart = SM->getLocForStartOfFile(MainFileID); in RewriteInclude()734 llvm::StringRef MainBuf = SM->getBufferData(MainFileID); in RewriteInclude()5935 InsertText(SM->getLocForStartOfFile(MainFileID), Preamble, false); in HandleTranslationUnit()5942 Rewrite.getRewriteBufferFor(MainFileID)) { in HandleTranslationUnit()