Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Frontend/
H A DASTUnit.h427 bool isMainFileAST() const { return MainFileIsAST; } in isMainFileAST() function
506 assert(!isMainFileAST() && "Invalid call for AST based ASTUnit!"); in top_level_begin()
513 assert(!isMainFileAST() && "Invalid call for AST based ASTUnit!"); in top_level_end()
520 assert(!isMainFileAST() && "Invalid call for AST based ASTUnit!"); in top_level_size()
525 assert(!isMainFileAST() && "Invalid call for AST based ASTUnit!"); in top_level_empty()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp1508 if (!isMainFileAST()) in getASTFileName()
2612 if (isMainFileAST()) { in getLocalPreprocessingEntities()
2626 if (isMainFileAST()) { in visitLocalTopLevelDecls()
2676 return isMainFileAST() && getLangOpts().isCompilingModule(); in isModuleFile()