Searched refs:CXXUnit (Results 1 – 4 of 4) sorted by relevance
127 ASTUnit *CXXUnit = static_cast<ASTUnit *>(tu->TUData); in clang_getLocation() local128 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_getLocation()130 SourceLocation SLoc = CXXUnit->getLocation(File, line, column); in clang_getLocation()143 return cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc); in clang_getLocation()152 ASTUnit *CXXUnit = static_cast<ASTUnit *>(tu->TUData); in clang_getLocationForOffset() local155 = CXXUnit->getLocation(static_cast<const FileEntry *>(file), offset); in clang_getLocationForOffset()160 return cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc); in clang_getLocationForOffset()
28 ASTUnit *CXXUnit = static_cast<ASTUnit *>(TU->TUData); in clang_getInclusions() local29 SourceManager &SM = CXXUnit->getSourceManager(); in clang_getInclusions()30 ASTContext &Ctx = CXXUnit->getASTContext(); in clang_getInclusions()
479 ASTUnit *CXXUnit = static_cast<ASTUnit*>(tu->TUData); in VisitChildren() local484 if (!CXXUnit->isMainFileAST() && CXXUnit->getOnlyLocalDecls() && in VisitChildren()486 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(), in VisitChildren()487 TLEnd = CXXUnit->top_level_end(); in VisitChildren()493 CXXUnit->getASTContext().getTranslationUnitDecl())) in VisitChildren()499 if (CXXUnit->getPreprocessor().getPreprocessingRecord()) in VisitChildren()2723 ASTUnit *CXXUnit = static_cast<ASTUnit *>(TU->TUData); in clang_saveTranslationUnit() local2724 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_saveTranslationUnit()2725 if (!CXXUnit->hasSema()) in clang_saveTranslationUnit()2730 if (!CXXUnit->getDiagnostics().hasUnrecoverableErrorOccurred() || in clang_saveTranslationUnit()[all …]
368 ASTUnit *CXXUnit = cxcursor::getCursorASTUnit(cursor); in clang_findReferencesInFile() local369 if (!CXXUnit) in clang_findReferencesInFile()372 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_findReferencesInFile()