Home
last modified time | relevance | path

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

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