Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/include/clang/Frontend/
H A DASTUnit.h423 bool isMainFileAST() const { return MainFileIsAST; } in isMainFileAST() function
502 assert(!isMainFileAST() && "Invalid call for AST based ASTUnit!"); in top_level_begin()
509 assert(!isMainFileAST() && "Invalid call for AST based ASTUnit!"); in top_level_end()
516 assert(!isMainFileAST() && "Invalid call for AST based ASTUnit!"); in top_level_size()
521 assert(!isMainFileAST() && "Invalid call for AST based ASTUnit!"); in top_level_empty()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DASTUnit.cpp1499 if (!isMainFileAST()) in getASTFileName()
2604 if (isMainFileAST()) { in getLocalPreprocessingEntities()
2618 if (isMainFileAST()) { in visitLocalTopLevelDecls()
2668 return isMainFileAST() && getLangOpts().isCompilingModule(); in isModuleFile()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCIndex.cpp442 bool OnlyLocalDecls = !AU->isMainFileAST() && AU->getOnlyLocalDecls(); in visitPreprocessedEntitiesInRegion()
533 if (!CXXUnit->isMainFileAST() && CXXUnit->getOnlyLocalDecls() && in VisitChildren()
9429 if (Unit->isMainFileAST()) in operator <<()