Home
last modified time | relevance | path

Searched refs:CXXUnit (Results 1 – 4 of 4) sorted by relevance

/external/clang/tools/libclang/
DCIndexInclusionStack.cpp32 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getInclusions() local
33 SourceManager &SM = CXXUnit->getSourceManager(); in clang_getInclusions()
34 ASTContext &Ctx = CXXUnit->getASTContext(); in clang_getInclusions()
DCXSourceLocation.cpp135 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocation() local
136 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() local
168 = CXXUnit->getLocation(static_cast<const FileEntry *>(file), offset); in clang_getLocationForOffset()
173 return cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc); in clang_getLocationForOffset()
DCIndexHigh.cpp440 ASTUnit *CXXUnit = cxcursor::getCursorASTUnit(cursor); in clang_findReferencesInFile() local
441 if (!CXXUnit) in clang_findReferencesInFile()
444 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_findReferencesInFile()
503 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_findIncludesInFile() local
504 if (!CXXUnit) in clang_findIncludesInFile()
507 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_findIncludesInFile()
DCIndex.cpp519 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in VisitChildren() local
524 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() local
3306 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_saveTranslationUnit()
3307 if (!CXXUnit->hasSema()) in clang_saveTranslationUnit()
3315 if (!CXXUnit->getDiagnostics().hasUnrecoverableErrorOccurred() || in clang_saveTranslationUnit()
[all …]