Home
last modified time | relevance | path

Searched refs:isMainFile (Results 1 – 8 of 8) sorted by relevance

/external/llvm-project/clang/unittests/Basic/
DSourceManagerTest.cpp494 TEST_F(SourceManagerTest, isMainFile) { in TEST_F() argument
512 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()
/external/llvm-project/clang-tools-extra/clangd/
DPreamble.cpp297 bool isMainFile(llvm::StringRef FileName, const SourceManager &SM) { in isMainFile() function
541 isMainFile(Presumed.getFilename(), SM)) { in translatePreamblePatchLocation()
/external/clang/tools/c-index-test/
Dc-index-test.c2863 int isMainFile; in printCXIndexLoc() local
2878 isMainFile = 1; in printCXIndexLoc()
2880 isMainFile = 0; in printCXIndexLoc()
2883 if (!isMainFile) { in printCXIndexLoc()
/external/llvm-project/clang/tools/c-index-test/
Dc-index-test.c3383 int isMainFile; in printCXIndexLoc() local
3399 isMainFile = 1; in printCXIndexLoc()
3401 isMainFile = 0; in printCXIndexLoc()
3404 if (!isMainFile) { in printCXIndexLoc()
/external/llvm-project/clang/include/clang/Basic/
DSourceManager.h850 bool isMainFile(const FileEntry &SourceFile);
/external/llvm-project/clang/lib/Basic/
DSourceManager.cpp348 bool SourceManager::isMainFile(const FileEntry &SourceFile) { in isMainFile() function in SourceManager
/external/llvm-project/clang/lib/Lex/
DPPDirectives.cpp2063 SourceMgr.isMainFile(File->getFileEntry())) { in HandleHeaderIncludeOrImport()
/external/llvm-project/clang/tools/libclang/
DCIndex.cpp8790 bool isMainFile = wantedFileID == sm.getMainFileID(); in clang_getSkippedRanges() local
8800 else if (isMainFile && (astUnit->isInPreambleFileID(i->getBegin()) || in clang_getSkippedRanges()