Searched refs:CXXUnit (Results 1 – 4 of 4) sorted by relevance
24 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in getInclusions() local25 SourceManager &SM = CXXUnit->getSourceManager(); in getInclusions()26 ASTContext &Ctx = CXXUnit->getASTContext(); in getInclusions()44 if (HasPreamble && CXXUnit->isInMainFileID(L)) in getInclusions()
129 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocation() local130 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_getLocation()132 SourceLocation SLoc = CXXUnit->getLocation(File, line, column); in clang_getLocation()141 cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc); in clang_getLocation()160 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocationForOffset() local163 = CXXUnit->getLocation(static_cast<const FileEntry *>(file), offset); in clang_getLocationForOffset()168 return cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc); in clang_getLocationForOffset()
437 ASTUnit *CXXUnit = cxcursor::getCursorASTUnit(cursor); in clang_findReferencesInFile() local438 if (!CXXUnit) in clang_findReferencesInFile()441 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_findReferencesInFile()500 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_findIncludesInFile() local501 if (!CXXUnit) in clang_findIncludesInFile()504 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_findIncludesInFile()
533 if (!CXXUnit->isMainFileAST() && CXXUnit->getOnlyLocalDecls() && in VisitChildren()4385 if (!CXXUnit->hasSema()) in clang_saveTranslationUnit()4494 if (isASTReadError(CXXUnit)) in clang_reparseTranslationUnit_Impl()7088 if (!CXXUnit) in clang_getTokenSpelling()7110 if (!CXXUnit) in clang_getTokenLocation()7114 CXXUnit->getASTContext(), in clang_getTokenLocation()7125 if (!CXXUnit) in clang_getTokenExtent()7129 CXXUnit->getASTContext(), in clang_getTokenExtent()7210 if (!CXXUnit) in clang_getToken()7262 getTokens(CXXUnit, R, CXTokens); in clang_tokenize()[all …]