Searched refs:isMainFile (Results 1 – 8 of 8) sorted by relevance
494 TEST_F(SourceManagerTest, isMainFile) { in TEST_F() argument512 EXPECT_TRUE(SourceMgr.isMainFile(*SourceFile)); in TEST_F()513 EXPECT_TRUE(SourceMgr.isMainFile(*SourceFile)); in TEST_F()514 EXPECT_FALSE(SourceMgr.isMainFile(*SecondFile)); in TEST_F()
297 bool isMainFile(llvm::StringRef FileName, const SourceManager &SM) { in isMainFile() function541 isMainFile(Presumed.getFilename(), SM)) { in translatePreamblePatchLocation()
2863 int isMainFile; in printCXIndexLoc() local2878 isMainFile = 1; in printCXIndexLoc()2880 isMainFile = 0; in printCXIndexLoc()2883 if (!isMainFile) { in printCXIndexLoc()
3383 int isMainFile; in printCXIndexLoc() local3399 isMainFile = 1; in printCXIndexLoc()3401 isMainFile = 0; in printCXIndexLoc()3404 if (!isMainFile) { in printCXIndexLoc()
850 bool isMainFile(const FileEntry &SourceFile);
348 bool SourceManager::isMainFile(const FileEntry &SourceFile) { in isMainFile() function in SourceManager
2063 SourceMgr.isMainFile(File->getFileEntry())) { in HandleHeaderIncludeOrImport()
8790 bool isMainFile = wantedFileID == sm.getMainFileID(); in clang_getSkippedRanges() local8800 else if (isMainFile && (astUnit->isInPreambleFileID(i->getBegin()) || in clang_getSkippedRanges()