Home
last modified time | relevance | path

Searched refs:isMainFileAST (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Frontend/
H A DASTUnit.h424 bool isMainFileAST() const { return MainFileIsAST; } in isMainFileAST() function
503 assert(!isMainFileAST() && "Invalid call for AST based ASTUnit!"); in top_level_begin()
510 assert(!isMainFileAST() && "Invalid call for AST based ASTUnit!"); in top_level_end()
517 assert(!isMainFileAST() && "Invalid call for AST based ASTUnit!"); in top_level_size()
522 assert(!isMainFileAST() && "Invalid call for AST based ASTUnit!"); in top_level_empty()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DASTUnit.cpp1471 if (!isMainFileAST()) in getASTFileName()
2577 if (isMainFileAST()) { in getLocalPreprocessingEntities()
2591 if (isMainFileAST()) { in visitLocalTopLevelDecls()
2641 return isMainFileAST() && getLangOpts().isCompilingModule(); in isModuleFile()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp442 bool OnlyLocalDecls = !AU->isMainFileAST() && AU->getOnlyLocalDecls(); in visitPreprocessedEntitiesInRegion()
533 if (!CXXUnit->isMainFileAST() && CXXUnit->getOnlyLocalDecls() && in VisitChildren()
9361 if (Unit->isMainFileAST()) in operator <<()