Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DCIndexInclusionStack.cpp28 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in getInclusions() local
29 SourceManager &SM = CXXUnit->getSourceManager(); in getInclusions()
30 ASTContext &Ctx = CXXUnit->getASTContext(); in getInclusions()
48 if (HasPreamble && CXXUnit->isInMainFileID(L)) in 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.cpp516 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in VisitChildren() local
521 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() local
3724 ASTUnit::ConcurrencyCheck Check(*CXXUnit); in clang_saveTranslationUnit()
3725 if (!CXXUnit->hasSema()) in clang_saveTranslationUnit()
3733 if (!CXXUnit->getDiagnostics().hasUnrecoverableErrorOccurred() || in clang_saveTranslationUnit()
[all …]