Searched refs:CXXUnit (Results 1 – 4 of 4) sorted by relevance
28 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in getInclusions() local29 SourceManager &SM = CXXUnit->getSourceManager(); in getInclusions()30 ASTContext &Ctx = CXXUnit->getASTContext(); in getInclusions()48 if (HasPreamble && CXXUnit->isInMainFileID(L)) in 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()
516 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in VisitChildren() local521 if (!CXXUnit->isMainFileAST() && CXXUnit->getOnlyLocalDecls() && in VisitChildren()523 for (ASTUnit::top_level_iterator TL = CXXUnit->top_level_begin(), in VisitChildren()524 TLEnd = CXXUnit->top_level_end(); in VisitChildren()532 CXXUnit->getASTContext().getTranslationUnitDecl())) in VisitChildren()538 if (CXXUnit->getPreprocessor().getPreprocessingRecord()) in VisitChildren()3723 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_saveTranslationUnit() local3724 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_saveTranslationUnit()3725 if (!CXXUnit->hasSema()) in clang_saveTranslationUnit()3733 if (!CXXUnit->getDiagnostics().hasUnrecoverableErrorOccurred() || in clang_saveTranslationUnit()[all …]