Home
last modified time | relevance | path

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

/freebsd/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/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp1521 if (!isMainFileAST()) in getASTFileName()
2623 if (isMainFileAST()) { in getLocalPreprocessingEntities()
2637 if (isMainFileAST()) { in visitLocalTopLevelDecls()
2687 return isMainFileAST() && getLangOpts().isCompilingModule(); in isModuleFile()