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.h439 bool isMainFileAST() const { return MainFileIsAST; } in isMainFileAST() function
518 assert(!isMainFileAST() && "Invalid call for AST based ASTUnit!"); in top_level_begin()
525 assert(!isMainFileAST() && "Invalid call for AST based ASTUnit!"); in top_level_end()
532 assert(!isMainFileAST() && "Invalid call for AST based ASTUnit!"); in top_level_size()
537 assert(!isMainFileAST() && "Invalid call for AST based ASTUnit!"); in top_level_empty()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp1525 if (!isMainFileAST()) in getASTFileName()
2635 if (isMainFileAST()) { in getLocalPreprocessingEntities()
2649 if (isMainFileAST()) { in visitLocalTopLevelDecls()
2699 return isMainFileAST() && getLangOpts().isCompilingModule(); in isModuleFile()