Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DCXSourceLocation.cpp127 ASTUnit *CXXUnit = static_cast<ASTUnit *>(tu->TUData); in clang_getLocation() local
128 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() local
155 = CXXUnit->getLocation(static_cast<const FileEntry *>(file), offset); in clang_getLocationForOffset()
160 return cxloc::translateSourceLocation(CXXUnit->getASTContext(), SLoc); in clang_getLocationForOffset()
DCIndexInclusionStack.cpp28 ASTUnit *CXXUnit = static_cast<ASTUnit *>(TU->TUData); in clang_getInclusions() local
29 SourceManager &SM = CXXUnit->getSourceManager(); in clang_getInclusions()
30 ASTContext &Ctx = CXXUnit->getASTContext(); in clang_getInclusions()
DCIndex.cpp479 ASTUnit *CXXUnit = static_cast<ASTUnit*>(tu->TUData); in VisitChildren() local
484 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() local
2724 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_saveTranslationUnit()
2725 if (!CXXUnit->hasSema()) in clang_saveTranslationUnit()
2730 if (!CXXUnit->getDiagnostics().hasUnrecoverableErrorOccurred() || in clang_saveTranslationUnit()
[all …]
DCIndexHigh.cpp368 ASTUnit *CXXUnit = cxcursor::getCursorASTUnit(cursor); in clang_findReferencesInFile() local
369 if (!CXXUnit) in clang_findReferencesInFile()
372 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_findReferencesInFile()