Searched refs:CXXUnit (Results 1 – 4 of 4) sorted by relevance
32 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getInclusions() local33 SourceManager &SM = CXXUnit->getSourceManager(); in clang_getInclusions()34 ASTContext &Ctx = CXXUnit->getASTContext(); in clang_getInclusions()
135 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocation() local136 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_getLocation()138 SourceLocation SLoc = CXXUnit->getLocation(File, line, column); in clang_getLocation()147 cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc); in clang_getLocation()165 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocationForOffset() local168 = CXXUnit->getLocation(static_cast<const FileEntry *>(file), offset); in clang_getLocationForOffset()173 return cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc); in clang_getLocationForOffset()
440 ASTUnit *CXXUnit = cxcursor::getCursorASTUnit(cursor); in clang_findReferencesInFile() local441 if (!CXXUnit) in clang_findReferencesInFile()444 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_findReferencesInFile()503 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_findIncludesInFile() local504 if (!CXXUnit) in clang_findIncludesInFile()507 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_findIncludesInFile()
519 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in VisitChildren() local524 if (!CXXUnit->isMainFileAST() && CXXUnit->getOnlyLocalDecls() && in VisitChildren()526 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(), in VisitChildren()527 TLEnd = CXXUnit->top_level_end(); in VisitChildren()533 CXXUnit->getASTContext().getTranslationUnitDecl())) in VisitChildren()539 if (CXXUnit->getPreprocessor().getPreprocessingRecord()) in VisitChildren()3305 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_saveTranslationUnit() local3306 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_saveTranslationUnit()3307 if (!CXXUnit->hasSema()) in clang_saveTranslationUnit()3315 if (!CXXUnit->getDiagnostics().hasUnrecoverableErrorOccurred() || in clang_saveTranslationUnit()[all …]